ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Display Functions > IG_display_transparent_get

Use this function to get image transparent color.


Copy Code
AT_ERRCOUNT EXPORT ACCUAPI IG_display_transparent_get(
        HIGEAR hIGear,        
        LPAT_RGB lpRGB,         
        LPAT_BOOL lpEnabled         


Name Type Description
hIGear HIGEAR HIGEAR handle of image.
lpRGB LPAT_RGB Returns the RGB color values through which transparency is currently set.
lpEnabled LPAT_BOOL Returns current condition of transparency: TRUE - transparency enabled; FALSE - transparency disabled.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.

Is this page helpful?
Yes No
Thanks for your feedback.