News for hackers. Stuff that matters.
Re:Jpeg2png: Silky smooth JPEG decoding – no more artifacts ... by a_e_k on Friday July 10, 2020 @06:30PM (#23797333)
Yes, this is definitely an interesting question. Earlier this year I implemented a version of trellis quantization for some compression experiments that I've been tinkering with in my spare time. My code considers more possibilities than just rounding to the nearest quantization step when it deems that the bit rate savings in after entropy encoding may be worth the additional image loss (e.g., it might even completely zero a coefficient). That would violate this decoder's assumption that the original DCT coefficient must have been within a limited range around the quantization step.

I know that mozjpeg [1] features trellis quantization for JPEG encoding. I wonder how this decoder would do with that?

[1] https://github.com/mozilla/mozjpeg

Re:Jpeg2png: Silky smooth JPEG decoding – no more artifacts ... by ache7 on Saturday July 11, 2020 @12:25AM (#23799488)
It goes fine with mozjpeg. I tested a little, didn't find any problems.