ImageGear for C and C++ on Windows v19.6 - Updated
IG_extra_channel_info_create_maskspot_channel
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Extra Channel Info Functions > IG_extra_channel_info_create_maskspot_channel

This function creates a new alpha mask channel that uses a special (like Pantone) color.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_extra_channel_info_create_maskspot_channel (
        enumIGMaskChannelModes mode,
        enumIGSpotColorVendorIDs vendorID, 
        AT_QWORD colorID,
        HIGEXTRACHANNELINFO* hInfo
);

Arguments:

Name Type Description
mode enumIGMaskChannelModes Mask mode for the new mask channel.
vendorID enumIGSpotColorVendorIDs Vendor ID for the new mask channel.
colorID AT_QWORD Color ID 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.

Remarks:

This channel does not store a color name, but looks it up from the loaded color books.