<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Acrobat's Object Inspector reports this about the image:</div><div><br></div><div><p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; ">Filled Path: Image</p>
<p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">         </span>ColorSpace: Indexed ICCBasedCMYK, U.S. Web Coated (SWOP) v2</p>
<p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">         </span>Image Attributes</p>
<p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">                 </span>size: 49 x 127 pixels (0.327 x 0.844 in)</p>
<p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">                 </span>bits/pixel: 8</p>
<p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">                 </span>resolution: horizontal 149.981 pixels/in vertical 150.415 pixels/in</p>
<p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">                 </span>filters: JPEG2000</p>
<p style="margin: 0px; font-size: 10px; font-family: 'Lucida Grande'; "><span class="Apple-tab-span" style="white-space:pre">         </span>Overprint=False OPM=1 ri=Relative Colorimetric</p></div><div><br></div><div><br></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Harry Roberts <<a href="mailto:harry@midnight-labs.org">harry@midnight-labs.org</a>><br><span style="font-weight:bold">Date: </span> Wednesday, February 6, 2013 12:30 PM<br><span style="font-weight:bold">To: </span> "<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a>" <<a href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a>><br><span style="font-weight:bold">Subject: </span> [poppler] CMYK JPX image interpreted as RGB (with testcase +   example images)<br></div><div><br></div><div>Hi Poppler folks,</div><div><br></div><div> I encountered a weird bug with some images in a PDF. It seems like CMYK data is being interpreted as RGB data, or something similar to that - the pixel stride is off causing the image to be repeated multiple times.</div><div><br></div><div> PDF Page file can be downloaded from: <a href="http://derp.ltd.uk/843-21307-16.pdf">http://derp.ltd.uk/843-21307-16.pdf</a></div><div><br></div><div>Example of problem image, extracted with pdfimages: <a href="http://i.imgur.com/YSTCKkb.jpg" target="_blank">http://i.imgur.com/YSTCKkb.jpg</a></div><div>The image shows with `pdfimages` as:</div><div><div><font face="courier new,monospace">page   num  type   width height color comp bpc  enc interp  object ID</font></div><div><font face="courier new,monospace">---------------------------------------------------------------------</font></div><div><font face="courier new,monospace">   1     7 image     759   185  cmyk    4   8  jpx    no        68  0</font></div></div><div><br></div><div>I have tested 2 versions of Poppler with 2 versions of LCMS and exhibit the problem. Google Chrome also has similar problems.</div><div><ul><li>Evince from Ubuntu 12.10 (Poppler 0.20.4-0ubuntu1.1 with LCMS2 2.2+git20110628-2ubuntu4) without openjpeg</li><li>pdftoppm - Poppler 0.22.0 + LCMS 1.19 (custom build) - without openjpeg</li></ul></div><div><br></div><div>Example page images:</div><ul><li>Ghostscript: <a href="http://i.imgur.com/dfLLptb.jpg" target="_blank">http://i.imgur.com/dfLLptb.jpg</a></li><li>Photoshop: <a href="http://i.imgur.com/BylwJWW.jpg" target="_blank">http://i.imgur.com/BylwJWW.jpg</a></li><li>Poppler: <a href="http://i.imgur.com/8cderTo.jpg" target="_blank">http://i.imgur.com/8cderTo.jpg</a> (shows buggy image)</li></ul><div>The PDF was processed using SmartCreate by QuadGraphics, combined by Adobe Acrobat 8.0... unsure of the original software used to create the individual files.</div><div><br></div><div><br></div><div>On a related note I'm unable to build the current Poppler from git, otherwise I would've tested with it too. Getting link errors like:</div><div>  Linearization.cc:(.text+0x4dc): undefined reference to `error(ErrorCategory, long, char const*, ...)</div></span></body></html>