ImageGear for C and C++ on Windows v20.3 - Updated
IG_extra_channel_info_create_maskcolor_channel
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Extra Channel Info Functions > IG_extra_channel_info_create_maskcolor_channel

This function creates a new alpha mask channel that uses a regular color space like RGB, CMYK, etc. and color value.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_extra_channel_info_create_maskcolor_channel (
        enumIGMaskChannelModes mode,
        enumIGColorSpaceIDs colorSpace, 
        HIGPIXEL colorValue,
        HIGEXTRACHANNELINFO* hInfo
);

Arguments:

Name Type Description
mode enumIGMaskChannelModes Mask mode for the new mask channel.
colorSpace enumIGColorSpaceIDs Color space for the new mask channel.
colorValue HIGPIXEL Color value for the new mask channel.
hInfo HIGEXTRACHANNELINFO* Returns HIGEXTRACHANNELINFO object.

Return Value:

Error Count.

Supported Raster Image Formats:

This function does not process image pixels.

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