Gif animated [message #16837] |
Tue, 24 August 1999 00:00 |
alberoni
Messages: 2 Registered: August 1999
|
Junior Member |
|
|
Hei,
I need a procedure to produce an animeted gif. I know that with IDL is
possible to put more than one image in a gif file, but how I can specify
the looping?
Thanks
Pier Paolo
|
|
|
Re: Gif animated [message #16921 is a reply to message #16837] |
Tue, 24 August 1999 00:00  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
"Matthew J. Sheats" wrote:
> "R.Bauer" wrote:
>
>> Do you mean somenthing like
>>
>> window,0,xsize=1024,ysize=800
>> for i=0,10 do begin
>> plot,sin(findgen(200))*i,pos=[0.1,0.1,0.9,0.9]
>> data=tvrd()
>> write_gif,'d.gif',data,/multiple
>> endfor
>> write_gif,'d.gif',/close
>> end
>
> Unfortunately.. this doesn't give you the full Gif 89a functionality.
> I just tried it out.. and got a rather rapid little animated gif.. but
> no looping, and no way to set delays etc.
>
> I set out to build a full 89a Write_gif object a while back.. but never
> found the time.. (I think I may still have all the documentation here
> somewhere) Has anyone written one in the interum? Or should I take a
> stab at it?
>
> Wouldn't be hard.. just need to download the specs..
>
> Matthew Sheats
> Los Alamos National Laboratory
> sheats@lanl.gov
You are right!
R.Bauer
|
|
|
Re: Gif animated [message #16927 is a reply to message #16837] |
Tue, 24 August 1999 00:00  |
Matthew J. Sheats
Messages: 19 Registered: September 1997
|
Junior Member |
|
|
"R.Bauer" wrote:
> Do you mean somenthing like
>
> window,0,xsize=1024,ysize=800
> for i=0,10 do begin
> plot,sin(findgen(200))*i,pos=[0.1,0.1,0.9,0.9]
> data=tvrd()
> write_gif,'d.gif',data,/multiple
> endfor
> write_gif,'d.gif',/close
> end
Unfortunately.. this doesn't give you the full Gif 89a functionality.
I just tried it out.. and got a rather rapid little animated gif.. but
no looping, and no way to set delays etc.
I set out to build a full 89a Write_gif object a while back.. but never
found the time.. (I think I may still have all the documentation here
somewhere) Has anyone written one in the interum? Or should I take a
stab at it?
Wouldn't be hard.. just need to download the specs..
Matthew Sheats
Los Alamos National Laboratory
sheats@lanl.gov
|
|
|