LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generating a 1 bit bmp image

Solved!
Go to solution

I have being trying to input an array and turn it to a 1 bit  bmp image.However, whatever the input, the generated bmp file is either all black or all white and I can't get the images supposed to be generated.

Can someone please show me how to fix that or provide any other way that can generate a "grayscale bmp image"?
I've been working on it but still not able to figure it out 😞
The attached file is the program I been working on.
Please help me! Any advice and suggestions will be greatly appreciated!!

 

0 Kudos
Message 1 of 8
(3,625 Views)

Can you please post the VI in 2011 version.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 8
(3,615 Views)

one of the attached files is in 2011 ,and the other is in 8.0 version.
Thank you a lot!!!!

Download All
0 Kudos
Message 3 of 8
(3,601 Views)

Hi Eya, 

 

did you resolve the problem of saving bool bmp images?

I would like to generate bool image and your vi is really good for me but i have the same problem on saving.

If you have a solution i am really glad, thank you.

0 Kudos
Message 4 of 8
(3,212 Views)

Add a Picture to Pixmap and use the Picture wire instead of the Image data and it'll work.

1bit bitmap.png

/Y

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 8
(3,197 Views)
Solution
Accepted by wiebe@CARYA

Correction!

You need to supply the Color palette.

1bit bitmap.png

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 8
(3,183 Views)

Thank you very much!!!!

0 Kudos
Message 7 of 8
(3,167 Views)

I'll accept the solution, as OP is probably not going to.

Message 8 of 8
(3,156 Views)