Re: Gif inline images in WWW pages

Pamela Mason (mailto:pmason@ENH.NIST.GOV)
Tue, 18 Jul 1995 17:39:10 -0400

Message-Id: <mailto:199507182144.QAA01930@library.wustl.edu>
Date:         Tue, 18 Jul 1995 17:39:10 -0400
From: Pamela Mason <mailto:pmason@ENH.NIST.GOV>
Subject:      Re: Gif inline images in WWW pages
To: Multiple recipients of list IMAGELIB

Thanks to Karen for responding, and for the tutorial resource.

She states: > Browsers typically set a maximum number of colors that may be used by any
>image displayed there. 50 is a typical number, not 8. The remaining colors
are >shown as the "closest" color among those used. This is also true of many image >viewers, which use as many colors as they can obtain from the system, but >perhaps not as many as requested by the image.

But then it is not actually that the browser "runs out of colors" but simply doesn't display them (parallel situation to a viewer running in 8-bit color displaying a 24-bit image)--perhaps it was the text I was reading's unfortunate choice of words... In other words, you can use extra colors, but they won't be recognized.

>The size of a GIF image does scale with color, but simply because having
>fewer colors in an image means that it is more probable that there are multiple
>identically colored pixels adjacent in the same image line. To understand this
>you must understand the was the GIF image compression algorithm works.

Yes, but I didn't think it would make *such* a difference in file size even though it uses LZW compression algorithm. I'll have to experiment.

Thanks for the help. Best, Pamela

Pamela Mason, Chief Electronic Information Program National Institute of Standards and Technology (NIST) Office of Information Services, E-106 Gaithersburg, MD 20899 PH: (301) 975-4465 FAX: (301) 869-8071 Internet: mailto:pmason@enh.nist.gov