LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Canvas control colour depth.

Hi,

So far as I can tell, the colour depth of a canvas control is 256. Is
this true and is it possible to increases it?
--
Regards
John Cameron.
0 Kudos
Message 1 of 3
(2,962 Views)
No, the canvas and picture controls support as many colors as your screen can show. If you are loading an image on the canvas, maybe the scaling of the image makes it appear incorrectly. If you get a BMP file with 1000+ colors though, and load it on the canvas it displays properly.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 3
(2,962 Views)
In article <506500000005000000532A0000-986697009000@quiq.com>, Chris
Matthews writes
>No, the canvas and picture controls support as many colors as your
>screen can show. If you are loading an image on the canvas, maybe the
>scaling of the image makes it appear incorrectly. If you get a BMP
>file with 1000+ colors though, and load it on the canvas it displays
>properly.
>
>Best Regards,
>
>Chris Matthews
>Measurement Studio Support Manager

Thanks Chris,

The error is in fact my maths and a proper lack of understanding of the
meaning of 16 bit and 32 bit colour. I have that sorted now.
--
Regards

John Cameron
0 Kudos
Message 3 of 3
(2,962 Views)