image.overlay()
Reads two source images and overlays the second source image on the first source image.
image.overlay( source2=any )
Returns: Image
Argument | Description |
---|---|
source2
any,
required
|
the image that is the top layer (overlaid on the source1 image) in the image. |
Examples
myImg = imageNew("",152,152,"rgb","40739e");
topImg = imageNew("",80,80,"rgb","fbc531");
myImg.overlay(topImg);
cfimage(action="writeToBrowser", source=myImg);