Is_Getcolordepth - THORLABS DCU223x Operation Manual And Sdk

Cdd and cmos cameras
Hide thumbs Also See for DCU223x:
Table of Contents

Advertisement

4.3.38 is_GetColorDepth

USB 2.0
USB 3.0
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 uc480 color mode. The color mode can be passed directly to the
function. You need to pass the bit depth when allocating an image memory.
Input parameters
hCam
pnCol
pnColMode
Return values
IS_INVALID_CAMERA_HANDLE
IS_INVALID_PARAMETER
IS_NO_SUCCESS
IS_SUCCESS
Related functions
is_SetColorMode()
is_AllocImageMem()
© 2013 Thorlabs GmbH
-
319
157
Camera handle
Returns the bit depth of the color setting.
Returns the uc480 color mode that corresponds to
pnCol.
For a list of all available color formats and the associated
input parameters, see the
Formats
section.
502
Invalid camera handle
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
General error message
Function executed successfully
4 Programming (SDK)
is_SetColorMode()
Appendix: color and Memory
319
237

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dcu224xDcc1240xDcc1545mDcc1645c

Table of Contents