LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display a base64 encoded jpeg image on the front panel

Hi all,

Any ideas on how one would display a base64 encoded jpeg image as an image on the front panel?

kindest regards,

Paul

0 Kudos
Message 1 of 4
(3,263 Views)

Have a look at the following for decoding the Base64: https://forums.ni.com/t5/Example-Programs/Fast-Base64-Encoder-Decoder-using-LabVIEW/ta-p/3503281

And then something similar to this to display the JPEG data without saving it to disk: https://forums.ni.com/t5/Example-Program-Drafts/Methods-for-converting-a-JPEG-data-string-stream-to-...

0 Kudos
Message 2 of 4
(3,255 Views)

Hi waldo,

 

Simple solution: read the encoded data, decode them and store them to a (temporary) JPG file.

Then load the JPG using ReadJPGFile and use a 2D picture indicator to display it…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 4
(3,254 Views)

This has proven to be very useful.

Thanks

0 Kudos
Message 4 of 4
(3,196 Views)