display image question

J. Landman Gay jacque at hyperactivesw.com
Sun Sep 2 00:03:02 EDT 2012


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         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list