LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Top Authors
Showing results for 
Search instead for 
Did you mean: 

VI to draw a JPEG (from memory) into a 2D picture control.

Currently, the only native way to display a JPEG in memory on a 2D picture control in LabVIEW is to

  1. save to disk
  2. read from disk
  3. display


Screen Shot 2014-02-18 at 11.09.39 AM.png

This is not only silly, but slow: on a reasonable fast machine with an SSD, this takes almost a second!

A simple request: A VI that can go straight from JPEG binary data (other formats would be nice) to a 2D picture control. This is very useful for applications that download images from a server - a pretty common thing to do.

Marcos Kirsch
Chief Software Engineer
Core Modular Instruments Software
National Instruments
Knight of NI

That sounds like this idea.


Add function to convert string to image

Active Participant

NI already have this internally. I received copies of the codes about 10 years ago, to convert a JPG string to an image. I don't have them anymore, but as you're a bluey take a look at your internal systems to see if they're around. Maybe they could be made public??

Thoric (CLA, CLED, CTD and LabVIEW Champion)

Proven Zealot

Thoric: We do? I've looked. Found nothing. Do you have any idea the names of those VIs?

Knight of NI Knight of NI
Knight of NI

There are VIs which do this for PNG (I think in the web services palette), but those were only added relatively recently. I believe there also VIs which do this for JPEG, but I think they only ship with the vision module or IMAQ and I don't remember if they output a picture or an IMAQ image.

Try to take over the world!
Proven Zealot

I found the PNG VIs that Tst mentions.


Example Gatekeeper
Status changed to: Duplicate