Bitmap Encoding Workshop

Encode a whole picture of your own: choose its size and colour depth, then compare the uncompressed file with its run-length and Huffman encodings, header and bits included.

Which encoding stores this bitmap in the fewest bytes?

Pick a paint colour and drag across the pixels, and change the size or colour depth if you like. Press Uncompressed, RLE or Huffman to compare how many bytes the same bitmap needs.

Paint the bitmap

Encoding

Original · uncompressed

Header

Bitstream