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

Function 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).

Example

imagepaste(any image1,any image2,[number x,[number y]]):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
image1 any  Yes The bottom image.  
image2 any  Yes The image that is pasted on top of image1.  
x number  No The x coordinate where the upper-left corner of image2 is pasted.  
y number  No The y coordinate where the upper-left corner of image2 is pasted.