With application of Image to PDF Converter, it is easy to convert PNM to PDF with GUI interface of Image to PDF Converter and command line in Windows platforms.
First of all, you need to download installer of Image to PDF Converter from this link: https://www.verypdf.com/tif2pdf/img2pdf.exe, then double click this installer and follow setup wizard to install Image to PDF Converter on your computer. Then, you need to download zip of Image to PDF Converter for command line version from this link: https://www.verypdf.com/tif2pdf/image2pdf_cmd.zip, then please extract its content to your computer so that program “img2pdf.exe” can be called directly in order to use command line version later.
Next, please follow steps below to convert PNM to PDF with GUI interface and command line separately:
GUI version:
After GUI interface is opened on your screen, you need to add PNM file for this process by this way: click “Add Files” > select PNM in dialog box of “Image2PDF” > click “Open” there, then its path appears in processing form, which you can click so that its preview page can be shown on GUI interface. Then, you need to click “Make PDF” on GUI interface > select “Convert image files with default options” on dropdown list > select one destination folder in dialog box of “Save As” > click “Save”, then PDF file can be generated from PNM file automatically.
CMD:
Please open command prompt window on your computer, for it is running environment of CMD version of Image to PDF Converter:
Click hotkey of “Windows + R” > input “cmd.exe” and click “OK” in dialog box of “Run”
After command prompt window is opened, please type command line referring to following example:
d:\image2pdf_cmd3.2\img2pdf.exe –o f:\out\example8.pdf f:\in\example8.pnm
d:\image2pdf_cmd3.2\img2pdf.exe is the path of “img2pdf.exe”, which is typed for calling this program itself; –o is the parameter to help you generate PDF file, which is essential in front of targeting path; f:\out\example8.pdf is targeting path, which is used to save this PDF file later; f:\in\example8.pnm is the source path, which is typed for adding this PNM for this process.
At last, please click “enter” in command prompt window, then PDF file can be produced quickly. And if you want to set properties of PDF, you can type parameters ( <options> represents parameter below) following path of “img2pdf.exe”:
d:\img2pdf_cmd3.2\img2pdf.exe <options> –o f:\out\example8.pdf f:\in\example8.pnm
By now, if you want to know more of Image to PDF Converter, please go to homepage of Image to PDF Converter. And for concerns on process to convert PNM to PDF, it is easy and convenient for you to leave your comment here to let us know, then our technique support can give you perfect answers.