LV Image to PNG Data VI
- Updated2025-07-30
- 5 minute(s) read
Converts a LabVIEW image to a PNG binary stream.
You also can convert a PNG binary stream to a LabVIEW image using the PNG Data to LV Image VI.

Inputs/Outputs
compression (none)
—
The quality of the graphic is not affected by the compression, but the graphic file size and speed of compression are affected by this value. Valid values range from –1 to 9 and balance file compression with speed. The following table lists example values for compression.
image data
—
image data contains the LabVIEW image data.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
png data
—
png data describes the binary buffer that represents a PNG file.
error out
—
error out contains error information. This output provides standard error out functionality. |
compression (none)
—
image data
—
image
—
colors
—
Rectangle
—
left
—
error in (no error)
—
png data
—
error out
—