Prediction-Encoded Pixels Image Format
Posted4 months agoActive4 months ago
github.comTechstory
calmmixed
Debate
40/100
Image CompressionData EncodingAlgorithm Design
Key topics
Image Compression
Data Encoding
Algorithm Design
The Prediction-Encoded Pixels (PEP) image format is a new compression algorithm that uses prediction and arithmetic encoding, sparking discussion on its performance and potential applications.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
2h
Peak period
5
0-6h
Avg / period
1.6
Comment distribution11 data points
Loading chart...
Based on 11 loaded comments
Key moments
- 01Story posted
Aug 25, 2025 at 7:05 AM EDT
4 months ago
Step 01 - 02First comment
Aug 25, 2025 at 9:15 AM EDT
2h after posting
Step 02 - 03Peak activity
5 comments in 0-6h
Hottest window of the conversation
Step 03 - 04Latest activity
Aug 28, 2025 at 7:47 AM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45012548Type: storyLast synced: 11/20/2025, 5:51:32 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
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...
https://nigeltao.github.io/blog/2021/fastest-safest-png-deco...
PNG decoding seems to be fast enough:
Anyway, PEP is interesting!It then encodes with arithmetic encoding. Along with the palette, I think that does most of the heavy lifting in the compression, an adaptive model looking at just two pixels of context shouldn't make especially good predictions. PNG (sort of) looks at 4, the three above and the one to the left.
</philosoraptor>