3 ms·
> Any thoughts on why JPEG hasn't already been enhanced to near its maximum potential in reaction to competition I don't know. I guess it was because of comput
by pornel 16y ago
> Any thoughts on why JPEG hasn't already been enhanced to near its maximum potential in reaction to competition
I don't know. I guess it was because of computational power — 10 years ago you had to do more speed/quality trade-offs.
Nowdays libjpeg is very very old, but it also means it's proven to be stable and secure. This coupled with opinion that JPEG is good enough may lead to "don't fix what's not broken" conclusion.
Also, perhaps codec developers want to do something more glorious than making existing simple algorithm way more complicated and orders of magnitude slower for 10% improvement?
> those wanting to enhance JPEG for web use need to agree on some benchmarks/metrics to use
Codec developers have worked it out - PSNR is weak, SSIM is decent, and only large-scale human tests are definitive, but they're expensive.
- ZeroGravitas 16y agoIt's more complicated than simply psnr vs ssim though. You need a large corpus of representative images (including typical PNG logos or other non-photographic sources would apparently favor WebP over JPEG). You need to decide target bitrates or quality levels to focus on since JPEG (at least with current code) falls apart at the low end and loses out on the high end. You need a specific implementation of ssim (or whatever, perhaps multiple measures) that anyone can run, and agree on the results of. A way to auto-generate pretty pictures summarizing results would be good too, and so on. Basically, it's a project in itself. But perhaps like tuning JPEG, it's too boring for people to get motivated to do it and we'll end up with underutilised next generation tech, replacing older, but equally underutilised tech that could have been tuned to the same level without ditching the associated infrastructure (which seems wasteful), or we'll repeat JPEG-2000 and JPEG-XR and only get limited uptake of the new stuff and just struggle on with the old'n'busted tech as it stands now. On the other hand it seems like this wheel gets re-invented badly every time someone writes a paper comparing codecs or tries to tune their own image codec. You'd think someone would make a start on a proper repeatable process or toolkit for building such a thing.