ImageGear for C and C++ on Linux v19.10 - Updated
IG_image_channel_depth_get
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.

Declaration:

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

Arguments:

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++.