|
Load an image from memory which is stored as a FreeImage stream (FIMEMORY). More...
Functions | |
AFAPI array | loadImageMem (const void *ptr) |
C++ Interface for loading an image from memory. More... | |
AFAPI af_err | af_load_image_memory (af_array *out, const void *ptr) |
C Interface for loading an image from memory. More... | |
Load an image from memory which is stored as a FreeImage stream (FIMEMORY).
Supported formats include JPG, PNG, PPM and other formats supported by freeimage
C Interface for loading an image from memory.
[out] | out | is an array that will contain the image |
[in] | ptr | is the FIMEMORY pointer created by either saveImageMem function, the af_save_image_memory function, or the FreeImage_OpenMemory API. |
AFAPI array af::loadImageMem | ( | const void * | ptr | ) |
C++ Interface for loading an image from memory.
[in] | ptr | is the location of the image data in memory. This is the pointer created by saveImage. |