W3C home > Mailing lists > Public > png-group@w3.org > October 2005

I've found from archive. Valuable for me.

From: Serkant Karaca <skaraca@internetteyim.net>
Date: Mon, 17 Oct 2005 23:36:13 +0300
Message-ID: <018001c5d35a$6a679da0$a210d751@ankara>
To: <png-group@w3.org>

Quotes from http://www.w3.org/TR/2003/PR-PNG-20030520/

> It is recommended that explicit gamma information also be provided 
> when either the first or second methods is used, for use by PNG 
> decoders that do not support full ICC profiles or the sRGB colour 
> space. Such PNG decoders can still make sensible use of gamma 
> information. PNG decoders are strongly encouraged to use this 
> information, plus information about the display system, in order to 
> present the image to the viewer in a way that reproduces what the 
> image's original author saw as closely as possible.

I think it would be appropriate to warn implementors about the 
undesirable consequences of focusing only on PNG colors when the the 
PNG image is presented in some larger graphical context such as a 
HTML+CSS page or an SVG graphic. Inconsistent color within such an 
aggregate document looks worse than the colors of the entirety being 
slightly off but consistently.

> When the incoming image has unknown gamma (gAMA, sRGB, and iCCP all 
> absent), choose a likely default gamma value, but allow the user to 
> select a new one if the result proves too dark or too light. The 
> default gamma may depend on other knowledge about the image, for 
> example whether it came from the Internet or from the local system.

Instead of recommending guessing a "likely value", I think it would be 
better to recommend that decoding applications that also handle other 
color sources (eg. GIF, JFIF, CSS) treat the color values of unlabeled 
PNGs consistently with other other unlabeled color sources. That is, it 
would be desirable for a given RGB value to be presented as the same 
color in a Web browser regardless of the RGB values source (CSS, 
unlabeled JFIF, GIF, unlabeled PNG) in order to be able to mix various 
color sources in a design.

The original PNG specification emphasized doing *something* with gamma 
over making PNG images look good as components of a larger web page 
design. As a result, some browsers (eg. Safari, older versions of Opera 
and some really old Mac builds of Mozilla) treat PNG colors 
inconsistently compared to all other color sources reducing the 
usefulness of PNG images as components of larger designs. 

Serkant KARACA
Senior Software Engineer
Ankara/Turkey
http://evdenevenakliyat.blogspot.com
http://www.internetteyim.net
Received on Monday, 17 October 2005 20:36:20 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 May 2012 12:13:26 GMT