PBC · v3.0

Probabilistic Brush Compression.

An unconventional lossy image compression algorithm.

It compresses image data as a series of very small "brush stroke" instructions that can be added together to iteratively "paint" the image.

  • Beats JPEG in extreme compression
  • Faster encoding than AVIF / JpegXL / Jpeg2000
  • Interpretable algorithm, Tunable quality
  • Powered by RL-trained tiny neural network optimizing stroke parameters
github.com/EgeEken/PBC ↗

hold click on a canvas to paint it back

This isn't the actual algorithm, but a quick, interactive, representative demo