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_BitmapHasMeaningfulAlpha

Show in webframe

#include "l_bitmap.h"

L_LTKRN_API L_BOOL L_BitmapHasMeaningfulAlpha(pBitmap)

pBITMAPHANDLE pBitmap;

/* pointer to the bitmap handle */

Determines whether the bitmap has meaningful alpha channel data.

Parameter

Description

pBitmap

Pointer to the bitmap handle referencing the bitmap to test.

Returns

TRUE

At least one alpha channel value is not equal to 0xFF.

FALSE

All alpha channel values are set to 0xFF or there was an error.

Required DLLs and Libraries

LTKRN

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_GetBitmapAlpha, L_SetBitmapAlphaValues, L_SetBitmapAlpha

Topics:

Defining and Using a Bitmap Region

 

Implementing Transparency

 

Saving a Region

 

Raster Image Functions: Using the Alpha Channel

Example

For an example, refer to L_SetBitmapAlpha.

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