mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
webp-container-spec: normalize notes & unknown chunk link
- use plural 'Notes' in the description of 'Background Color' to match the formatting of the notes describing 'Disposal method'; - fix one unknown chunks link to contain both words to match others + add a couple of missing commas These changes are based on editor changes in AUTH48: https://datatracker.ietf.org/doc/draft-zern-webp/ Change-Id: Ibbed0459d42944099e295f492dc21bde4e107658
This commit is contained in:
parent
14f09ab75b
commit
052cf42f1a
@ -131,7 +131,7 @@ Chunk Payload: _Chunk Size_ bytes
|
|||||||
: The data payload. If _Chunk Size_ is odd, a single padding byte -- which MUST
|
: The data payload. If _Chunk Size_ is odd, a single padding byte -- which MUST
|
||||||
be `0` to conform with RIFF -- is added.
|
be `0` to conform with RIFF -- is added.
|
||||||
|
|
||||||
**Note:** RIFF has a convention that all-uppercase chunk FourCCs are standard
|
**Note**: RIFF has a convention that all-uppercase chunk FourCCs are standard
|
||||||
chunks that apply to any RIFF file format, while FourCCs specific to a file
|
chunks that apply to any RIFF file format, while FourCCs specific to a file
|
||||||
format are all lowercase. WebP does not follow this convention.
|
format are all lowercase. WebP does not follow this convention.
|
||||||
|
|
||||||
@ -220,7 +220,7 @@ use another conversion method, but visual results may differ among decoders.
|
|||||||
Simple File Format (Lossless)
|
Simple File Format (Lossless)
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
**Note:** Older readers may not support files using the lossless format.
|
**Note**: Older readers may not support files using the lossless format.
|
||||||
|
|
||||||
This layout SHOULD be used if the image requires _lossless_ encoding (with an
|
This layout SHOULD be used if the image requires _lossless_ encoding (with an
|
||||||
optional transparency channel) and does not require advanced features provided
|
optional transparency channel) and does not require advanced features provided
|
||||||
@ -262,7 +262,7 @@ and height of the canvas.
|
|||||||
Extended File Format
|
Extended File Format
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
**Note:** Older readers may not support files using the extended format.
|
**Note**: Older readers may not support files using the extended format.
|
||||||
|
|
||||||
An extended format file consists of:
|
An extended format file consists of:
|
||||||
|
|
||||||
@ -290,12 +290,12 @@ up of:
|
|||||||
For an _animated image_, the _image data_ consists of multiple frames. More
|
For an _animated image_, the _image data_ consists of multiple frames. More
|
||||||
details about frames can be found in the [Animation](#animation) section.
|
details about frames can be found in the [Animation](#animation) section.
|
||||||
|
|
||||||
All chunks necessary for reconstruction and color correction, that is 'VP8X',
|
All chunks necessary for reconstruction and color correction, that is, 'VP8X',
|
||||||
'ICCP', 'ANIM', 'ANMF', 'ALPH', 'VP8 ' and 'VP8L', MUST appear in the order
|
'ICCP', 'ANIM', 'ANMF', 'ALPH', 'VP8 ', and 'VP8L', MUST appear in the order
|
||||||
described earlier. Readers SHOULD fail when chunks necessary for reconstruction
|
described earlier. Readers SHOULD fail when chunks necessary for reconstruction
|
||||||
and color correction are out of order.
|
and color correction are out of order.
|
||||||
|
|
||||||
[Metadata](#metadata) and [unknown](#unknown-chunks) chunks MAY appear out of
|
[Metadata](#metadata) and [unknown chunks](#unknown-chunks) MAY appear out of
|
||||||
order.
|
order.
|
||||||
|
|
||||||
**Rationale:** The chunks necessary for reconstruction should appear first in
|
**Rationale:** The chunks necessary for reconstruction should appear first in
|
||||||
@ -401,7 +401,7 @@ Background Color: 32 bits (_uint32_)
|
|||||||
around the frames, as well as the transparent pixels of the first frame.
|
around the frames, as well as the transparent pixels of the first frame.
|
||||||
The background color is also used when the Disposal method is `1`.
|
The background color is also used when the Disposal method is `1`.
|
||||||
|
|
||||||
**Note**:
|
**Notes**:
|
||||||
|
|
||||||
* The background color MAY contain a non-opaque alpha value, even if the
|
* The background color MAY contain a non-opaque alpha value, even if the
|
||||||
_Alpha_ flag in the ['VP8X' Chunk](#extended_header) is unset.
|
_Alpha_ flag in the ['VP8X' Chunk](#extended_header) is unset.
|
||||||
|
Loading…
Reference in New Issue
Block a user