Overview
This VI crops and saves a 24-bit Bitmap (BMP) image.
Description
This VI uses the Picture Functions VIs, Graphic Formats VIs and Array Palette Functions to retrieve, crop, and save BMP Images.
Requirements
LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
Open the VI.
Specify the path of a 24-bit Bitmap (BMP) Image.
Specify the Region Of Interest that you want to crop through the parameters XStart, XWidth, YStart, and YWidth.
Run the VI.
Observe the cropped Image being displayed in the VI.
Observe the cropped BMP Image that is saved to disk in the same folder as the original BMP Image.
Additional Information or References
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.