Lucee object methods reference
Object Method Image.crop
Crops a image to a specified rectangular area.
Image.crop(number x,number y,number width,number height):image
Category
image
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
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. |