Railo 4.2 Reference
Choose a function:


Crops a image to a specified rectangular area.


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


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.