[...] but the simple answer is that the compression
scheme used by
PNG compresses smaller and decompresses faster than what GIF uses.
I never claimed otherwise. I merely pointed out it is a great deal
more complicated.
- Color depths *above* 8-bit (ie. 24-bit color)
- Alpha channel (256 levels of transparancy)
Neither of these appeared to matter
from what I could see. If
either is necessary, PNG may indeed be called for.
The alpha channel is barely
used, but the ability to have a picture
with more than 256 colors is most certainly used.
Is it? I thought the discussion was talking about colour line-art. In
scanning, line-art means 1bpp, at least in my experience; I read
"colour line-art" as implying 1bpp per primary, giving an absolute
maximum of 8 different colours, well within GIF's range.
Now that PNG is in all still-maintained graphics
programs and web
browsers, there is no reason to use GIF at all moving forward.
Really? Who did
that survey of graphics programs, where did you
find [it, and how did it miss mine?]
Web browsers (IE, Mozilla, Opera), graphics
manipulation (The Gimp,
Photoshop, others), OSS image libraries (ImageMagick, others).
This is not an answer to any of my questions.
It sounds as though you actually mean something more like "PNG is in
all graphics programs I think are important enough to be worth caring
about" or maybe even "PNG is in all graphics programs I felt like
bothering looking at". While there's nothing wrong with either, per
se, it would probably be good to say what you mean.
PNG most certainly is not in all still-maintained graphics programs.
For example, I have an image displayer in live use (which I'm still
maintaining) which supports nothing but pbm/pgm/ppm.
It is not a
direct application of Occam's Razor, no. But it is
similar, in that it is a suggestion to use the less complicated over
the more complicated when either will do.
...unless the less complicated can't
do the task at all (like going
beyond 256 paletted colors).
Yes, of course. What did *you* think "when either will do" meant?
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse at rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B