Menu

#423 WEBP color saturation degradation

v1.0_(example)
closed-fixed
None
5
2017-11-12
2017-05-12
No

Hi
I'm using GraphicsMagick 1.3.25 and libwebp 0.5.2 and I've noticed a color change (saturation degradation) when converting images from JPG to WEBP, eg.:

gm convert http://d.wpimg.pl/1972545173--1156527689/paulina-sykut.jpg ir.webp

Please compare skin color in source jpg and target webp (http://pasteboard.co/50Q0V8llI.png).

I filed an issue on webp project: https://bugs.chromium.org/p/webp/issues/detail?id=346
and, as it turnes out, preserving metadata from original resolves this problem.

As gm identify -verbose shows webp files don't have ICC profile preserved and that's why above image has decreased color saturation. Could you implement copy'ing metadata as cwebp <input> -metadata {all,icc,exif,..} -o <output>?

--
Best Regards
Przemysław Sobala

Discussion

  • Bob Friesenhahn

    Bob Friesenhahn - 2017-11-12
    • status: open --> closed-fixed
    • assigned_to: Bob Friesenhahn
     
  • Bob Friesenhahn

    Bob Friesenhahn - 2017-11-12

    Mercurial changeset 15258:567f87e1410d adds EXIF and ICC metadata support starting with libwebp 0.5.0.

     

Log in to post a comment.

MongoDB Logo MongoDB