Read BMP File VI
- Updated2025-03-14
- 5 minute(s) read
Reads a Windows bitmap file and creates the data necessary to display the file in a picture control.
Use the Draw Flattened Pixmap VI to display the bitmap you acquire with this VI. Use the Unflatten Pixmap VI to work with the data as a 2D array.

Inputs/Outputs
![]() path to BMP file specifies the path to and name of the bitmap file to read. If you do not specify a path, LabVIEW displays a file dialog box so the user can navigate to the file. ![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() path specifies the path of the pixmap. ![]() image data returns information about the image so you can use the Draw Flattened Pixmap VI to draw it as a picture.
![]() error out contains error information. This output provides standard error out functionality. |