ImageBlur()
Smooths image.
Requires Extension: Image Extension for Jakarta EE (Lucee 7+)
ImageBlur( image=any, blurRadius=number );
Returns: void
| Argument | Description | Default |
|---|---|---|
|
image
any,
required
|
edit
The image on which this operation is performed. Alias: name |
|
|
blurRadius
number,
optional
|
edit
The size of the blur radius. Value must be greater than or equal to 3 and less than or equal to 10. The default value is 3. |
3 |
Examples
editimg=imageRead("https://avatars1.githubusercontent.com/u/10973141?s=280&v=4")
imageBlur(img,10);
cfimage(action="writeToBrowser", source=img);
See also
- Image manipulation
- image.blur()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)