L_LTFIL_API L_INT L_EndCompressBuffer(L_VOID)
Cleans up all data variables and buffers allocated by the JPEG, LEAD CMP, or JPEG 2000 compression engine.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
Calling this function will reset all internal variables to their default settings. Call this function after the compression of the entire image using L_CompressBuffer. For a detailed description of when to use this function, refer to L_StartCompressBuffer.
Required DLLs and Libraries
Win32, x64, Linux.
For an example, refer to L_StartCompressBuffer. For complete sample code, refer to the COMPCB example.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries