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_color_channel
In This Topic
    IG_extra_channel_info_create_color_channel
    In This Topic

    This function creates a new spot 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_color_channel (
            enumIGColorSpaceIDs colorSpace, 
            HIGPIXEL colorValue,
            HIGEXTRACHANNELINFO* hInfo
    );
    

    Arguments:

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

    Return Value:

    Error Count.

    Supported Raster Image Formats:

    This function does not process image pixels.