Stored images
Sannyasin Sivakatirswami
katir at hindu.org
Mon Feb 10 21:31:00 EST 2003
Ha! Fantastic... what a great support group we have here! ;-)
On Monday, February 10, 2003, at 07:46 AM, J. Landman Gay wrote:
> Actually, it isn't even necessary to store the original image size in
> a custom property. Rev will automatically save the size so that the
> script doesn't have to track it. The formattedwidth and
> formattedheight of the image retain the original dimensions. You can
> use those properties to get the original size, and toss out a few
> lines of extra scripting besides:
>
> set the width of image theImage to theRatio*the formattedWidth of img
> theImage
> set the height of image theImage to theRatio*the formattedHeight of
> img theImage
>
More information about the use-livecode
mailing list