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

Function IMAGECOPY

Copies a rectangular area of an image.

Example

imagecopy(any name,number x,number y,number width,number height,[number dx,[number dy]]):any

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.  
x number  Yes   The x coordinate of the source rectangle.  
y number  Yes   The y coordinate of the source rectangle.  
width number  Yes   The width of the source rectangle.  
height number  Yes   The height of the source rectangle.  
dx number  No -999 The x coordinate of the destination rectangle.  
dy number  No -999 The y coordinate of the destination rectangle.