|LabVIEW 2016 Help|
|LabVIEW 2017 Help|
|LabVIEW 2018 Help|
|LabVIEW 2019 Help|
|LabVIEW 2020 Help|
Owning Palette: Picture Functions VIs
Requires: Base Development System
Returns a subset of a source image instead of the entire image. Use the Picture to Pixmap VI to convert a picture to a cluster you can wire to image data.
If you wire 32-bit image data to this VI, the VI strips the alpha channel and returns 24-bit image data.
|image data describes the image you want to draw or manipulate. |
|subset rect is a cluster that contains coordinates that describe the bounding rectangle of the image subset. If the coordinates do not describe a valid rectangle, the VI coerces the coordinates to a valid rectangle and returns the coerced coordinates in true subset rect. |
|image subset returns information about the image subset so you can use the Draw Flattened Pixmap VI to draw the image as a picture or use the Graphics Formats VIs to save the image to a file. |
|true subset rect is a cluster that contains coordinates that describe the bounding rectangle of the image subset returned by the VI. |
Refer to the Pen Attributes And Image subsetting VI in the labview\examples\Graphics and Sound\2D Picture Control directory for an example of using the Get Image Subset VI.