05-20-2014 02:21 AM
Hi,
I wish to convert a string of jpeg data into something that I can display in labview (pixmap??). How do I go about decoding it? Is there a freely available algorithm or (better) a VI that implements it?
Thanks for answers!
05-20-2014 02:36 AM - edited 05-20-2014 02:37 AM
Yes.
Go to the " Graphics and sound ->Graphics formats " Palette.
Use the "Read JPEG" followed by an "Unflatten Pixmap"
05-20-2014 03:01 AM
Thanks for your answer.
The "Read JPEG" VI can just read a jpeg from a file path, but my string looks like this (see attachement). How can I read this string with this VI?
05-20-2014 03:38 AM
Sorry, I can't open that. I only have LabVIEW 11 installed.
05-20-2014 04:48 AM
05-20-2014 06:42 AM
I would use the "write binary file" to write that data to disk as a jpeg, then open the jpeg from disk with the functions I mentioned earlier.