How convert image to PDF and remove blank pages from PDF

The command line application Image to PDF Converter allows you to convert image to PDF and remove blank pages from PDF.

Portable Document Format (PDF) is currently the most widely used electronic document format for sharing and exchanging information with friends, colleagues, business partners, etc. PDF is widely compatible with different platforms.

Image to PDF Converter is a powerful command line application that can convert various image formats including JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc. to PDF. What’s more, it also allows you to delete blank pages from the created PDF.

Just by following the instructions below, you can successfully convert image to PDF and without blank pages.

1. Download and unzip

Please download the package of Image to PDF Converter.

Then, please unzip the package to a folder in computer disk. In the unzipped folder, you can find an executable file named img2pdf.exe which is the called program.

2. Input commands

Please open MS-DOS command prompt window in which you are able to input commands first. Then, please input your commands referring to the following command line template.

img2pdf [options] <Image-file> [<PDF-file>]

In the above command line template:

  • img2pdf: call the program.
  • [options] : set parameters to control the conversion.
  • <Image-file>: specify the source image.
  • [<PDF-file>]: specify the target PDF file

In order to remove empty pages from PDF, you can use the option: -noempty which is used to delete empty pages from PDF file.

For example,

img2pdf.exe -noempty C:\in.jpg C:\out.pdf

This example is to convert a JPG image to PDF and delete empty pages from the PDF file.

After inputting the commands, please press the Enter button on your keyboard to run the commands.

A few minutes later, you can get the desired PDF in the specified location.

If you want to know more options about this command line application, you can read the readme.txt document in the unzipped package.

This is the end of this article and you can get full version of Image to PDF Converter here.

Related Posts:

This entry was posted in Image to PDF Converter and tagged . Bookmark the permalink.

Comments are closed.