Lucee object methods reference

Object Method Image.sharpen

Sharpens a image by using the unsharp mask filter.
Image.sharpen([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
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