pdftoppm takes about 2 hours at ~100% CPU to rasterize single-page PDF
Submitted by Yasin A.
Assigned to poppler-bugs
On Ubuntu using Poppler 0.32.0
Rasterizing a single-page PDF at a 150 DPI resolution using pdftoppm takes about 7600 seconds at ~100%. The same PDF takes about 10 seconds to rasterize using Ghostscript.
I've run the following command for pdftoppm:
pdftoppm -cropbox -thinlinemode solid -r 150 -gray /path/to/slow.pdf /path/to/slow.ppm
And this one for gs:
gs -sDEVICE=tiffgray -sOutputFile=/path/to/slow.tiff -r150 -dBATCH -dNOPAUSE /path/to/slow.pdf
Since the PDF is sensitive, I'll need to send it via email to whomever is interested.
Any help would be appreciated. Thank you!