<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - CMYK JPX image interpreted as RGB"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=60383">60383</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>CMYK JPX image interpreted as RGB
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>harry@midnight-labs.org
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=74307" name="attach_74307" title="Example PDF page which has this problem">attachment 74307</a> <a href="attachment.cgi?id=74307&action=edit" title="Example PDF page which has this problem">[details]</a></span>
Example PDF page which has this problem

In the example PDF the shadow behind the large 'Oxygen' title is a CMYK JPX
stream.

It seems like the JPX stream is decoded correctly, but internally Poppler
thinks the decoded image is RGB, or some similar situation. Because of this the
stride is screwed and the image is repeated several times with the remaining
space being garbled data.

This problem occurs with:

 * Evince + Poppler 0.20 + LCMS 2.2 (without openjpeg)
 * pdftoppm + Poppler 0.22 + LCMS 1.19 (without openjpeg)
 * Google Chrome 24.0 (stable)

The PDF renders correctly with:

 * Adobe Acrobat
 * Adobe Photoshop
 * GhostScript

More files will be attached that show the problem.

A workaround would be to build Poppler with OpenJPEG support?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>