Loads an image pixels array from the memory to the Image object.
The difference from the
Img_LoadFromMemory function is that this function accepts a pointer to the raw RGB bitmap pixels, not to the image data.
This function can load raw RGB bitmap data only. If you want to load a picture stored in an image format (BMP, JPEG, PNG, etc.) from the memory, use the
Img_LoadFromMemory function instead.
Java: This function supports only ARGB bitmap data, that is, four bytes per pixel (the "BMP_32BIT" constant), and the default stride (4-bytes padding).
See the sample projects in the NSOCR SDK.