LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save an 16 bits grayscale image in a bmp file

Hello,

 

I need to save a bmp file using an I16 grayscale picture.

I already did the following VI that saves the picture in bmp but the colors are not good : there is only blue levels.Save I16 picture in Bmp.JPG

 

I think there is a problem with the type of data that feed "array to color image" or with the colorscale but i don't manage to find where.

 

Hope you can help me.

Tank you.

 

Ben 

 

 

 

0 Kudos
Message 1 of 2
(3,434 Views)

Hi

The arraytocolorimage expects U32 because expects a RGB color, try this instead of the "toU32"

 

I16_to_U32.jpg

Rodrigo Cuenca
www.cidesi.com

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