Smooths (blurs) the ColdFusion image.

imageBlur(name [, blurradius]) → returns void

Member Function Syntax


Argument Reference

name string

The image on which this operation is performed.

blurradius numeric
Default: 3

The size of the blur radius. Value must be greater than or equal to 3 and less than or equal to 10.

Sample code invoking the imageBlur function

This example shows how to blur an image by a radius of 10.

<cfset imageBlur(myImage,10)>   

CF 11+ Lucee 4.5+ Smooth or blur an image

imgObj = imageRead("");
cfimage(action="writeToBrowser", source=imgObj);

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub