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: deprecated

ImageDrawImage( image=any, image=any, x=number, y=number );

Returns: void

Argument Description
image
any, required

the image to draw

Alias: name

image
any, required

the image to draw

x
number, required

The x coordinate of the of the top left corner of the image to draw.

y
number, required

The y coordinate of the of the top left corner of the image to draw.

Examples

imgOne=imageNew("",100,100,"RGB","blue");
	imgTwo=imageNew("",50,50,"RGB","green");
	imagedrawImage(imgOne,imgTwo,25,45);
	cfimage(action="writeToBrowser",source=imgOne);

See also