LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I save a front panel object image with full color depth?

Solved!
Go to solution

When I use the Invoke Node method to get the image of a front panel object, and then save it as a bmp or png, I seem to lose color depth. What do I need to do to programatically save front panel objects with the same color depth as they appear on the screen?

 

I'm using LabView 2011 11.0

0 Kudos
Message 1 of 4
(2,562 Views)
Solution
Accepted by topic author caleyjag

You have an input in that Invoke node called Image Depth.  You wired an 8 to it.  Why?  Wouldn't that mean you are capturing an image at a rather low image depth of only 8 bits?

0 Kudos
Message 2 of 4
(2,560 Views)

Ummm... maybe because of that 8, where you're specifying 8-bit depth?

0 Kudos
Message 3 of 4
(2,559 Views)

Yup, if I type 24 in there instead of 8 it solves the problem. 8 was the default value.

0 Kudos
Message 4 of 4
(2,547 Views)