[cairo-bugs] [Bug 93031] New: decoder fails on image with YCCK colourspace causing inverted colours when printing from eog

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 19 22:09:05 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=93031

            Bug ID: 93031
           Summary: decoder fails on image with YCCK colourspace causing
                    inverted colours when printing from eog
           Product: cairo
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: chris at chris-wilson.co.uk
          Reporter: adyer at yuikee.com.hk
        QA Contact: cairo-bugs at cairographics.org

Created attachment 119966
  --> https://bugs.freedesktop.org/attachment.cgi?id=119966&action=edit
problem image, prints with inverted colours from eog viewer

See https://bugzilla.gnome.org/show_bug.cgi?id=758155
Attached image is displayed normally by the Eye of Gnome (eog) viewer, but is
printed with a dark background and has a dark background in Print Preview.

The same image prints correctly from GIMP.

Reported as eog bug, Felix Riemann responded that the problem was in libcairo:
"libcairo did in fact detect that your file is a CMYK file.
So far so good.

The catch is that your image is not in the "pure" CMYK colorspace but in the
inverted variant that Photoshop writes, called YCCK. This causes the inverted
colors, if the decoder doesn't respect that. This is realized by adding a
special color transform to the image object in the PDF and that is the part
that is missing here.
If I manually insert the necessary command into the PDF it renders correctly.


It would be great if you could report this to the libcairo developers as that
needs to be fixed in libcairo's pdf backend."

OS Ubuntu 14.04.3 LTS
eog Version: 3.10.2-0ubuntu5
libcairo2 Version: 1.13.0~20140204-0ubuntu1.1

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20151120/69b90e06/attachment.html>


More information about the cairo-bugs mailing list