Showing results for 
Search instead for 
Did you mean: 

How to scale images automatically?

I making a program which is essentially an etch a sketch type program where I would open a jpeg file and using the mouse I would let's say draw a circle over the image and in the new image a circle would appear over the image. The new image would be another box. My question is how do I make the image I draw to fit inside the box; so that no matter how large the image image I draw it will automatically scale and still fit the box. Thanks.

0 Kudos
Message 1 of 2



am I correct that you want to scale your JPEG, so it would fit inside the box?  if so, this may be the answer :


This might help you as well

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
0 Kudos
Message 2 of 2