Lucee Function Reference
imagecrop()
Crops a image to a specified rectangular area.
Beispiel
imagecrop(any image,number x,number y,number width,number height):void
Kategorie
image
Argumente
Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name | Typ | Required | Beschreibung |
---|---|---|---|
image | 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. |