Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How to resize my image window to fit the image

Hallo,

I am using a technique that convert the IMAQ Image to an array, and then I connect this array to "Draw True-Color Pixmap" that will draw the image in picture control indicator.

The problem is sometimes the image that appear is bigger in size or smaller than the size of the picture window. How to make the window change its size automatically to fit the size of the image?

Thanks.
0 Kudos
Message 1 of 2
(3,022 Views)
You can change the size of the picture control by playing with its property node, as illustrated in the attached vi.
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 2
(3,004 Views)