Whatever message this page gives is out now! Go check it out!

ImageBlur

Last update:
May 18, 2026

Description

Smooths (blurs) an image.

Returns

Nothing.

Category

Function syntax

ImageBlur(image [, blurRadius])

See also

History

ColdFusion (2018 release): Renamed parameter name to  image .
ColdFusion 8: Added this function.

Parameters

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.

Usage

The  blurRadius  operation affects performance: as the blurRadius value increases, performance decreases.

Example

<!--- 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"/>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page