ImageGear for C and C++ on Linux v19.10 - Updated
IG_image_channel_depths_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Channel Functions > IG_image_channel_depths_get

This function returns an array of the channel bit depths.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_image_channel_depths_get(
        HIGEAR hIGear, 
        AT_INT ChannelCount, 
        AT_INT* lpChannelDepths 
);

Arguments:

Name Type Description
hIGear HIGEAR HIGEAR handle of image.
ChannelCount AT_INT Length of the channel depths array to be filled.
lpChannelDepths AT_INT* Array of the channel depths to be filled.

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