3 ms·
How well will it compress if every pixel in the image is used only once and is different?
by hrayr 13y ago
How well will it compress if every pixel in the image is used only once and is different?
- brigade 13y agoPretty well if it's a regular layout, depending on algorithm, since almost every successive pixel is different from the last by exactly one level in one channel.
- mutagen 13y agoSounds like another fun bit of code golf if some of the more aggressive compression algorithms aren't already picking up on the bit level changes (I believe they do).
- dfbrown 13y agowith PNG it's 59kb: https://upload.wikimedia.org/wikipedia/commons/c/c4/All_24-bit_RGB_colors.png https://upload.wikimedia.org/wikipedia/commons/c/c4/All_24-b...
- shultays 13y agoYou can use the program that generated the image as a "decompresser". Only 100kb but takes 4 days!