Can I export an animated GIF?

Klaus Major klaus at major-k.de
Tue Jan 31 04:00:12 EST 2006


Hi Graham,

> In order to try to effect a rescue of a corrupt stack, I'm  
> exporting the images from it by typing stuff like the following in  
> the message box:
>
> set the clipboardData["image"] to img "myImage" of cd "someCard" of  
> stack "someStack"
>
> and then picking up the object on the clipboard in a graphic editor  
> (plain vanilla 'copy' only works on text, I find)
>
> This works well, but a few of my images are animated GIFs, and in  
> this case only one frame comes across, presumably because the  
> underlying format of the clipboardData for images is PNG. Doubtless  
> I can go back to the original files for these, but I am curious as  
> to how I might get  RR to export an animated GIF intact. Any  
> suggestions?

you can:

...
   put img 1 into url("binfile:filename.gif")
...

works here for animated gifs!

> TIA
>
> Graham
>
>
> ----------------------------------------
> Graham Samuel / The Living Fossil Co. / UK and France

Best from germany

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list