BMP was one of the last formats that would be possible to "decode manually" (that is, read the actual data and paint the image from it). PCX was one of the other (using RLE)<p>Sure, easier to use a library, but sometimes you have some constraints