Convert PDF to PNM

Turn PDF documents into PNM files. Each page becomes one uncompressed Netpbm picture, at 150 dpi unless dpi or width says otherwise.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PDF files on the dialor turn it to pick what to do

Every PDF page as a Netpbm picture.Each page becomes one uncompressed PNM file at 150 dpi unless you set otherwise.

  1. What you get

    One PNM picture for each page of the PDF. A PDF with several pages gives several files, one per page.

    The pictures are uncompressed Netpbm images, the simplest raster format. Each page is drawn at 150 dpi unless Resolution (dpi) or Width (px) says otherwise.

  2. Size and pages

    Set Resolution (dpi) between 36 and 600. A higher value is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    Set Width (px) to give the exact width of the result, from 1 to 20000 pixels. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched.

    Set Pages to convert only some pages, with single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  3. When it stops

    A PDF that asks for a password stops with input_encrypted. Enter it in Password, which is used for this one job and deleted when it ends. If you need to remove the lock instead, see unlock PDF.

    A file that cannot be parsed stops with input_corrupted.

PDF and PNM.What each format is, and the options this conversion takes.

  1. 01 · dpi

    Resolution (dpi)

    How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    36 to 600 default 150
  2. 02 · pages

    Pages

    Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  3. 03 · password

    Password

    Opens a file that asks for a password. The password is used for this one job and deleted when it ends. Without it, a locked file fails with input_encrypted.

  4. 04 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 20000

The formats

From · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents
To · PNM

Portable Anymap

Portable anymap images, the simplest raster format: PBM, PGM and PPM.

Extensions
.pnm .ppm .pgm .pbm
MIME type
image/x-portable-anymap
Kind
Images

In your code.The same PDF to PNM conversion through the API, for your app or your agent.

terminal
$ cv convert report.pdf report/ --to pnm
$ cv convert report.pdf report/ --to pnm

Questions.What people ask about PDF to PNM.

01OF 04

One PNM file per page. If you set Pages, you get one for each page you picked.

150 dpi by default. Set Resolution (dpi) from 36 to 600, or set Width (px) to fix the width in pixels.

The file needs a password. Enter it in Password and convert it again.

Yes, PNM to PDF goes the other way.

More conversions.Other ways in and out of PDF and PNM.