» About » Archive » Submit » Authors » Search » Random » Specials » Statistics » Forum » RSS Feed Updates Daily
No. 168: Indexed Colour Garfield
First | Previous | 2009-09-30 | Next | Latest
![Indexed Colour Garfield](/garfield/comics/0168.png)
First | Previous | 2009-09-30 | Next | Latest
Permanent URL: https://mezzacotta.net/garfield/?comic=168
Strip by: superluser
{What appears to be a black square}
The author writes:
You could do indexed PNG with 8 colours (such as FFFFFF for panel 1, FEFFFF for panel 2, FFFEFF for panel 3, FFFFFE for panels 1 and 2, etc.). In fact, you might even be able to do 8 identical index colours (does PNG allow that?).
As it turns out, yes, it does:
ISO 15948:2003, section 11.2.3:
There is no requirement that the palette entries all be used by the image, nor that they all be different.
The guide to the index:
- 0 - white in all
- 1 - black in panel 1
- 2 - grey in panel 1
- 3 - black in panel 2
- 4 - grey in panel 2
- 5 - black in panel 3
- 6 - grey in panel 3
- 7 - black in panel 1 and 2
- 8 - grey in panel 1 and 2
- 9 - black in panel 1, grey in panel 2
- 10 - grey in panel 1, black in panel 2
- 11 - black in panel 1 and 3
- 12 - grey in panel 1 and 3
- 13 - black in panel 1, grey in panel 2
- 14 - grey in panel 1, black in panel 3
- 15 - black in panels 2 and 3
- 16 - grey in panels 2 and 3
- 17 - black in panel 2, grey in panel 3
- 18 - grey in panel 2, black in panel 3
- 19 - black in panel 1 and 2, grey in panel 3
- 20 - black in panel 1 and 3, grey in panel 2
- 21 - black in panel 2 and 3, grey in panel 1
- 22 - grey in panel 1 and 2, black in panel 3
- 23 - grey in panel 1 and 3, black in panel 2
- 24 - grey in panel 2 and 3, black in panel 1
- 25 - grey in all
- 26 - black in all
- 27 - I'm not sure why this is here.
Original strip: 1992-08-22.