What Image File Types Are Supported By The "Import Picture From File..." Option In LabVIEW?
Primary Software Version: 4.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
I am trying to use Edit » Import Picture From File in LabVIEW to copy a picture onto my front panel or control. When I browse to the file, I receive an error message:
LabVIEW could not import the picture. Possible reasons include:
-Corrupt file or invalid picture type.
-File used by another application.
-Not enough memory.
In versions of LabVIEW prior to 5.0, the error message may be Failure: E:\lv45\mgsource\image.c line 8209.
If the file you are trying to import is a *.jpg or a 16-bit *.bmp file, you will receive this message. LabVIEW can import 24-bit *.bmp, *.gif, and *.wmf files, but other file formats are not supported by the import function.
If you have a file that you would like to paste onto your front panel that is an unsupported format, there are two options:
Note: LabVIEW 3.1.1 for Windows 3.1 can only paste bitmap graphics directly from the Windows clipboard. Any other graphics must be brought in using the Edit » Import Picture From File. Importing the image contains conversion routines for converting graphics of varying types to bitmaps for subsequent pasting.
Note: LabVIEW 4.0 on Windows 95/NT can copy only metafiles and bitmap images from both the LabVIEW and Windows clipboards.
KnowledgeBase 0YJFHNFR: Imported Bitmaps for Custom Controls Seem Excessively Large under LabVIEW, Windows
Report Date: 06/26/2002
Last Updated: 08/16/2011
Document ID: 2MPCQCFP