Build Labs · Data encoding
Compression Workbench
Turn repeated pixels into runs. Compare byte counts and decode the runs to recover the original grid.
Pixel input
Select a pixel to toggle it. Use the arrow keys to move around the grid.
Encode and decode
Read left to right, top to bottom. Raw stores one byte per pixel. Run-length encoding stores two bytes per run: its length and pixel value. Both counts omit file headers.