Comments on this document can be sent to the PNG specification maintainers at
png-mng-misc@lists.sourceforge.net
Distribution of this memo is unlimited.
At present, the latest version of this document is available on the World Wide Web from
ftp://ftp.simplesystems.org/pub/libpng/png-group/documents/.
Permission is granted to copy and distribute this document for any purpose and without charge, provided that the copyright notice and this notice are preserved, and that any substantive changes or deletions from the original are clearly marked.
It is proposed to add the following section to the document "Extensions to the PNG 1.2 Specification, Version 1.2.0"
When present, the sTER chunk indicates that the datastream contains a stereo pair of images within a single PNG image.
The sTER chunk contains:
Mode: 1 byte (reserved; must be zero)
The sTER chunk with mode==0 indicates that the datastream contains two images, encoded within a single PNG image. They are arranged side-by-side, with the left image intended for presentation to the right eye and the right image intended for presentation to the left eye. The left edge of the right image must be on a column that is evenly divisible by eight, so that if interlacing is employed the two images will have coordinated interlacing. Padding columns between the two images must be introduced by the encoder if necessary. The two images must have the same dimensions after removal of any padding.
Decoders that are aware of the sTER chunk can display the two images in any suitable manner. Decoders that are not aware of the sTER chunk will naturally display them side-by-side in a manner suitable for cross-eyed viewing.
If present, the sTER chunk must appear before the first IDAT chunk.
It is proposed to add the following paragraphs to the document "MNG (Multiple-image Network Graphics) Format, Version 1.0":
At the end of the list in Paragraph 4.2.3, IHDR, PNG chunks, IEND, add another bullet:
At the end of Paragraph 4.6, Ancillary PNG chunks, add another bullet:
In paragraph 5.2, Ancillary JNG chunks, after the word "sCAL", add ", sTER".
Add paragraph 10.8, Interlacing and the sTER chunk
It is recommended that when the sTER chunk is active and the two images are conveyed in separate PNG or JNG datastreams, interlacing not be used.