ImageGear for C and C++ on Windows v19.0
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.

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback