4 ms·
Can you explain a bit more how this works? I am not familiar at all with these challenges 50kB to 4kB is a 10x compression, it doesn't seem that huge, what's t
by cdancette 8y ago
Can you explain a bit more how this works? I am not familiar at all with these challenges
50kB to 4kB is a 10x compression, it doesn't seem that huge, what's the achievement here?
- saagarjha 8y agoAchieving 10x compression in a 4kB program+data file hybrid is pretty hard to do.
- w23j 8y agoFrom the author's comments: "The uncompressed image is 12 times larger than the source code of the program which includes the image data and the complete decoder. The actual image data is 1220 byte long, which gives a compression ratio of 40. Using a JPEG-like algorithm would not be enough to reach this level of compression (the Lena image would be barely recognizable). So the algorithm is based on the latest advances in image compression." http://www.ioccc.org/2018/bellard/hint.html http://www.ioccc.org/2018/bellard/hint.html
- rntrg 8y agoFrom the author’s notes: > The actual image data is 1220 byte long, which gives a compression ratio of 40.
- boomlinde 8y agoThose 4k include the decoder source code and the C string representation of the image data