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

This function returns the channel bit depth.


Copy Code
AT_ERRCOUNT ACCUAPI IG_image_channel_depth_get(
        HIGEAR hIGear, 
        AT_INT Index, 
        AT_INT* lpChannelDepth 


Name Type Description
hIGear HIGEAR HIGEAR handle of image.
Index AT_INT Channel index on which to get info.
lpChannelDepth AT_INT* Bit depth of the channel.

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.