Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function IMAGESHARPEN

Sharpens a image by using the unsharp mask filter.

Example

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

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Default Value Description
name 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