[cairo-bugs] [Bug 68965] pdftocairo -svg generates svg with inverted nested jpeg image

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 6 15:27:50 PDT 2013


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

--- Comment #9 from Adrian Johnson <ajohnson at redneon.com> ---
The jpeg is in CMYK format. If the viewer doesn't understand CMYK (and most
don't) it will interpret the CMY values as RGB. An approximate conversion
between RGB and CMY is:

C = 1 - R
Y = 1 - G
M = 1 - B

So interpreting the CMY as RGB will appear to "invert" the colors.

-- 
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/20130906/3efcd48e/attachment.html>


More information about the cairo-bugs mailing list