L_BitmapHasMeaningfulAlpha

#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

Bitmap does not have meaningful alpha or there was an error.

Comments

The bitmap has meaningful alpha if not all pixels have the same alpha value or if the values are all the same but equal to 0x00 or 0xFF.

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.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help