03-14-2011 12:25 PM
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.
03-14-2011 12:37 PM - edited 03-14-2011 12:39 PM
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