164 DCx camera
© 2010 Thorlabs
7.3.28
is_GetColorDepth
Syntax
INT is_GetColorDepth(HIDS hCam, INT* pnCol, INT* pnColMode)
Description
is_GetColorDepth() retrieves the current Windows Desktop colour setting and returns the bit depth
per pixel and the matching DCx camera colour mode. The colour mode can be passed directly to
the is_SetColorMode() function. You need to pass the bit depth when allocating an image
memory.
Input Parameters
Returns the bit depth of the colour setting.
Returns the DCx camera colour mode that corresponds to pnCol.
For a list of all available colour formats and the associated input parameters,
see the Appendix: Color and Memory Formats section.
Return Values
Function executed successfully
Related Functions
is_SetColorMode()
is_AllocImageMem()
241
350
241
119