Read JPEG File VI
- Updated2025-01-28
- 5 minute(s) read
Read JPEG File VI
Reads a JPEG 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 JPEG file specifies the path to and name of the JPEG 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. ![]() use 8 bit color table reads the JPEG file at an 8 bit per pixel image depth instead of 24 bit per pixel image depth. The default value is FALSE. ![]() 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. |