Issue 346 in webp: Changed color saturation when converting from jpg to webp

552 views
Skip to first unread message

przemysl… via monorail

unread,
May 12, 2017, 8:27:46 AM5/12/17
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 346 by przemysl...@gmail.com: Changed color saturation when converting from jpg to webp
https://bugs.chromium.org/p/webp/issues/detail?id=346

What steps will reproduce the problem?
1. http://d.wpimg.pl/1972545173--1156527689/paulina-sykut.jpg
2. convert: cwebp paulina-sykut.jpg -o paulina-sykut.webp
3. compare webp file with original via Google Chrome browser (version 58 in my case)

What is the expected output? What do you see instead?
Color saturation changes, especially on skin regions.

What version of the product are you using? On what operating system?
cwebp 0.5.2 on Fedora 24


Please provide any additional information below.
I've found an issue https://bugs.chromium.org/p/webp/issues/detail?id=308 but changing the quality does not help at all.

--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

pascal.m… via monorail

unread,
May 12, 2017, 9:00:22 AM5/12/17
to webp-d...@webmproject.org
Updates:
Owner: pascal.m...@gmail.com
Status: Invalid

Comment #1 on issue 346 by pascal.m...@gmail.com: Changed color saturation when converting from jpg to webp
https://bugs.chromium.org/p/webp/issues/detail?id=346#c1

Hi,

by default, cwebp doesn't copy over the metadata from the original file.
You have to use '-metadata all' to that effect:

./examples/cwebp paulina-sykut.jpg -metadata all -o out.webp
Saving file 'out.webp'
File: paulina-sykut.jpg
Dimension: 800 x 1203
Output: 40410 bytes Y-U-V-All-PSNR 41.44 45.67 46.09 42.48 dB
block count: intra4: 2614
intra16: 1186 (-> 31.21%)
skipped block: 191 (5.03%)
bytes used: header: 156 (0.4%)
mode-partition: 9912 (24.5%)
Residuals bytes |segment 1|segment 2|segment 3|segment 4| total
macroblocks: | 1%| 12%| 22%| 63%| 3800
quantizer: | 36 | 35 | 30 | 22 |
filter level: | 11 | 7 | 39 | 35 |
Metadata:
* ICC profile: 560 bytes
* EXIF data: 5156 bytes
* XMP data: 6357 bytes

Attached, the output with the correct ICC profile (and the correct coloration).

pascal.m… via monorail

unread,
May 12, 2017, 9:02:38 AM5/12/17
to webp-d...@webmproject.org

Comment #2 on issue 346 by pascal.m...@gmail.com: Changed color saturation when converting from jpg to webp
https://bugs.chromium.org/p/webp/issues/detail?id=346#c2

(attachment)

Attachments:
out.webp 51.3 KB

przemysl… via monorail

unread,
May 12, 2017, 10:37:01 AM5/12/17
to webp-d...@webmproject.org

Comment #3 on issue 346 by przemysl...@gmail.com: Changed color saturation when converting from jpg to webp
https://bugs.chromium.org/p/webp/issues/detail?id=346#c3

that's it; thanks
Reply all
Reply to author
Forward
0 new messages