Write BMP File VI
- Updated2025-07-30
- 5 minute(s) read
Writes a Windows bitmap file.
If you want to write a pixmap to a file, use the Flatten Pixmap VI to convert the data to an image data cluster before using this VI. If you want to write a picture to a file, use the Picture to Pixmap VI to convert the data to an image data cluster before using this VI.

Inputs/Outputs
path to BMP file
—
path to BMP file specifies the path to and name of the bitmap file to write. If you do not specify a path, LabVIEW displays a file dialog box so the user can navigate to the file.
image data
—
image data describes the image you want to draw or manipulate. If you wire 32-bit image data to this VI, the VI returns a 24-bit pixmap.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
path
—
path specifies the path of the pixmap.
error out
—
error out contains error information. This output provides standard error out functionality. |
path to BMP file
—
image data
—
image type
—
image
—
colors
—
Rectangle
—
left
—
error in (no error)
—
path
—
error out
—