How to convert JPG/PNG/TIFF/GIF image to PDF and rotate PDF page

With the help of Image to PDF Converter, you can convert JPG/PNG/TIFF/GIF image to PDF and rotate PDF page.

In our daily life and work, you may have the need to combine multiple photos or pictures together for printing, sending via e-mail, etc. One way to deal with this issue is to convert these images to a PDF (Portable Document Format) document that can be viewed and printed regardless of operating system and printing device.

Image to PDF Converter is a professional command line application. It can not only convert a lot of images (JPEG, JPG, GIF, PNG, BMP, TIFF, PSD, WMF, EMF, PCX, PIC, etc.) to PDF, but also supports to rotate page, set page size, etc, for the output PDF document.

In the following contents, you will see how to use this command line application to combine several images to PDF and rotate PDF pages.

Firstly, please download the installer of this software via clicking the following button.

download Image to PDF Converter

There is no need to install this software and you just need to extract the ZIP file to some where in your computer disk. After the extraction, you will see an executable file named img2pdf.exe which is the called program.

Secondly, please open the MS-DOS command prompt window in which you can input command line.

Then, please follow the command line template below to input your commands.

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

In this command line template:

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

To rotate the PDF page, you can the use the option -rotate <int>.

 

For example,

img2pdf.exe -rotate 90 C:\in.jpg C:\out.pdf

img2pdf.exe -rotate 180 C:\in.png C:\out.pdf

img2pdf.exe -rotate 270 C:\in.gif C:\out.pdf

The first example is to convert JPG image to PDF file and rotate PDF pages in the angle of 90.

The second example is to convert PNG image to PDF file and rotate PDF pages in the angle of 180.

The first example is to convert GIF image to PDF file and rotate PDF pages in the angle of 270.

Lastly, please click Enter button on the keyboard to run the commands.

Several seconds later, you can view the output PDF file in the location you specify.

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

Related Posts: