Back to Adaptive Vision Library website
You are here: Start » Function Reference » Image Drawing » DrawImage
Draws an image on another one.
Syntax
C++
C#
void avl::DrawImage ( avl::Image& ioImage, const avl::Image& inDrawnImage, const avl::Location& inLocation )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
| ioImage | Image& | |||
![]() |
inDrawnImage | const Image& | Image to be pasted on ioImage | |
![]() |
inLocation | const Location& | Location at which the image will be pasted |
Description
The operation draws the inDrawnImage on the inImage so that the upper-left corner of the inDrawnImage is aligned at the inLocation of the inImage.
Examples
![]() |
The DrawImage used to draw an image on another, empty image.
Errors
| Error type | Description |
|---|---|
| DomainError | Incompatible image depths in DrawImage. |


