News for hackers. Stuff that matters.
Re:All 16,777,216 RGB colours (2005) by boomlinde on Saturday September 25, 2021 @03:29PM (#28655598)
If you consider the image in terms of the differences between adjacent pixels you can get the same value almost across the entire image.

PNG works like this. You can run each horizontal row through any one of a variety of delta encoders that are suitable for different situations. The goal is to minimize the range of values and maximize the repetition before you pass the encoded deltas through a dictionary based compressor. Pictures like this are near optimal for this approach.

There are no comments on this comment yet.