Created attachment 33844 [details] Black page PDF When passing a resolution to pdftoppm, the resulting image can get a thin (<1px) white border on the bottom and right edges. For example, the attached test.pdf is all black, but pdftoppm -r 203 test.pdf > test.ppm generates an image with a thin white line at the bottom. (The Impressive viewer uses pdftoppm in this way, and such artifacts are readily visible against the black background there.)
Created attachment 33845 [details] Simple Beamer source for test.pdf
I have the exact same problem in a different scenario: Generate a small pdf with "Hello world" in red on a black page: pdflatex -jobname test "\documentclass[varwidth,border=4pt]{standalone}\usepackage{xcolor}\pagecolor{black}\color{red}\begin{document}Hello World\end{document}" Convert to an image using pdftocairo: pdftocairo -r 300 -png -singlefile test.pdf test The resulting test.png has bottom and right white-like borders. The intensity of the white can fluctuate depending on the resolution option (-r). This issue is not reproducible when converting using ghostscript.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/198.
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.