Flatten and Unflatten Pixmap VIs in LabVIEW
Primary Software: LabVIEW Development Systems>>LabVIEW Full Development System
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems
What is the purpose of the Flatten and Unflatten Pixmap VIs?
Images can be represented in two ways in LabVIEW. The first representation is that of a "flat pixmap", which is a 1D array. The Get Panel Image method returns a flat pixmap, for example. Certain VIs, such as the Write BMP File, Write PNG File, and Write JPEG File VIs, require a flat pixmap.
If you want to display a flat pixmap in an Intensity Graph, you must unflatten the pixmap. An unflattened pixmap is a 2D array that can be wired to an Intensity Graph. You may also wire an unflattened pixmap to one of the following VIs: Draw 1-bit Pixmap, Draw 4-bit Pixmap, Draw 8-bit Pixmap, and Draw True Color Pixmap. These VIs provide a picture as an output, which can be displayed in a Picture Indicator.
Unflatten Pixmap to Intensity Graph Snippet
If you want to display a flattened pixmap in a Picture Indicator, then use the Draw Flattened Pixmap VI.
LabVIEW Help: Flatten Pixmap VI
LabVIEW Help: Unflatten Pixmap VI
Report Date: 02/01/1999
Last Updated: 09/22/2017
Document ID: DIRECT-44PMFD