ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Core Component API Reference / Core Component Functions Reference / Extra Channel Info Functions / IG_extra_channel_info_create_maskcolor_channel
In This Topic
    IG_extra_channel_info_create_maskcolor_channel
    In This Topic

    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.