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

Function IMAGECROP

Crops a image to a specified rectangular area.

Example

imagecrop(any name,number x,number y,number width,number height):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
name any  Yes The image on which this operation is performed.  
x number  Yes The X origin of the crop area.  
y number  Yes The Y origin of the crop area.  
width number  Yes The width of the crop area.  
height number  Yes The height of the crop area.