NI Vision for LabVIEW

Content Type
Programming Language
Current manual

Files

Owning Palette: Vision Utilities
Requires: NI Vision Development Module

Use the Files VIs to read, write, and retrieve image file information. The file formats NI Vision supports are BMP, TIFF, JPEG, PNG, AIPD (internal file format), and AVI (for multiple images).

Palette Object Description
IMAQ ReadFile

Reads an image file. The file format can be a standard format (BMP, TIFF, JPEG, JPEG2000, PNG, and AIPD) or a nonstandard format known to the user.

IMAQ Write File 2

Writes the image to a file in the selected format.

IMAQ Read Image And Vision Info

Reads an image file, including any extra vision information saved with the image. This includes overlay information, pattern matching template information, calibration information, and custom data, as written by the IMAQ Write Image And Vision Info File 2 instance of the IMAQ Write File 2 VI.

IMAQ Write String

Returns a string that contains the entire contents of the image encoded as an image file. The string can be saved to file, or, for example, transferred to a remote computer using FTP.

IMAQ GetFileInfo

Obtains information regarding the contents of the file. This information is supplied for standard file formats only: BMP, TIFF, JPEG, JPEG2000, PNG, or AIPD.

IMAQ Load Image Dialog

Displays a dialog box with which you can specify a path or paths to images. This dialog box is similar to the LabVIEW File Dialog primitive, but it provides a preview of the image files selected and defaults to showing only supported image types.



Subpalette Description
AVI

Use the AVI VIs to read and write multiple images to an AVI file.

Was this information helpful?

Log in to get a better experience

Help us improve your future ni.com experience.

Did you find the documentation you were looking for?

Submit