ImageGear for C and C++ on Linux v20.0 - Updated
IG_image_channel_count_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Channel Functions > IG_image_channel_count_get

This function counts the image channels.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_channel_count_get(
        HIGEAR hIGear, 
        AT_INT* lpChannelCount 
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of image.
lpChannelCount AT_INT* Channel count of the image.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

All pixel formats supported by ImageGear for C and C++.

Is this page helpful?
Yes No
Thanks for your feedback.