01-03-2025 04:56 PM
Hello, NI community,
I built a program for a USB camera in LabVIEW. I want to save zoom images (e.g. 0.25X, 0.33 X) using this VI. The VI is attached. Can anyone help me with this?
I really appreciate any help you can provide.
The snippet of the VI is as follows,
01-03-2025 05:53 PM
Hi,
Take a look at VI "IMAQ Resample" from palette "Vision and Motion" > "Vision Utilities" > "Image Manipulation".
It takes an IMAQ image and X/Y Resolutions, which are the new dimensions you want the image to be resized to. You can also choose the interpolation method.
Then you can for example use the image size multiplied by your ImageControl zoom so that the image file has the same size as the apparent image size in your control:
Regards,
Raphaël.