02-03-2010 11:10 AM
I want to change rgb data to a white-black data and save to a bmp file.
But i don't know why my data cannot be output into bmp file, only black result.
even they can be seen by Draw Flattened Pixmap.vi. Maybe miss somethng.
But i just don't know.
Anyone can help me about it?
my enviroment:labview 8.5. Format for bmp: h: 234,w:320.
thanks.
Solved! Go to Solution.
02-03-2010 11:23 AM
You need to define which colors to use.
Your VI will work if you wire a 2-element array of color constants (white and black in your case) to the color input of the Flatten Pixmap.vi.
Cheers,
Dan
02-03-2010 12:01 PM
hi, DanB1983,
just like you said, it work now. Thanks. very nice.
br