# ImageDrawImage()

this function is deprecated, use [ImagePaste()](imagepaste.md) instead. Draws an image on an image with the baseline of the first character positioned at (x,y) in the image.

**Status:** deprecated

**Requires Extension:** [Image Extension for Jakarta EE (Lucee 7+)](https://download.lucee.org/#B737ABC4-D43F-4D91-8E8E973E37C40D1B)

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

**Returns:** void

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| image | any | Yes | the image to draw *Alias: name* |  |
| image | any | Yes | the image to draw |  |
| x | number | Yes | The x coordinate of the of the top left corner of the image to draw. |  |
| y | number | Yes | The y coordinate of the of the top left corner of the image to draw. |  |

# Examples

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







# Categories

[Image manipulation](../../categories/image.md)

# See Also

[image.drawImage()](../objects/image/drawimage.md)