ImageDrawImage()
this function is deprecated, use ImagePaste() instead. Draws an image on an image with the baseline of the first character positioned at (x,y) in the image.
Status:
Requires Extension: Image Extension for Jakarta EE (Lucee 7+)
ImageDrawImage( image=any, image=any, x=number, y=number );
Returns: void
| Argument | Description |
|---|---|
|
image
any,
required
|
edit
the image to draw Alias: name |
|
image
any,
required
|
edit
the image to draw |
|
x
number,
required
|
edit
The x coordinate of the of the top left corner of the image to draw. |
|
y
number,
required
|
edit
The y coordinate of the of the top left corner of the image to draw. |
Examples
edit imgOne=imageNew("",100,100,"RGB","blue");
imgTwo=imageNew("",50,50,"RGB","green");
imagedrawImage(imgOne,imgTwo,25,45);
cfimage(action="writeToBrowser",source=imgOne);
See also
- Image manipulation
- image.drawImage()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)