comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Gif animated
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Gif animated [message #16837] Tue, 24 August 1999 00:00
alberoni is currently offline  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 Go to previous message
R.Bauer is currently offline  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 Go to previous message
Matthew J. Sheats is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Using other's code not clueless (was IDL and WAVE: # and types of users?)
Next Topic: Strange multi-plotting problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:17:30 PDT 2025

Total time taken to generate the page: 0.00625 seconds