Prediction-Encoded Pixels image format
4 comments
·August 25, 2025msephton
I've put together a quick CLI for macOS and a very naïve benchmarking suite to see what the gains are like. Compared to optimised PNG, it's worse most of the time but the interesting thing is when it is better. I'm not sure there's a hard and fast rule, at least not that I've found so far.
mrbluecoat
Link?
msephton
pepr on GitHub https://github.com/gingerbeardman/pepr (macOS-only)
Also I posted some results earlier today: https://twitter.com/gingerbeardman/status/195993422257285161...
And I already added support to my pixel art app, Dottie, just for kicks https://twitter.com/gingerbeardman/status/195998796230676915...
I really needs more benchmarks, especially decompression time. Also the sizes are interesting for very small images, but for real images, there are maybe better lossy variants:
So it's not about filesize here, it must be decompression speed.