W3C

PNG Recommendation, Second Edition Errata

This version:
http://www.w3.org/2003/10/REC-PNG-20031110-errata
Last modified:
$Date: 2021/01/19 14:15:37 $
This document records known errors in the document:
http://www.w3.org/TR/2003/REC-PNG-20031110/
The latest version of the PNG specification is at:
http://www.w3.org/TR/PNG

Public comments on this W3C Recommendation are welcome. Please send them to the archived list png-group@w3.org .


Typographic error in description of tRNS

Category:
2. Corrections that do not affect conformance
Date:
2009 Jun 25
Reported by:
Glenn Randers-Pehrson
Status:
Proposed

Description

For the tRNS chunk, Colour type 2, a typographical error was introduced in the second edition of PNG: the blue and green channels were switched. The first edition of PNG had the correct order, Red, Green, Blue. This is the same order as is used throughout the specification, and implementations have silently corrected for the obvious error.

Change

In section 11.3.2.1 tRNS Transparency change:

Colour type 0
Grey sample value 2 bytes
Colour type 2
Red sample value 2 bytes
Blue sample value 2 bytes
Green sample value 2 bytes
Colour type 3
Alpha for palette index 0 1 byte
Alpha for palette index 1 1 byte
...etc... 1 byte

to:

Colour type 0
Grey sample value 2 bytes
Colour type 2
Red sample value 2 bytes
Green sample value 2 bytes
Blue sample value 2 bytes
Colour type 3
Alpha for palette index 0 1 byte
Alpha for palette index 1 1 byte
...etc... 1 byte

Bit depth of colors

Category:
2. Corrections that do not affect conformance
Date:
2003 Jun 03
Reported by:
Susan Foord
Status:
Proposed

Description

The phrase "pixel size" is ambiguous as it could refer to the geometric extent of a pixel; in fact the number of bits is meant.

Change

As agreed and further clarified , in Clause 4.4, PNG Image, change the text in []:

   c. Truecolor: ... The alpha channel may be represented by
            a single [pixel] value.  Matching pixels ...
         d. Greyscale: ... The alpha channel may be represented by
            a single [pixel value as in] the previous case. ...

         ... size of each sample, not the total [pixel size].

to

c. Truecolor: ... The alpha channel may be represented by
            a single RGB pixel value.  Matching pixels ...
         d. Greyscale: ... The alpha channel may be represented by
            a single greyscale pixel value, similar to the previous case. ...

         ... size of each sample, not the total number of bits per pixel.

Untagged images embedded in document or vector formats

Category:
3. Corrections that do not add new features
Date:
2021-01-19
Reported by:
Henri Sivonen
Status:
Draft

Description

Change

in 13.13 Decoder gamma handling, change the text:

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.

to

When the incoming image has unknown gamma (gAMA, sRGB, and iCCP all absent), standalone image viewers should 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. For consistency, viewers for document formats such as HTML, or vector graphics such as SVG, should treat embedded or linked PNG images with unknown gamma in the same way that they treat other untagged images.


Chris Lilley