Draw True-Color Pixmap VI
- Updated2025-03-14
- 3 minute(s) read
Converts a pixmap into a picture so you can use other Picture Functions VIs to append drawing instructions to the image. The data type you wire to the data input determines the polymorphic instance to use. If you want to convert a 4-bit or 8-bit pixmap, you must manually select the polymorphic instance you want to use.

Inputs/Outputs
![]() picture is the picture to which you want to add the pixmap. The default is an empty picture. ![]() top left point specifies in coordinates where to place the top-left corner of the image in the new picture.
![]() data is a 2D array of 32-bit unsigned integers that describes the color of each pixel in the image in raster order. Each pixel has three bytes to describe its color. The first byte for each pixel describes the red value, the second byte describes the green value, and the third byte describes the blue value. ![]() mask is an array of bytes in which each bit describes mask information for a pixel. The first byte describes the first eight pixels, the second byte describes the next eight pixels, and so on. If a bit is zero, LabVIEW draws the corresponding pixel as transparent. If the array is empty, LabVIEW draws all pixels without transparency. If the array does not contain a bit for each pixel in the image, LabVIEW draws any pixels missing from the array without transparency. ![]() 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. |