Guetzli: A New Open-Source JPEG Encoder
research.googleblog.com
Guetzli: A New Open-Source JPEG Encoder
1–10 of 135 posts
Re: Guetzli: A New Open-Source JPEG Encoder
#2Re: Guetzli: A New Open-Source JPEG Encoder
#3TLDR:
> We didn't do a full human rater study between guetzli and mozjpeg, but a few samples indicated that mozjpeg is closer to libjpeg than guetzli in human viewing.
Re: Guetzli: A New Open-Source JPEG Encoder
#4Cool, but neither the article nor the paper ( https://arxiv.org/pdf/1703.04416.pdf ) mention just how much slower it is.
Re: Guetzli: A New Open-Source JPEG Encoder
#5Re: Guetzli: A New Open-Source JPEG Encoder
#6Specifically looking at the cat's eye example, in the bottom of the pupil area there's a bit of green (reflection?) in the lower pupil. In the original it is #293623 (green) - in the libjpeg it is #2E3230 (still green, slightly muted). But in the Guetzil encoded image it is #362C35 - still slightly green but quite close to grey.
In my experience people love to see colors "pop" in photos (and photography is where JPEG excels) - hopefully this is just an outlier and the majority of compressions with this tool don't lose color like this.
Re: Guetzli: A New Open-Source JPEG Encoder
#7Very cool. I'm not an expert, but does JPEG generally have a ton of flexibility in compression? Why so much difference in sizes?
1) YUV420 vs YUV444. Guetzli practically always goes for YUV444.
2) Choosing quantization matrices.
3) After normal quantization, choose even more zeros. JPEG encodes zeros very efficiently.
When doing the above, increase the errors where it matters least (certain RGB values hide errors in certain components, and certain types of visual noise hides other kind of noise).
Re: Guetzli: A New Open-Source JPEG Encoder
#8Very cool. I'm not an expert, but does JPEG generally have a ton of flexibility in compression? Why so much difference in sizes?
The more bits you lose during quantization, the more ringing and artifacts you can expect after the IDCT process.
So the tradeoff is quite literally artifacts for smaller size.
this compressor seems to be cleverer about where to lose data than libjpeg.
Re: Guetzli: A New Open-Source JPEG Encoder
#9I'll run some of my own experiments on this today, but I'm initially concerned about color muting. Specifically looking at the cat's eye example, in the bottom of the pupil area there's a bit of green (reflection?) in the lower pupil. In the original it is #293623 (green) - in the libjpeg it is #2E3230 (still green, slightly muted). But in the Guetzil encoded image it is #362C35 - still slightly green but quite close…
I suspect that if you give this algorithm twice the file size as a budget, that green color will come back.
Re: Guetzli: A New Open-Source JPEG Encoder
#10Someone out there must have tried this.
[1]:https://blogs.dropbox.com/tech/2016/07/lepton-image-compress...