Import Graphics with Transparent Colors into LabVIEW

Updated Nov 20, 2018

Reported In

Software

  • LabVIEW

Operating System

  • Windows
  • Mac OS X

Issue Details

  • How can I import images with transparent colors into LabVIEW?
  • When I try to import a picture in LabVIEW  it shows up with a white background. How can I make the background transparent?

Solution

In order to import a transparent image, you need to use a graphics development environment that allows you to create and save graphics with transparent colors. The file format must also be importable by LabVIEW.

Follow these steps to place a transparent image on your front panel.
  1. Create an image in the graphics development environment of your choice.
  2. Save the file on your computer as follows:
  • On Windows 7, 8 or 10, save as (.GIF) or (.PNG).
  • On Windows XP, save as (.PNG).
  • On Windows NT/98/95, save as(.WMF) or (.EMF).
  • On Windows 3.1.x, save as GIF, TIFF, or Metafile.
  • On Macintosh, save the graphic as a PICT file.
  1. Import the image into LabVIEW by selecting Edit » Import Picture to Clipboard. 
  2. Paste the image into LabVIEW by pressing the Ctrl V shortcut.

Additional Information

  • WMF files contain both vector graphics and bitmap components. LabVIEW does not support vector graphics therefore, the image may not paste as expected.
  • Solaris does not support transparent color in graphics. Only bitmaps are supported on Solaris.

 

WAS THIS ARTICLE HELPFUL?

Not Helpful