Loads an image located in the memory to the Image object. The free, open-source FreeImage library is used to support a wide range of image formats. Please refer to its documentation for a full list of supported image formats.
This function is essentially the same as the
Img_LoadFile function, but works with the memory instead of a file.
This function loads a picture stored in an image format (BMP, JPEG, PNG, etc.) from the memory. If you want to load raw RGB bitmap data, use the
Img_LoadBmpData function instead.
See the sample projects in the NSOCR SDK.