ImageCopy()
Copies a rectangular area of an image.
Requires Extension: Image extension
ImageCopy( image=any, x=number, y=number, width=number, height=number, dx=number, dy=number );
Returns: any
Examples
newImg = imageNew("",200,200,"rgb","red");
copiedImg = newImg.copy(50,50,50,50);
cfimage(action="writeToBrowser", source=copiedImg);
See also
- Image manipulation
- image.copy()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)