Home > C: Programming > Function Descriptions > History back  Previous chapter  Next chapter  Print  

is_GetColorDepth

uEye Camera Manual Version 3.80

is_GetColorDepth

Windows_Logo

Linux_Logo

USB 2.0

GigE

-

Syntax

INT is_GetColorDepth(HIDS hCam, INT* pnCol, INT* pnColMode)

Description

is_GetColorDepth() retrieves the current Windows Desktop color setting and returns the bit depth per pixel and the matching uEye color mode. The color mode can be passed directly to the is_SetColorMode() function. You need to pass the bit depth when allocating an image memory.

Input Parameters

hCam

Camera handle

pnCol

Returns the bit depth of the color setting.

pnColMode

Returns the uEye color mode that corresponds to pnCol.

For a list of all available color formats and the associated input parameters, see the Appendix: color and Memory Formats section.

Return Values

IS_SUCCESS

Function executed successfully

IS_NO_SUCCESS

General error message

Related Functions

is_SetColorMode()
is_AllocImageMem()

Suggestion for improvement? Send us your short Feedback on this chapter. Thank you very much!


© 2010 IDS Imaging Development Systems GmbH
http://www.ids-imaging.com