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