LabVIEW

cancel
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
(2,053 Views)

Hi,

 

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

 

http://digital.ni.com/public.nsf/allkb/09F6A234EBFCDC7786256DDD0056668F

 

This might help you as well

 

http://forums.ni.com/t5/LabVIEW/How-to-Resize-a-picture/td-p/246785

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
(2,048 Views)