ImageGear Professional DLL v18.1 for Windows
IG_image_channel_depth_get
Send Feedback
ImageGear Professional v18.1 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Image Channel Functions > IG_image_channel_depth_get

Glossary Item Box

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

Sample:

None

©2014. Accusoft Corporation. All Rights Reserved.