[poppler] Pdftohtml background colors don't match pdftoppm

Bill Williamson billhatesspam at yahoo.com
Thu Dec 8 16:14:11 PST 2011


Hi,

I've noticed that the background images generated by pdftohtml don't match the output from pdftoppm.

For example, in pdftoppm, a red red object in the background might have a RGB color of <255 38 0>, while the same background pixel from the output of pdftohtml will have a RGB value of <255 0 0>. Could someone point me to the correct place in the source where this might be happening? I've taken a look at the derived SpashOutputDevice in pdftohtml, but I don't see anything obvious there.

Any ideas? Perhaps some kind of colorspace transformation is being applied in a place I'm not looking?

-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler/attachments/20111208/96dd85e9/attachment.html>


More information about the poppler mailing list