Convert PNM to PDF
Turn PNM images into PDF. One page at 96 pixels per inch, or fitted on A4 or Letter with page_size, kept without loss.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PNM files on the dialor turn it to pick what to do
A PNM image as a PDF page.One page per file, kept without loss. Black-and-white images stay small.
What you get
A single PDF made from your PNM image. By default the page is 96 pixels per inch, and the image is kept without loss.
Black-and-white pictures use fax compression, so scans stay small.
Page size
Set Page size to fit the image on a standard page. A4 is 210 × 297 mm and Letter is 8.5 × 11 in. A4 is the standard in most of the world and Letter in North America.
Choose auto and each page takes the size of its own content.
When it stops
A file that cannot be parsed stops the conversion with
input_corrupted. No PDF is written in that case.
PNM and PDF.What each format is, and the options this conversion takes.
- 01 · page_size
Page size
The size of the pages written. A4 is the standard in most of the world and Letter in North America.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
The formats
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
Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.
- Extensions
- MIME type
- application
/pdf - Kind
- Documents
In your code.The same PNM to PDF conversion through the API, for your app or your agent.
$ cv convert photo.pnm photo.pdf$ cv convert photo.pnm photo.pdfQuestions.What people ask about PNM to PDF.
PNM covers PBM, PGM and PPM images, with the extensions pnm, ppm, pgm and pbm. The result is one PDF file.
No. The image is kept without loss. Black-and-white pictures use fax compression.
A4 is the standard in most of the world and Letter in North America. Pick the one your printer and paper use.
Yes. PDF to PNM goes the other way.