LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

*.gif in Labview

Hi!

My problem is loading a gif-graphik into the frontpanel. I tried this
with jpg files and so it works easily because there are special vis
(DrawFlattendPixmap.vi / ReadJPGFile.vi). I am working with LabVIEW 7
Express. Is it posssible to import gif-files? Who can help, please?

Excuse my mad english...

greetz from germany

Skob
Message 1 of 9
(4,488 Views)
I can't answer that question specifically, but you could always download a free graphics tool that will let you cut/paste to clipboard and save between numerous formats, such as gif/bmp/jpg. My favorite is Irfanview (Google Search: Download Irfanview).
Message 2 of 9
(4,488 Views)
Use Image Toolbox / Read Image File.vi. Take a look this web page:
http://www.geocities.com/gzou999/imgtool.htm


George Zou
http://gtoolbox.yeah.net
George Zou
Message 3 of 9
(4,488 Views)
You can "import" gif image into labview, however, there are no VIs provided by NI to read GIF files because of patent. If you want to display gifs in picture control then you can find some comercial VIs. To import it, goto "Edit -> Import Image from File" and select a Gif file, then use "Paste" to display the image on the front panel.

-Joe
Message 4 of 9
(4,488 Views)
Thanx everyone for response. But it still doesnt work as I want.
Because I'd like to load the .gif-files into my frontpanel and dont
want to get them from the clipboard (copy/paste). I have to put them
in my programming code...
The vis on zous link-page would be what I want, but this is not
freeware...

see you
Message 5 of 9
(4,488 Views)
There are some free graphics, irfanview like m3nth mentioned above, that you can call externally to convert a gif file to jpg or bmp so it can be loaded into labview.

-Joe
Message 6 of 9
(4,488 Views)
Skob wrote:
> Thanx everyone for response. But it still doesnt work as I want.
> Because I'd like to load the .gif-files into my frontpanel and dont
> want to get them from the clipboard (copy/paste). I have to put them
> in my programming code...
> The vis on zous link-page would be what I want, but this is not
> freeware...

Well, we all would like to get a free beer. But sometimes that's not so
simple. I haven't a GIF import library I can give away for free. You
could get one of the many GIF C source code libraries from internet,
compile it into a shared library and call that from LabVIEW.
Eventhough you won't have to write the code for the shared library
yourself in that way, I doubt that your time spent to do only that will
be cheaper than
what you would have to pay George Zou.

Rolf Kalbermatter
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 7 of 9
(4,488 Views)
Yes, thats right. But I need animated images on the frontpanel. I was
searching for activeX tools to import animated gif-files but I didnt
find freeware... I think the most simple way to get an animation is
including a loop.
thx
Message 8 of 9
(4,488 Views)
Yes, thats right. But I need animated images on the frontpanel. I was
searching for activeX tools to import animated gif-files but I didnt
find freeware... I think the most simple way to get an animation is
including a loop.
thx
Message 9 of 9
(4,488 Views)