ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display JPEG Data string

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!

0 Kudos
Message 1 of 6
(3,867 Views)

Yes.

 

Go to the " Graphics and sound ->Graphics formats " Palette.

 

Use the "Read JPEG" followed by an "Unflatten Pixmap"

 

 

0 Kudos
Message 2 of 6
(3,860 Views)

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?

0 Kudos
Message 3 of 6
(3,844 Views)

Sorry, I can't open that. I only have LabVIEW 11 installed.

0 Kudos
Message 4 of 6
(3,830 Views)
0 Kudos
Message 5 of 6
(3,819 Views)

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.

 

 

0 Kudos
Message 6 of 6
(3,798 Views)