Table Of Contents

Get Image File Information (G Dataflow)

Last Modified: October 24, 2017

Obtains information regarding the contents of the file.

This information is supplied for standard file formats only: BMP, TIFF, JPEG, JPEG2000, PNG, or AIPD.

connector_pane_image
datatype_icon

file path

Path name, including drive, directory, and file name for the file to be examined.

This path can be supplied by either the user or the File Dialog node.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

calibration

Cluster containing the following elements:

datatype_icon

X Step

Horizontal distance separating two adjacent pixels in units specified by unit.

datatype_icon

Y Step

Vertical distance separating two adjacent pixels in units specified by unit.

datatype_icon

unit

Measuring unit associated with the image.

datatype_icon

file type

File type that is read: BMP, TIFF, JPEG, JPEG2000, PNG, or AIPD (internal file format).

datatype_icon

image type

Type of image that best fits the file data type of the file.

This output can have the following values:

Name Value Description
Grayscale (U8) 0

8 bits per pixel (unsigned, standard monochrome)

Grayscale (16) 1

16 bits per pixel (signed)

Grayscale (SGL) 2

32 bits per pixel (floating point)

Complex (CSG) 3

2 × 32 bits per pixel (floating point)

RGB (U32) 4

32 bits per pixel (red, green, blue, alpha)

HSL (U32) 5

32 bits per pixel (hue, saturation, luminance, alpha)

RGB (U64) 6

64 bits per pixel (red, green, blue, alpha)

Grayscale (U16) 7

16 bits per pixel (unsigned, standard monochrome)

datatype_icon

width

Horizontal resolution of the image.

datatype_icon

height

Vertical resolution of the image.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.
datatype_icon

file data type

Pixel size defined in the header of the file.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics