Graphics Pixel Files

A pixel graphics file encodes pictures by as follows: The picture is divided into a grid of (in the example above 7 * 5) picture elements (pixels). Each pixels now has just a color. Together that makes the picture.

For these seven colors used in the above picture, we need in principle only three bits, but without redefining the colors, these colors occur on the standard 8 bit palette. If the colors are A.. G, the bitmap file of the above picture would be BBCCDDEBAAAAAECDEFCDEFDDEEFFGG

Full page view