|
Delete memory created by saveImageMem and af_save_image_memory function. More...
Functions | |
AFAPI void | deleteImageMem (void *ptr) |
C++ Interface for deleting memory created by saveImageMem or af_save_image_memory. More... | |
AFAPI af_err | af_delete_image_memory (void *ptr) |
C Interface for deleting an image from memory. More... | |
Delete memory created by saveImageMem and af_save_image_memory function.
This internally calls FreeImage_CloseMemory.
Supported formats include JPG, PNG, PPM and other formats supported by freeimage
C Interface for deleting an image from memory.
[in] | ptr | is the FIMEMORY pointer created by either saveImageMem function, the af_save_image_memory function, or the FreeImage_OpenMemory API. |
AFAPI void af::deleteImageMem | ( | void * | ptr | ) |
C++ Interface for deleting memory created by saveImageMem or af_save_image_memory.
[in] | ptr | is the pointer to the FreeImage stream created by saveImageMem. |