Use this function to set image transparent color.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT EXPORT ACCUAPI IG_display_transparent_set(
HIGEAR hIGear,
LPAT_RGB lpRGB,
LPAT_BOOL lpEnabled
);
|
|
| Name | Type | Description |
|---|---|---|
| hIGear | HIGEAR | HIGEAR handle of image. |
| lpRGB | LPAT_RGB | Provide the RGB color values through which transparency have to be set. |
| lpEnabled | LPAT_BOOL | Enables or disables image transparency: TRUE - transparency enabled; FALSE - transparency disabled. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
None
You have to use this API to write out a file with a transparency color set. For example when save image transparency information to a GIF file format.