5 ms·
While on the subject of JPEG in JavaScript, I made a web page[1] to repeatedly encode an image in order to bring out the artifacts. (Works “best” on text.) [1]
by paulnechifor 13y ago
While on the subject of JPEG in JavaScript, I made a web page[1] to repeatedly encode an image in order to bring out the artifacts. (Works “best” on text.)
[1] http://minimul.ro/enricher http://minimul.ro/enricher
- ygra 13y agoThis cheats a little by shaking the image, though. Without that you're hitting a fixed point much earlier, with less dramatic results.
- paulnechifor 13y agoI don't call it cheating... I call it simulation of the effects of cropping. But seriously though, I was quite was surprised by how little is lost if you repeatedly encode the same image. Then again, it makes a lot of sense if you look at how blocks are encoded.
- ygra 13y agoThere was a nice article about that: http://www.hackerfactor.com/blog/index.php?/archives/355-How-I-Met-Your-Mother-Through-Photoshop.html http://www.hackerfactor.com/blog/index.php?/archives/355-How... Turns out, not every JPEG encoder is identical in that regard and Photoshop destroys more than others.