Scale ImageSource?

Jim Ault jimaultwins at yahoo.com
Fri Jan 8 02:23:29 EST 2010


Would this work?

delete image "currentThumb"
import your image
put the last image id into newId
set the name of image id newId to "currentThumb"
set the imageSource of char thisChar of field 1 to "currentThumb"

You could detect the if(same thumbnail condition) by storing it in a  
variable, then comparing this imagedata to the new thumb.


On Jan 7, 2010, at 10:26 PM, J. Landman Gay wrote:

> Scott Rossi wrote:
>
>> As Jacque said, an interesting idea Terry.  In fact, the  
>> imageSource caching
>> "feature" could actually work to my benefit since the thumbnails  
>> could all
>> be exported to a single temp image without fear of updating the other
>> imageSource references.  Using one fileName would be a bit less  
>> messy than
>> using 40 or so separate exports I would have to deal with (40  
>> thumbnails).
>
> Let us know if it works. I have a hunch that Rev will only read the  
> first iteration of the image and all the subsequent imagesource  
> references to the same file will look like the first one. But I'm  
> not sure, so I'm curious. And if it does work, we all have a new  
> trick.
>
> -- 
> Jacqueline Landman Gay

Jim Ault
Las Vegas






More information about the use-livecode mailing list