[cairo-bugs] [Bug 105294] pdftocairo -pdf inverts image color in this PDF

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 14 20:20:43 UTC 2018


--- Comment #8 from Allan Haldane <ealloc at gmail.com> ---
The "Adobe" tag seems to have no effect. 

I tried replacing "Adobe" by "     ", but leaving "Decode...". The image is
inverted either way. Conversely, removing the "Decode" gives me the correct
image whether or not "Adobe" is present.

I'd have to debug some more to figure out why the "Adobe" tag is apparently
ignored. A grep through the cairo source code shows the variable
"is_adobe_jpeg" is only used in a single place, when deciding whether to add
the "Decode" line, and is not used anywhere else.

At this point is seems like the addition of "Decode" was just not right. I'm
curious now what broken PDFs the addition of "Decode" was supposed to fix,
given that cairo seems to ignore the adobe header.

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

More information about the cairo-bugs mailing list