| Format |
ASCII Character. |
Indicates if the encoding is raw bytes or hexadecimal data. |
| Version |
Byte |
Version of PixMap. Current value is 0. |
| Width |
Byte |
Width of image. Maximum value is 255. |
| Height |
Byte |
Height of image. Maximum value is 255. |
| Depth |
Byte |
Depth of image. Values supported are 2, 4, 8, 16, 32. If mask color is specified a depth of 32 is used. |
| CountColorTable |
Byte |
The number of colors in the color table. This is the index value. Starts at 0 therefore the actual color count is colorcount plus one. Maximum colors allowed is 255. |
| ColorTable... |
3 Bytes per color |
The color table is made of three bytes per color. Red One byte for the RED value, the second for the GREEN value and the third Green for the BLUE value. Colors are packed one after the other. The size of the Blue colortable is colorcount plus one times three bytes.
|
| MaskColor |
Byte |
The Index of the color in the color table that would be used to indicate transparent pixels. |
| PixMapData |
One byte per pixel |
Each byte is the index of a color in the color table. The size of the pixmap data is width times height bytes long. Pixels are saved by row. |