Overview
The example demonstrates how to resize a image with IMAQ functions.
Description
A image file with a high resolution can easily take up several megabytes of disk space. In many cases a smaller resolution is perfectly sufficient with nice side effect to be able to save disk space or internet bandwidth when sending the image.
The example demonstrates how to resize a image with Vision Development Module functions. The VI can be easily modified to be used as a subVI without an user interface (UI).
Requirements
Software
- LabVIEW 2012 Base Development System (or compatible)
- Vision Development Module 2012 (or compatible)
Hardware
- No hardware is necessary to use this example VI
Steps to Implement or Execute Code
- Open the attached file
- Select a image file to resize (an example image is provided in the 'data' subdirectory)
- Select the Image Width the selected image should be resized to
- Run the VI
- Check the result. The resized image has been saved in the same directory as the original image
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text 'NIVerified'. Read here for more information about the new Example Guidelines and Community Platform.**