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

Home » Public Forums » archive » Re: NO MORE GIF READ OR WRITE IN IDL 5.4
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
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22079] Tue, 24 October 2000 00:00
George N. White III is currently offline  George N. White III
Messages: 56
Registered: September 2000
Member
On Mon, 23 Oct 2000, Nick Bower wrote:

>> PNG's work fine, they're just not widely recognized yet.
>
> In what? Gimp/Photoshop, browsers and ghostscript all support it. What more
> could you want? :)
>
> nick

Some people produce multi-year series of images. Changing to PNG will
likely require updated color LUT's. If your system provides a library
with GIF support (e.g., SGI) it may be better to write your own IDL
routine to save GIF's.

Many people who work on unix systems are still running Photoshop 3, which
AFAIK does not support PNG.

--
George N. White III <gnw3@acm.org> Bedford Institute of Oceanography
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22086 is a reply to message #22079] Tue, 24 October 2000 00:00 Go to previous message
Glenn Randers-Pehrson is currently offline  Glenn Randers-Pehrson
Messages: 1
Registered: October 2000
Junior Member
In article <39F522BC.6C1128D1@fz-juelich.de>,
"r.bauer" <r.bauer@fz-juelich.de> wrote:
>
> How did I create a png animation?
>

PNG is a single-image format. You can embed a sequence of PNG
datastreams in a MNG file. See http://www.libpng.org/pub/mng/
and http://www.libmng.com/ for information about PNG's cousin MNG.
The only major browser currently supporting MNG is Mozilla/Netscape 6,
but there exists at least one plugin.

--
Glenn Randers-Pehrson
PNG/MNG Development Group


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22087 is a reply to message #22079] Mon, 23 October 2000 22:48 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Paul Woodford wrote:
>
> In article <8stoek$8nl$1@nnrp1.deja.com>, Andrew <noymer@my-deja.com>
> wrote:
>
>> In my experience (which is
>> limited) PNG is just as good as GIF and is, of course,
>> unencumbered by the LZW compression patent crap.
>
> In my experience, PNG is much better than GIF. PNG supports 24-bit
> color; GIF does not. PNG also produces smaller files than GIF.
>
>

How did I create a png animation?

regards
Reimar
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22092 is a reply to message #22087] Mon, 23 October 2000 14:03 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Med Bennett" <mbennett@indra.com> wrote in message
news:39F27A32.9A34E095@indra.com...
> PNG's work fine, they're just not widely recognized yet. There are a
> bazillion viewers and utilities that translate from GIF <> PNG <>
everything
> else

And the one I recommend is ImageMagick

http://www.imagemagick.org/

The only thing that GIF has, and PNG doesn't, is support for animation.
However there are alternatives. There's PNG's cousin MNG

http://www.libpng.org/pub/mng/

though it's still a bit immature and there's FLC, which doesn't have its own
WWW site but there's some good info at

http://crusty.er.usgs.gov/flc.html

I think RSI's decision to remove GIF support from RSI was the correct one in
the circumstances.

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22094 is a reply to message #22092] Mon, 23 October 2000 00:00 Go to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
IrfanView is also very good and is completely free: http://www.irfanview.com.

Mark Hadfield wrote:

> "Med Bennett" <mbennett@indra.com> wrote in message
> news:39F27A32.9A34E095@indra.com...
>> PNG's work fine, they're just not widely recognized yet. There are a
>> bazillion viewers and utilities that translate from GIF <> PNG <>
> everything
>> else
>
> And the one I recommend is ImageMagick
>
> http://www.imagemagick.org/
>
> The only thing that GIF has, and PNG doesn't, is support for animation.
> However there are alternatives. There's PNG's cousin MNG
>
> http://www.libpng.org/pub/mng/
>
> though it's still a bit immature and there's FLC, which doesn't have its own
> WWW site but there's some good info at
>
> http://crusty.er.usgs.gov/flc.html
>
> I think RSI's decision to remove GIF support from RSI was the correct one in
> the circumstances.
>
> ---
> Mark Hadfield
> m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
> National Institute for Water and Atmospheric Research
> PO Box 14-901, Wellington, New Zealand
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22096 is a reply to message #22094] Mon, 23 October 2000 00:00 Go to previous message
noymer is currently offline  noymer
Messages: 65
Registered: June 1999
Member
In article <onaebvedpm.fsf@cow.physics.wisc.edu>,
craigmnet@cow.physics.wisc.edu wrote:

> ... I make loads of GIFs
> for an internal web page, so it sucks a lot. How is it that the
> "premiere" image manipulation program can't do GIF?
>

Here is a list of web browsers that support PNG:

http://www.libpng.org/pub/png/pngapbr.html

I think you'll find that the users of your web page should have
no problems with PNG.

- Andrew


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22097 is a reply to message #22094] Mon, 23 October 2000 00:00 Go to previous message
Paul Woodford is currently offline  Paul Woodford
Messages: 43
Registered: June 2000
Member
In article <onaebvedpm.fsf@cow.physics.wisc.edu>,
craigmnet@cow.physics.wisc.edu wrote:

> One possibility, on Unix, is to output some other format and use the
> NetPBM tools to convert to GIF.

It's easy enough to write an IDL procedure that will use write_png to
output a PNG and then invoke the converter of your choice.

--
Paul Woodford, Ph.D.
Essex Corporation

For faster email response, replace us dot net with essexcorp dot com
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22098 is a reply to message #22094] Mon, 23 October 2000 00:00 Go to previous message
Paul Woodford is currently offline  Paul Woodford
Messages: 43
Registered: June 2000
Member
In article <8stoek$8nl$1@nnrp1.deja.com>, Andrew <noymer@my-deja.com>
wrote:

> In my experience (which is
> limited) PNG is just as good as GIF and is, of course,
> unencumbered by the LZW compression patent crap.

In my experience, PNG is much better than GIF. PNG supports 24-bit
color; GIF does not. PNG also produces smaller files than GIF.

--
Paul Woodford, Ph.D.
Essex Corporation

For faster email response, replace us dot net with essexcorp dot com
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22100 is a reply to message #22094] Mon, 23 October 2000 00:00 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Mark C." <mychan@petro-canada.ca> writes:

> Any suggestions on:
>
> 1) Alternatives if one wants to create GIF files here after?
>
> 2) Has any one use other formats in IDL which will yield equal or better
> quality results to that of GIF?

One possibility, on Unix, is to output some other format and use the
NetPBM tools to convert to GIF. But that sucks. I make loads of GIFs
for an internal web page, so it sucks a lot. How is it that the
"premiere" image manipulation program can't do GIF?

I like Ed Santiago's suggestion of trying the old idl_gif DLMs to see
if they work. Has anybody tried it?

Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22103 is a reply to message #22094] Mon, 23 October 2000 00:00 Go to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
I guess I meant 'recognized by people' rather than 'recognized by software' -
almost everyone knows what a gif is, but if I can imagine that if I told someone
'I'm sending you a png' I might have some explaining to do.

Nick Bower wrote:

>> PNG's work fine, they're just not widely recognized yet.
>
> In what? Gimp/Photoshop, browsers and ghostscript all support it. What more
> could you want? :)
>
> nick
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22104 is a reply to message #22103] Mon, 23 October 2000 00:00 Go to previous message
Ed Santiago is currently offline  Ed Santiago
Messages: 8
Registered: January 2000
Junior Member
> Any suggestions on:
>
>1) Alternatives if one wants to create GIF files here after?

Haven't tried this myself (don't have 5.4 yet), but unless RSI jumped
through hoops to explicitly disable this, you could try:

ARCH=<your arch, e.g., linux, alpha, solaris2, etc>
cp $IDL_53/bin/bin.$ARCH/idl_gif.* $IDL_54/bin/bin.$ARCH/

G'luck,
^E
--
Eduardo Santiago Software Type esm@lanl.gov RKBA!
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22105 is a reply to message #22104] Mon, 23 October 2000 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
"Mark C." wrote:
>
> Any suggestions on:
>
> 1) Alternatives if one wants to create GIF files here after?
>
> 2) Has any one use other formats in IDL which will yield equal or better
> quality results to that of GIF?
>
> Thanks,
> Mark

Just use IDL <= 5.3 ;-)

Cheers,
Martin

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22108 is a reply to message #22105] Mon, 23 October 2000 00:00 Go to previous message
Nick Bower is currently offline  Nick Bower
Messages: 43
Registered: June 1999
Member
> PNG's work fine, they're just not widely recognized yet.

In what? Gimp/Photoshop, browsers and ghostscript all support it. What more
could you want? :)

nick
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22111 is a reply to message #22108] Sun, 22 October 2000 00:00 Go to previous message
Theo Brauers is currently offline  Theo Brauers
Messages: 58
Registered: November 1997
Member
Med Bennett wrote:
>
> PNG's work fine, they're just not widely recognized yet. There are a
> bazillion viewers and utilities that translate from GIF <> PNG <> everything
> else, so I honestly don't see how Compuserve/Unisys ever hopes to enforce or
> make any money off of the GIF/LZW patent. Kind of silly to me that they
> even bother - why don't they just give it to the public domain, where it is
> pretty much in practice anyway?

Because they want to keep some law firms in business. There are a number
of prominent lawsuits in .de where companies sue people when they use a
name w/o the copyright (i.e. when you call your own program anyname-explorer).

Best Theo
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22113 is a reply to message #22111] Sat, 21 October 2000 20:55 Go to previous message
noymer is currently offline  noymer
Messages: 65
Registered: June 1999
Member
Why not use PNG?

see: http://www.libpng.org/pub/png/

according to http://www.rsinc.com/IDL/whatsnew.cfm
PNG support is included in 5.4. In my experience (which is
limited) PNG is just as good as GIF and is, of course,
unencumbered by the LZW compression patent crap.

- Andrew


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: NO MORE GIF READ OR WRITE IN IDL 5.4 [message #22114 is a reply to message #22113] Sat, 21 October 2000 00:00 Go to previous message
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
PNG's work fine, they're just not widely recognized yet. There are a
bazillion viewers and utilities that translate from GIF <> PNG <> everything
else, so I honestly don't see how Compuserve/Unisys ever hopes to enforce or
make any money off of the GIF/LZW patent. Kind of silly to me that they
even bother - why don't they just give it to the public domain, where it is
pretty much in practice anyway?

"Mark C." wrote:

> Any suggestions on:
>
> 1) Alternatives if one wants to create GIF files here after?
>
> 2) Has any one use other formats in IDL which will yield equal or better
> quality results to that of GIF?
>
> Thanks,
> Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: delvar v/s reset_session
Next Topic: Passing of a Friend

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

Current Time: Wed Oct 08 13:49:50 PDT 2025

Total time taken to generate the page: 0.00814 seconds