<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - pdftocairo -pdf inverts image color in this PDF"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105294#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - pdftocairo -pdf inverts image color in this PDF"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105294">bug 105294</a>
              from <span class="vcard"><a class="email" href="mailto:ealloc@gmail.com" title="Allan Haldane <ealloc@gmail.com>"> <span class="fn">Allan Haldane</span></a>
</span></b>
        <pre>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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>