Copy unmanaged image.
Namespace:
AForge.ImagingAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
| C# |
|---|
public void Copy( UnmanagedImage destImage ) |
Parameters
- destImage
- Type: AForge.Imaging..::.UnmanagedImage
Destination image to copy this image to.
Remarks
The method copies current unmanaged image to the specified image. Size and pixel format of the destination image must be exactly the same.
Exceptions
| Exception | Condition |
|---|---|
| AForge.Imaging..::.InvalidImagePropertiesException | Destination image has different size or pixel format. |