Image to PDF OCR Converter

How to convert image to PDF of a specific page size with command line

If you want to convert image to PDF of a specific page size, the command line application Image to PDF OCR Converter will be a good choice for you.

PDF (Portable Document Format) is a popular file format that can transfer data electronically without making any changes to the text, image, format, etc. Thus, it’s widely used in archiving, distributing and sharing documents among friends, colleagues, business partners, etc. Sometime, you may need to convert your images to PDF for easy upload and sharing.

Image to PDF OCR Converter is an easy-to-use command line application that can convert JPG, PNG, GIF, PCD, PSD, TGA, BMP, TIF, DCX, PIC, EMF, WMF, etc. image formats to PDF. What’s more, it supports to set page size, resolution, etc. for the created PDF document.

In the following paragraphs, you will see how to use this command line application to convert an image file to PDF and specify page size for the created PDF.

Firstly, please free download Image to PDF OCR Converter and unzip it to a folder on the computer. In the unzipped package, there an executable file named img2pdfocr.exe which is the called program in the MS-DOS command prompt window.

Then, please open MS-DOS command prompt window in which you can input commands. In the opened MS-DOS command prompt window, please refer to the following command line template to input your commands.

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

To know the meanings of the parameters in the above command line template, please read the following explanations;

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

To set page size for the PDF file, you can use the following options: -width <int> which is used to set page width to PDF file and -height <int> which is used to set page height to PDF file.

For example,

D:\img2pdfocr\ img2pdfocr.exe -width 500 -height 300 D:\us.png E:\us.pdf

This example is to convert a PNG image to PDF and set PDF page width and height as 500 and 300 respectively.

Lastly, please press Enter on your keyboard to run the commands.

Seconds later, you can get specific page size PDF file in the specified folder.

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

Image to PDF Converter

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.

Image to PDF Converter

How convert image to PDF/A compliance PDF via command line

With the command line application Image to PDF Converter, you can convert image to PDF/A compliance PDF.

PDF/A is an ISO-standardized version of the Portable Document Format (PDF) specialized for the digital preservation of electronic documents. PDF/A differs from PDF by omitting features ill-suited to long-term archiving, such as font linking (as opposed to font embedding).

Image to PDF Converter is a smart and integrated PDF creation application that is capable of converting JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc. images to PDF/A compliance PDF.

In the following contents, you will how to use this command line application to convert image to PDF/A compatible PDF.

Step 1. Download & unzip

Please download Image to PDF Converter and then unzip the package to a disk on your computer. In the unzipped package, there is an executable file named img2pdf.exe which is the called program in the MS-DOS command prompt window.

Step 2. Input commands

In order to input commands, please open the MS-DOS command prompt window first. Then, you can input your commands into the MS-DOS command prompt window by referring to the command line template shown below:

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

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

  • img2pdf is used to call the program
  • [options] is used to set parameters for the conversion
  • <Image-file> is used to specify the input image
  • [<PDF-file>] is used to specify the output PDF file

In order to convert the image to PDF/A compliance PDF file, you can use the option: -pdfa which is used to create PDF/A compliance PDF file.

For example,

img2pdf.exe -pdfa C:\in.tif C:\out.pdf

This example is to convert a TIF file to PDF/A compliance PDF file.

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

Several seconds later, you can get the target PDF file in the specified location.

If you are really interested in this command line application, you can purchase Image to PDF Converter. But before that, you are strongly recommended to download the free trial version to have a try. After experiencing its functions, you can make your decisions then.

Image to PDF Converter

How convert image to PDF/X compliance PDF via command line

The command line application Image to PDF Converter is able to convert JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc. images to PDF/X compliance PDF.

PDF/X is an umbrella term for several ISO standards that define a subset of the PDF standard, which is used to facilitate graphics exchange. PDF/X files must not only follow certain restrictions, they also must contain a special file identification inside the PDF.

Image to PDF Converter is a professional command line application that can convert image to PDF/X compliance PDF.

To know how to use this command line application to convert image file to PDF/X compatible PDF, please follow the instructions below.

Firstly, please free download the installer of Image to PDF Converter. Unlike other application, you don’t need to install it after the download. You just unzip the downloaded file to a disk on your computer and then you can use it. In the unzipped file folder, you can see an executable file named as img2pdf.exe which is the called program.

Secondly, please open MS-DOS interface (MS-DOS command prompt window) in which you can input your commands.

After that, please refer to the following command line template to input commands in the MS-DOS command prompt window.

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

In the above command line template,

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

In order to convert the image file to PDF/X compliance PDF file, please use the option: -pdfx which is used to create PDF/X compliance PDF file.

For example,

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

This example is to convert a JPG image to PDF/X compliance PDF file.

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

Several seconds later, you can get the target PDF document.

Please see the conversion effect from the following snapshot.

input image

Input image

output PDF file

Output PDF file

If you want to know more options and usage of this command line application, you can read the TXT document readme.txt in the unzipped file folder or input the path of img2pdf.exe in MS-DOS command prompt window and press Enter button on the keyboard to see all the options and usage of the application.

If you want to enjoy full version of this command line application, please buy Image to PDF Converter here.

Image to PDF Converter

How convert image to PDF and merge PDF via command line

With the help of the application Image to PDF Converter, you can convert multiple images to PDF and merge PDF via command line. If you want to know how to make this kind of conversion, please continue to read the contents in this article.

Image to PDF Converter is a powerful command line application that can convert different kinds of images (JPG, PNG, BMP, GIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc.) to PDF. What’s more, it supports to merge several PDF files into one PDF file and merge PDF files from a TXT file.

If you need to use this application to convert images to PDF and merge the created PDF file with other files, please go on reading the following contents.

1.Download & unzip

At first, please free download Image to PDF Converter. There are no setup steps or installation of any third-party applications. You just need to extract the ZIP file to a disk on your computer. In the unzipped file folder, there is an executable file named as img2pdf.exe which is the called program of this application.

2. Input commands to convert images to PDF

This application is MS-DOS oriented, so you need to open MS-DOS interface to input your commands at first. If you want to know how to use this application, you can browse the TXT file readme.txt in the unzipped file folder or input the file path of img2pdf.exe in opened MS-DOS interface and hit Enter button on the keyboard to see all the options and usage of the application.

By referring to the following command line template, you will be able to write your own commands.

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

For example,

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

This example is to convert a JPG image to a PDF document.

3. Input commands to merge PDFs

In order to merge PDFs, please use the following options:

-mergepdf <string> : merge two PDF files into one PDF file

  • -mergepdf "file1|file2|file3|..." : merge several PDF files into one
  • -mergepdf "C:\filelist.txt" : merge PDF files from a .txt file
  • -mergepdf "C:\*.pdf" : merge PDF files into one PDF file

For instance,

img2pdf.exe -mergepdf "C:\1.pdf|C:\2.pdf|C:\3.pdf" C:\out.pdf

img2pdf.exe -mergepdf "C:\filelist.txt" C:\out.pdf

The first example is to merge the three PDF files into one PDF file. The second example is to merge PDF files from a TXT file.

When you finish inputting the commands, please hit Enter button to run the conversion at once.

If you are interested in this command line application, please buy Image to PDF Converter here.