Lucee Function Reference

Function IMAGESHARPEN

Sharpens a image by using the unsharp mask filter.

Example

imagesharpen(any image,[number gain]):void

Category

image

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
image any  Yes   The image on which this operation is performed.  
gain number  No 1 Gain values can be integers or real numbers. The default value is 1.0.
The value determines whether the image is blurred or sharpened:
  • if > 0, the image is sharpened
  • if = 0, no effect
  • if < 0, the image is blurred