ImagePaste()
Takes two images and an (x,y) coordinate and draws the second image over the first image with the upper-left corner at coordinate (x,y).
Requires Extension: Image extension
ImagePaste( image1=any, image2=any, x=number, y=number );
Returns: void
Examples
firstImage = imageNew("",200,200,"rgb","red");
secondImage = imageNew("",200,200,"rgb","yellow");
imagepaste(firstImage,secondImage,75,75);
//Member function
//firstImage.paste(secondImage,10,10);
cfimage(action="writeToBrowser", source=firstImage);
See also
- Image manipulation
- image.paste()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)