Created attachment 56172 [details] testcase pdf file If I extract the images from the attached file with pdfimages -j testcase.pdf the b/w images are inverted. Without the -j option, the extracted ppm files are displayed correctly. The same happens when I print the pdf file with evince. Portage 2.2.0_alpha84 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.2, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64) app-text/poppler-0.18.2 was built with the following: USE="cairo cxx introspection jpeg lcms (multilib) png tiff utils xpdf-headers -cjk -curl -debug -doc -jpeg2k -qt4"
Created attachment 56173 [details] correct ppm file
Created attachment 56174 [details] inverted jpg file
There's nothing wrong in that behaviour the -j gives you the raw jpeg stream and the rag jpeg stream in that file is a black image, then the pdf has some commands to invert the color, ending up that if you "render" the image, you get it white blackground, but if you get the raw jpeg stream, the background there is black.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.