LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to convert raw data into a JPEG picture right away?

Hi,
I have raw jpg data coming through the serial line.
Can I convert this into a jpg image right away?

Thanks,
Van
0 Kudos
Message 1 of 3
(2,926 Views)
yes, there wa s nice VI added in LV 7 that makes this very easy.

convert (parse) your serial read, so that the string is converted into a 2D array of integers. Then call these 3 VIs Draw Unflattened Pixmap >> Picture to Pixmap >> Write JPEG File

Before LV 7, I forget if there is a nice VI to help you (I don't have a pre LV 7 version of LV on this machine, so I can't check...)
0 Kudos
Message 2 of 3
(2,926 Views)
Thanks Joel.
Thanks for your help.
I don't have version 7 so
I will try to use your idea.

Van
0 Kudos
Message 3 of 3
(2,926 Views)