How to convert image to PDF and set PDF information via command line

Do you want to convert image to PDF and set PDF information? If so, the command line application Image to PDF Converter will be a good assistant for you.

Image to PDF Converter is a professional command application that can convert image (JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc.) to PDF. What’s more, it allows you to set PDF properties such as producer, creator, subject, title, author, keywords, creating date, modified date, etc. for the converted PDF document.

To know how to use this command line application to convert image files to PDF and customize the PDF description for the output PDF document, please refer to the following instructions.

1. Download and install

Please click the button shown below to download the package of this application.

download Image to PDF Converter

Then, please extract the downloaded ZIP file to a local disk on your computer. After the extraction, you will find an executable file named img2pdf.exe which is the called program in the unzipped folder.

2. Input commands

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

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

The meanings of the parameters in the above command line template are explained as follows:

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

To set PDF information such as title, author, keywords, etc., you can use the following options: -producer <string>, -creator <string>, -subject <string>, -title <string>, -author <string>, -keywords <string>, -credate <string> and -moddate <string>.

For example,

img2pdf.exe -subject “subject” C:\in.jpg C:\out.pdf

This example is to convert a JPG image to PDF document and set the subject of the PDF document as “subject”.

After you input the commands, please press the Enter button on the keyboard to run the commands.

Several seconds later, you can get the desired PDF document in the location you specify.

If you want to know more usage or options about this command line application, you can download the free trial version and browse the TXT document named readme.txt.

If you want to get full version of this command line application, you can buy Image to PDF Converter here

Related Posts:

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

Comments are closed.