09-17-2025 07:50 AM
Hi, I have the need to show various images on my front panel depending on a user input, how do I load the image so it fits in the confine of my 2d image box? I cant see the zoom the fit option anywhere? m pictures are high resolution, I found an option to resize the box, but nothing to force the image to fit in a designated box without cropping parts off?
09-17-2025 09:18 AM - edited 09-17-2025 09:20 AM
There is a property node for zoom factor. You can calculate the required factor based on image size and container size.
09-18-2025 01:19 AM
09-18-2025 07:52 AM - edited 09-18-2025 07:52 AM
@e1rnesto wrote:
Hi, I have the need to show various images on my front panel depending on a user input, how do I load the image so it fits in the confine of my 2d image box? I cant see the zoom the fit option anywhere? m pictures are high resolution, I found an option to resize the box, but nothing to force the image to fit in a designated box without cropping parts off?
you may look at the slightly altered .vi from ravensfan from here
you need to scale your input image to the area size of image box
attached as labview 2020
how to use:
09-18-2025 09:18 AM
Here's something I found on the board a long time ago