Re:Why Tiny JPEGs Look Different in Chrome
by muizelaar on Wednesday August 12, 2026 @11:00AM
(#49273463)
The work for decompressing at a lower scale in Firefox is happening here: https://bugzilla.mozilla.org/show_bug.cgi?id=2033250
[ Parent
| on HN ]
Re:Why Tiny JPEGs Look Different in Chrome
by gutechh on Wednesday August 12, 2026 @11:22AM
(#49273852)
Thanks, I knew it was much more efficient, but seeing the numbers in the benchmarks make me appreciate this "trick" even more!
Re:Why Tiny JPEGs Look Different in Chrome
by adzm on Wednesday August 12, 2026 @02:54PM
(#49276975)
Wow, this explains an issue I ran into for images from a certain vendor when we used idct scaling for the same reason:
Some encoders (and a meaningful share of JPEGs in the wild) leave zeros or garbage in the unused rows/columns of the trailing MCU. At full-size decode those samples are cropped away, but IDCT scaling mixes them into neighboring output pixels and the artifacts become visible. See https://crbug.com/890745 and https://github.com/libjpeg-turbo/libjpeg-turbo/issues/297
In our particular case we were able to just crop out the edges and it was worth the tradeoff