LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reading a 32 bit image

Solved!
Go to solution

I would not even bother with external tools. It's trivial enough to detect the 32 bit depth of an image when using the Read PNG File.vi and then removing the Alpha channel, effectively creating a 24 bit image. You probably will want to use the extracted alpha channel to mask out the color pixels appropriately.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 11 of 12
(739 Views)
Solution
Accepted by AnoopV

If you take a close look of this image, all 3 channels (R, G, B) are just 0.  Which is a black image.

All the information is in the alpha channel.

So forget about the 0s, just use the alpha channel, you can get the 24bit image like this:

 

V1a.png

 

V1b.png

 

 

George Zou
Message 12 of 12
(722 Views)