LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

displaying transparent gif's

is there a way to display transparent gifs in labview? I would like to use
some complex shaped images as decorations and/or buttons. thanks.
0 Kudos
Message 1 of 3
(3,149 Views)
You will not be able to import a GIF into LabVIEW (transparent or not) unless
you save it in another format. Under Windows, your options are BMP, CLP, EMF,
JPG, PNG, and WMF. (sorry for the assumption if you're on another platform)

Getting the transparency can be difficult, but it is possible. You can prove
it to yourself if you have MS Office installed by importing "car.wmf" from the
MS Office clipart folder and observing its transparency and resizability. The
key to doing it for your own graphics is using a graphics package capable of
outputting transparent .WMF or .EMF files (on Windows). Unfortunately, not all
packages allow this. For instance, Paint Shop Pro on my machine will
ostensibly save a WMF with transparency, but it won't import with transparency
i
nto either LabVIEW or MS applications like PowerPoint.

Good luck!

John Lum
National Instruments

patrick sincebaugh wrote:

> is there a way to display transparent gifs in labview? I would like to use
> some complex shaped images as decorations and/or buttons. thanks.
0 Kudos
Message 2 of 3
(3,149 Views)
Is there any way to open (not import) a transparent image with IMAQ Vision? I've tried TIFs and PNGs with alpha channels but it won't open them. I'm running Windows 98.
0 Kudos
Message 3 of 3
(3,149 Views)