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

Home » Public Forums » archive » GIF again.....
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: GIF again..... [message #23161 is a reply to message #23077] Mon, 08 January 2001 02:13 Go to previous messageGo to previous message
wmconnolley is currently offline  wmconnolley
Messages: 106
Registered: November 2000
Senior Member
Richard G. French <rfrench@wellesley.edu> wrote:

> JD Smith wrote:
> That imagemagick site looks terrific - thanks for the tip.

> I am happy to discontinue creating gifs, but I have about
> 1000 gifs I've made already that I would like to be able to read!

Well, I had the same problem and produced:

PRO READ_GIF, FILE, IMAGE, R, G, B, MULTIPLE=mult, CLOSE=close

; WMC kludge
if (!version.release eq '5.4') then begin
print,'Version is 5.4 so faking read_gif with png''s'
base=basename(file)
spawn,'convert gif:'+file+' png:/tmp/'+base
image=read_png('/tmp/'+base,r,g,b)
spawn,'rm /tmp/'+base
return
endif
; Now continue on into the standard read_gif as written by IDL...

This uses the "convert" program from ImageMagick. Its rather kludgey
(not even safe for multi-users and will gratuitously fail in 5.5) and
also somewhat slow but works OK for now...

-W.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Mac editors / development environment
Next Topic: contour error message

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

Current Time: Wed Oct 08 19:58:28 PDT 2025

Total time taken to generate the page: 0.00443 seconds