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

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

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_extra_channel_info_create_spot_channel (
        enumIGSpotColorVendorIDs vendorID, 
        AT_QWORD colorID,
        HIGEXTRACHANNELINFO* hInfo
);

Arguments:

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

Remarks:

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