ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Load Functions > IG_load_alpha_mode_set |
This function instructs ImageGear to load or ignore alpha channel when loading an image that contains one.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_load_alpha_mode_set( enumIGAlphaMode Mode); |
Name | Type | Description |
Mode | enumIGAlphaMode | Alpha loading mode to be set. IG_ALPHA_MODE_KEEP (default) forces Alpha channel if it is present; IG_ALPHA_MODE_IGNORE ignores Alpha channel. |
This function does not process image pixels.
Copy Code
|
|
---|---|
/* Ignore Alpha channel when loading: */
IG_load_alpha_mode_set (IG_ALPHA_MODE_IGNORE );
|
See also IG_load_alpha_mode_get function.