<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span></span></div><div><div>Hi Albert,</div><div><br></div><div>I couldn't upload the pdf because it is a customer's, but I did some digging and found that the difference in colors was due to the images being generated from different versions of poppler.</div><div><br></div><div><span>16.4 and 18.1. Updating both machines to the latest version solved my problem. I guess there was a change to how colorspaces are handled between these versions. I hope this post is useful to anyone with the same issue.</span></div><div><br></div><div>Thanks,</div><div>-Bill</div></div> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <font size="2" face="Arial"> <hr size="1"> <b><span
style="font-weight:bold;">From:</span></b> Albert Astals Cid <aacid@kde.org><br> <b><span style="font-weight: bold;">To:</span></b> poppler@lists.freedesktop.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, December 9, 2011 10:35 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [poppler] Pdftohtml background colors don't match pdftoppm<br> </font> <br>
El Dijous, 8 de desembre de 2011, a les 16:14:11, Bill Williamson va escriure:<br>> Hi,<br>> <br>> I've noticed that the background images generated by pdftohtml don't match<br>> the output from pdftoppm.<br>> <br>> For example, in pdftoppm, a red red object in the background might have a<br>> RGB color of <255 38 0>, while the same background pixel from the output of<br>> pdftohtml will have a RGB value of <255 0 0>. Could someone point me to the<br>> correct place in the source where this might be happening? I've taken a<br>> look at the derived SpashOutputDevice in pdftohtml, but I don't see<br>> anything obvious there.<br>> <br>> Any ideas? Perhaps some kind of colorspace transformation is being applied<br>> in a place I'm not looking?<br><br>Which poppler version are you using? Which command line options are you using? <br>Which file are you running pdftohtml on?<br><br>Albert<br><br>>
<br>> -Bill<br>_______________________________________________<br>poppler mailing list<br><a ymailto="mailto:poppler@lists.freedesktop.org" href="mailto:poppler@lists.freedesktop.org">poppler@lists.freedesktop.org</a><br>http://lists.freedesktop.org/mailman/listinfo/poppler<br><br><br> </div> </div> </div></body></html>