I've made a thread previously about poor results I had using WebP with a particular image, which I added a lengthy reply to some weeks ago - it was never posted. Maybe the board ate it, I don't know.
Anyway, I've decided to make a new thread because of some additional insight I gained.This is the image.Encoded to best possible quality lossy WebP.$ cwebp -q 100 -m 6 file.png -o file.webp$ dwebp file.webp -o file.webp.pngThe quality of the image is poor. It didn't occur to me until now that most flaws are typical signs of chroma subsampling! As listed below.Red is dull and blurry. Noticeable in DEVILISH, 3 in 3DS, the O in FOCUSED, and the red background with black pictographs. While not quite red, the orange icon in the upper right corner is also blurry and slightly brownish. Most notable of all flaws however is the very blurry intersection between red and green at the bottom.
So how does JPEG compare to that? Let's try. I'm using quality 100 to focus on chroma subsampling.$ convert file.png -quality 100 -sampling-factor 4:4:4 -interlace Line file_1x1.jpg # auto-set when omitted$ convert file.png -quality 100 -sampling-factor 4:4:0 -interlace Line file_1x2.jpg$ convert file.png -quality 100 -sampling-factor 4:2:2 -interlace Line file_2x1.jpg$ convert file.png -quality 100 -sampling-factor 4:2:0 -interlace Line file_2x2.jpg
Quality of 1x1 is excellent. Both 2x1 and 1x2 have faint blurriness - barely noticeable unless you know and want to notice. Unlike 2x1 however, 1x2 moderately blurs the intersection between red and green at the bottom. Less than 2x2 though, which is just as blurry as WebP.
How does this translate to file size? I've re-run with quality 90 for WebP and JPEG.88455 file_1x1.jpg73398 file_1x2.jpg73155 file_2x1.jpg64403 file_2x2.jpg49348 file.webpWebP wins by quite a margin. At same chroma subsampling, quality is better than JPEG. It has (mostly noticeable at 2x zoom) less mosquito noise and ringing(?). Still, until it supports less destructive chroma subsampling, I cannot use it.
But yes, agreed, its lack shows on some images once you spotted it.
I tried the patch. What I noticed was very little. The red 3 in 3DS is very slightly more vibrant. The O in FOCUSED as well, but is also slightly blurrier, because the red circles bleed into the white circles a bit more. It's quite minimal and I only really noticed by switching the images back and forth.
But yes, agreed, its lack shows on some images once you spotted it.It makes me almost sad (really) that WebP is hindered by this. It cannot play out its advantages over JPEG. If you want to make a lossy, but still excellent quality image, WebP cannot compete.Now one could argue if I need such excellent quality images, why not use lossless WebP. It's a good point, but please compare file size of the same image.217794 file.webp
That's more than double file size for very little quality difference. If lossy WebP had 1x1 it'd probably be around triple.
Well done! Color vibrance is much improved, and on the blurriness, in particular the dark edges when colors bleed into each other are reduced. Most noticeable on the otherwise typical ugly 2x2 red in the large 3 of 3DS. Overall blurriness is also reduced. I suspect though, the latter part requires some fine tuned parameters so may not be applicable.
I've noticed sth. unrelated but interesting in the new image. The white stripe on the right has a minor shadow on the left, and the left-most line of the shadow is somewhat cyan-ish (in the middle). WebP moves the line one pixel to the right and also strengthens it slightly. I hadn't noticed the line before in the PNG, but this made it noticeable. JPEG at 2x2 also moves the line one pixel, but doesn't strengthen it.
PS. The original image seems to have moved. It's at this web page, in case someone else wants to reproduce.
--
You received this message because you are subscribed to the Google Groups "WebP Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webp-discuss...@webmproject.org.
To post to this group, send email to webp-d...@webmproject.org.
Visit this group at http://groups.google.com/a/webmproject.org/group/webp-discuss/.
For more options, visit https://groups.google.com/a/webmproject.org/d/optout.
In that case, well done. It's a substantial improvement IMO.