LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save 8 bit PNG?

Solved!
Go to solution

I found this helpful bit of code that uses .NET for capturing a screenshot using coordinates from a mouse click. However, I need it to save 8 bit PNG files instead of the 32 bit PNG it currently saves. Does anyone know how to do that?

 

Thanks!

0 Kudos
Message 1 of 3
(2,964 Views)
Solution
Accepted by topic author Testr00

First thought is you could use the Draw Flattened Pixmap, then the Picture to Pixmap which has an input for the depth which could be set to 8, then do the PNG save.  Nic eVI by the way.

Message 2 of 3
(2,946 Views)

That worked nicely. Thank you for your assistance.

0 Kudos
Message 3 of 3
(2,933 Views)