|LabVIEW 2015 Help|
|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
Owning Palette: Picture Functions VIs
Requires: Base Development System
Draws a 1-, 4-, or 8-bit pixmap or a 24-bit RGB pixmap into a picture.
This VI takes a 1D array of bytes as input and assumes the user completes all packing and padding.
|picture is the picture to which you want to add the array of data. The default is an empty picture.|
|image data describes the image you want to draw or manipulate. |
|new picture is the picture that contains the new image. You can wire this output to any other picture input to add more drawing instructions to the picture.|
|Note This VI interprets 32-bit images as 24-bit images.|
You can use this VI with one of the Graphics Formats VIs that reads graphics files in a flattened format. You also can use the Flatten Pixmap VI to produce flattened pixmap data. Use the Unflatten Pixmap VI to unflatten data for use with one of the other VIs used to draw a pixmap.
The Draw Flattened Pixmap VI expects all images to be padded with a 2-byte boundary. The Draw Flattened Pixmap VI does not pad images. The various Graphics Formats VIs which load images also pad images appropriately for use in the Draw Flattened Pixmap VI. If you choose to upload your image in a different way, you need to pad the data with a 2-byte boundary yourself before using the Draw Flattened Pixmap VI.