An old image format I used to use: 4 bytes
01 00 00 0C
The format consists of an array of 16 bit integers (little endian):
Bit mapping:
0-10: number of pixels to shade
10-11: control bits
12-15: VGA16 pidel color
Control bits values:
0: normal
1: end of line
3: end of file