Text of an image

Eric Chatonet eric.chatonet at sosmartsoftware.com
Thu Sep 4 14:04:05 EDT 2008


Bonsoir Richard,

I'm always worried when somebody, even you :-), says: sometimes it  
works and sometimes it does not ;-)
Does not sound good...
I have not experienced what you say:
As soon as imageData are related to current display (i.e. related to  
the size of the image object you put in), it always worked for me.
Can you be more specific?

Le 4 sept. 08 à 18:04, Richard Gaskin a écrit :

> Eric Chatonet wrote:
>> Let's say you are creating thumbnails using large referenced  
>> images  (this means that your image object is locked with a lesser  
>> size).
>>     set the text of img 1 to url("binfile:" & <file path>) will   
>> display the image : OK.
>> And you'll be able to display it its original size in an unlocked   
>> image using the 'same text'.
>> If you add:
>>    set the imageData of img 1 to the imageData of img 1
>> This will fit the text of the image to its current locked size.
>> Many bytes saved :-)
>
> I've been experimenting with a similar technique here to make  
> thumbnails I can store in a stack, but have had mixed results:   
> sometimes the imagedata in the new thumbnail image remains intact,  
> other times it appears empty.
>
> The source for these images are files on disk, displayed in an  
> image object much smaller.  My goal is to get the imageData from  
> the display image and create a new image in another stack with that  
> thumbnail - any tips for doing that reliably?
>
> -- 
>  Richard Gaskin
>  Managing Editor, revJournal

Best regards from Paris,
Eric Chatonet.
----------------------------------------------------------------
Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: eric.chatonet at sosmartsoftware.com/
----------------------------------------------------------------





More information about the use-livecode mailing list