From b4ad4270861cceb4256a3071f84875f893e5a7ed Mon Sep 17 00:00:00 2001 From: Orestes Date: Wed, 25 Oct 2017 10:19:14 +0100 Subject: [PATCH] Include additive nature explanation Let's restore the additive relationship stuff that got lost during the last commit, while leaving the table there too! --- spec/parts/part1.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spec/parts/part1.adoc b/spec/parts/part1.adoc index ade2610..195723b 100644 --- a/spec/parts/part1.adoc +++ b/spec/parts/part1.adoc @@ -15,12 +15,12 @@ The fifth byte is an ASCII character that can be interpreted as follows: |=== -| Animation | Interlacing | Grayscale | RGB | RGBA +| Animation | Interlacing | Grayscale | RGB | RGBA | Notes -| Still image | Non-interlaced | `'1'` | `'3'` | `'4'` -| Still image | Interlaced | `'A'` | `'C'` | `'D'` -| Animated | Non-interlaced | `'Q'` | `'S'` | `'T'` -| Animated | Interlaced | `'a'` | `'c'` | `'d'` +| Still image | Non-interlaced | `'1'` | `'3'` | `'4'` | +| Still image | Interlaced | `'A'` | `'C'` | `'D'` | For Interlaced, add 0x10 to above values +| Animated | Non-interlaced | `'Q'` | `'S'` | `'T'` | For Animated, add 0x20 +| Animated | Interlaced | `'a'` | `'c'` | `'d'` | For both, add 0x30 |=== Variable-size integer encoding (varint):