LMemoryFile::EndCompressBuffer

#include "ltwrappr.h"

virtual L_INT LMemoryFile::EndCompressBuffer()

Cleans up all data variables and buffers allocated by the JPEG or LEAD CMP compression engine.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Calling this function will reset all internal variables to their default settings. Call this function after the compression of the entire image using LMemoryFile::CompressBuffer. For a detailed description of when to use this function, refer to LMemoryFile::StartCompressBuffer.

Required DLLs and Libraries

LTFIL
File format DLLs

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

Class Members

Topics:

Raster Image Functions: Saving Files

Example

For an example, refer to LMemoryFile::StartCompressBuffer.

Help Version 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help