The Depth class provides a method for retrieving 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 set pixel format (Set()). You need to pass the bit depth when allocating an image memory.
Methods
Method |
Description |
---|---|
Returns the bit depth of the color setting. |