Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_EndCompressBuffer

Show in webframe

#include "l_bitmap.h"

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.

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 L_CompressBuffer. For a detailed description of when to use this function, refer to L_StartCompressBuffer.

Required DLLs and Libraries

LTFIL

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, Linux.

See Also

Functions:

L_StartCompressBuffer, L_CompressBuffer

Topics:

Raster Image Functions: Saving Files

Example

For a short example, refer to L_StartCompressBuffer. For complete sample code, refer to the COMPCB example.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.