Picture to Pixmap VI
- Updated2025-01-28
- 5 minute(s) read
Picture to Pixmap VI
Converts a picture to a cluster of image data you can use to perform certain tasks with the image, such as save it to a file using the Graphics Formats VIs.

Inputs/Outputs
![]() picture is the picture you want to convert to a pixmap. ![]() rect is a cluster that contains coordinates that describe the bounding rectangle of the image you want to convert. The default is to return the entire image. Horizontal coordinates increase to the right, and vertical coordinates increase to the bottom.
![]() depth specifies the color depth of the image, which is the number of bits to use to describe the color of each pixel in the image. Valid values include 1, 4, 8, and 24 bits per pixel. The default is 24. ![]() Background Color sets the background color of the image. ![]() new picture returns picture unchanged. ![]() image data returns information about the pixmap so you can use the Graphics Formats VIs to save the pixmap to a file.
|