LoadImage method

Loads an image from a byte buffer.

IImage LoadImage(byte[] imageBuffer, int imageWidth, int imageHeight, int orientation);

Parameters

imageBuffer
The byte buffer to be filled with image data. Only NV21 format is currently supported.
imageWidth
The width of the image in millimeters.
imageHeight
The height of the image in millimeters.
orientation
The orientation of the image. The orientation is used to rotate the final image when getting the result.

Return values

The method returns the image object implementing the IImage interface.

02.03.2022 12:59:15

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.