Paint Data Section
This section contains all the data of a picture.
Size Description
L Size of Paint Data Section (including this long)
L Offset within Sketch Section of pixel data. Always 28 00 00 00 ?
L X Size of picture in dots
L Y Size of picture in dots
L Always 00 00 00 00 ?
L Always 00 00 00 00 ?
L Always 02 00 00 00 ?
L Always 00 00 00 00 ?
L Always 00 00 00 00 ?
L Always 00 00 00 00 ?
Pixel data
Pixel data consist sequences of marker bytes with data bytes. A marker byte of 01 to 7F means that the next byte should be repeated that many times. A marker byte of 80 to FF means that (100-marker) bytes of data follow.
Each byte encodes four pixels. A pixel is two bits wide, and can range from black to invisible:
Value Color
0 Black
1 Dark grey
2 Light grey
3 Invisible
The lowest two bits are for the leftmost pixel, the highest two bits are for the rightmost pixel:
Bits Pixel
0,1 Leftmost
2,3 Left middle
4,5 Right middle
6,7 Rightmost