Questions tagged [pdftoppm]

pdftoppm stands for Portable Document Format (PDF) to Portable Pixmap (PPM) converter. It is a tool in linux that converts Portable Document Format (PDF) files to color image files in Portable Pixmap (PPM) format.

pdftoppm stands for Portable Document Format () to Portable Pixmap () converter. It is a tool in that converts Portable Document Format (PDF) files to color image files in Portable Pixmap (PPM) format, grayscale image files in Portable Graymap (PGM) format, or monochrome image files in Portable Bitmap (PBM) format.

Usage

pdftoppm [options] PDF-file PPM-root

Pdftoppm reads the PDF file PDF-file, and writes one PPM file for each page PPM-root-nnnnnn.ppm, where nnnnnn is the page number.

You should use this tag if your question is related to the usage of pdftoppm tool.

18 questions
0
votes
1 answer

How can I convert a PDF to image with no font losses?

I have read tons of stackoverflow questions about problems with fonts when converting (with ghostscript) from PDF to image. Because you don't have the fonts embedded, the ghostscript tries to find alternatives in your system and render the better…
FlamingMoe
  • 2,709
  • 5
  • 39
  • 64
0
votes
1 answer

Bad file names in bash loop

Intent I am trying to loop through a directory and convert all the 9000 or so pdf files to png for i in *.pdf; do pdftoppm -f 1 -l 2 -png $i ${i%.pdf*} done The Problem the loop only works for about 500 cases. When I manually call pdftoppm on…
Andrew
  • 950
  • 7
  • 24
0
votes
0 answers

Error while converting .pdf file to .ppm in R

I'm trying to apply OCR on a pdf to extract the text for which I'm following this post , for which I need to first convert pdf file to ppm format since we cannot apply OCR directly on a pdf file. But the first step itself is not happening So how do…
Andre_k
  • 1,680
  • 3
  • 18
  • 41
1
2