#include "l_bitmap.h"
L_LTKRN_API L_BOOL L_BitmapHasMeaningfulAlpha(pBitmap)
Determines whether the bitmap has meaningful alpha channel data.
Pointer to the bitmap handle referencing the bitmap to test.
Value | Meaning |
---|---|
TRUE | At least one alpha channel value is not equal to 0xFF. |
FALSE | Bitmap does not have meaningful alpha or there was an error. |
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
Win32, x64, Linux.
For an example, refer to L_SetBitmapAlpha.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document