Whatever message this page gives is out now! Go check it out!
ImageBlur(image [, blurRadius])Parameter | Description |
image | Required. The ColdFusion image on which this operation is performed. |
blurRadius | Optional. 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. |
<!--- This example shows how to blur an image by a radius of 10. --->
<!--- Create a ColdFusion image from an existing JPEG file. --->
<cfimage source="../cfdocs/images/artgallery/jeff05.jpg" name="myImage">
<!--- Use the maximum blur radius to blur the image. --->
<cfset ImageBlur(myImage,10)>
<!--- Save the modified ColdFusion image to a JPEG file. --->
<cfimage source="#myImage#" action="write" destination="test_myImage.jpeg" overwrite="yes">
<!--- Display the source image and the new image. --->
<img src="../cfdocs/images/artgallery/jeff05.jpg"/>
<img src="test_myImage.jpeg"/>