On 9/1/12 10:50 PM, J. Landman Gay wrote:

You call it like this:

scaleToFit the long ID of img "photo",the long ID of grc "frame"

If you don't want to store the image in the stack, you could import it
temporarily, run the handler, export the resulting image back to disk,
and delete the temporary image from the stack. Then use the exported
image as the reference for your image object. If you do that, then it
does makes sense to use an image object as your target reference, since
you'd be using it later to display the resized image from disk.


I take that back. Since you're not cropping, you're just resizing for display, you can use the handler on a referenced image. It should work fine.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to