Is this page helpful?
Frees and invalidates composite pointers that have been allocated by engine functions such as L_Jp2ReadComposite, L_Jp2ReadFrames, L_Jp2ReadCompositeMemory, and L_Jp2ReadFramesMemory.
#include "l_bitmap.h"
L_LTJP2_API L_INT EXT_FUNCTION L_Jp2FreeComposite(hJp2, pComposite)
JPEG 2000 engine handle that was created by the L_Jp2Create function.
Pointer to a composite structure to be freed.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
L_Jp2FreeComposite frees and invalidates composite pointers that have been allocated by engine functions such as L_Jp2ReadComposite, L_Jp2ReadFrames, L_Jp2ReadCompositeMemory, and L_Jp2ReadFramesMemory. This function does not free the bitmaps inside the structures; you must free the bitmaps by using L_FreeBitmap function.
Win32, x64.
For an example, refer to L_Jp2ReadFrames.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document