Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ Write JPEG File doesn't save color

Hi, I'm writing an 8 bit image to file. If I save it as bmp (using "IMAQ Write BMP.vi") File then color data is saved. If I save it as Jpeg using "IMAQ Write JPEG File", then I only get grayscale. I have attached a demonstration. There appears to be a bug in the IMAQ vi.
0 Kudos
Message 1 of 3
(3,345 Views)
At IMAQ create.vi you need to specify RGB image type. You are actually using 8 bit, that is a grayscale type.
Message 2 of 3
(3,345 Views)
Thanks. That does the job.
0 Kudos
Message 3 of 3
(3,345 Views)