Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LBitmapBase::ToggleCompression

Show in webframe

#include "ltwrappr.h"

virtual L_INT LBitmapBase::ToggleCompression(L_VOID)

NOTE: This function is now obsolete. New applications should use the LBitmapBase::ChangeCompression function.

Toggles the compression of the bitmap.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

This function does not support signed data images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image is passed to this function.

(Document/Medical only) If the specified bitmap is compressed, calling this function will make the bitmap uncompressed. If the bitmap is uncompressed, calling this function will make the bitmap compressed.

This function only works for 1 bit per pixel images.

Required DLLs and Libraries

LTKRN

LTWVC

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:

LBitmapBase::ChangeCompression, LBitmapBase::IsSuperCompressed, Class Members

Topics:

Speeding Up 1-Bit Documents

 

Super Compressed Bitmaps

Example

 

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