Image to PDF OCR Converter

How to convert image to PDF without empty pages by command line

If you want to convert image to PDF without empty pages, the command line application Image to PDF OCR Converter will be the optimal choice for you.

PDF - short for Portable Document Format, a file format developed by Adobe Systems. It can represent documents in a manner independent of application software, hardware, and operating systems. Each PDF file encapsulates a complete description of a fixed-layout flat document, including the text, fonts, graphics, and other information needed to display it. PDF files can look the same as the original format. If you scan a paper into PDF, it will look exactly the same like the paper. Sometimes, you may need to convert images to PDF.

Image to PDF OCR Converter is a professional command line application can convert JPG, JPEG, GIF, PNG, BMP, TIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc. image format to PDF. What’s more, you can remove empty pages during  the conversion.

To know how to use this tool to convert image to PDF and delete empty pages in the created PDF, please do as follows.

Firstly, please download Image to PDF OCR Converter and extract the downloaded ZIP file to a folder on your computer. The executable file—img2pdfocr.exe is the called program of this application in the MS-DOS command prompt window.

Secondly, please open the MS-DOS command prompt window where you are able write and run commands.

Then, please write your commands referring to the following command line template.

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

In the above template, img2pdf is to call the program—img2pdfocr.exe. [options] is to set options to control the conversion. To know the options, please read the readme.txt document in the extracted folder. <Image-file> is to import the input image. [<PDF-file>] is to export the output PDF file.

To empty pages for the PDF file, please use the option: -noempty which can be used to delete empty pages from PDF file.

For example,

D:\img2pdfocr\img2pdfocr.exe -noempty “D:\ fruit.png” “E:\ fruit.pdf”

The above command line is to convert fruit.png image to fruit.pdf and delete empty pages from the created PDF file.

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

Several minutes later, you can see the output PDF file in the specified folder.

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

Image to PDF OCR Converter

How to convert image to PDF/A with command line

The command line application Image to PDF OCR Converter allows you to convert JPG, JPEG, GIF, PNG, BMP, etc. image to PDF/A. (PDF/A omits features ill-suited to long-term archiving.)

Image to PDF OCR Converter is a powerful command line application that can a lot of image formats to PDF format. The supported image formats include JPG, JPEG, GIF, PNG, BMP, TIF, TIFF, PSD, WMF, EMF, PCX, PIC, etc.

The following contents will site the example of converting a JPG image to PDF/A to show you how to use this application to create PDF.

Step 1. Download and unzip

Please free download Image to PDF OCR Converter at first. You don’t have to install it, for the downloaded file is a ZIP file. The only thing you need to do is to unzip it to a local folder on your computer disk as normal. In the unzipped package, you can find an executable file named img2pdfocr.exe and it is the called program in the MS-DOS command prompt window.

Step 1. Input commands

In order to input commands, please open the MS-DOS command prompt window first. Then, please refer to the following command line template to input your commands.

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

In the above template:

  • img2pdf: call the program—img2pdfocr.exe.
  • [options]: set options for the conversion.
  • <Image-file>: specify the input image.
  • [<PDF-file>]: specify the output PDF file.

To convert image to PDF/A, please use the following option:

-pdfa: create PDF/A compliance PDF file

To make you better understand the above command line template and option, you can see the following example.

D:\img2pdfocr\img2pdfocr.exe -pdfx “E:\ catalog.jpg” “F:\ catalog.pdf”

This example is to convert the JPG image named catalog.jpg to PDF/A compliance PDF file named catalog.pdf.

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

Several seconds later, you can get the desired PDF file in the folder you specify.

To know more options about this command line application, please read the readme.txt document in the unzipped package.

Note: The trial version will leave some watermarks on the created PDF file. To remove these watermarks, please buy the full version of Image to PDF OCR Converter.

Image to PDF OCR Converter

How convert image to PDF/X by command line

With the help of the command line application Image to PDF OCR Converter, you can convert image to PDF/X.

Image to PDF OCR Converter is a powerful PDF creator which can help users to convert various image formats including JPG, JPEG, GIF, PNG, BMP, TIF, TIFF, PSD, WMF, EMF, PCX, PIC, to ePub. In addition, it can convert image to PDF/X. (PDF/X is used to facilitate graphics exchange.)

To know how to use this command line application to convert image to PDF/X, please do as follows.

Firstly, please free download Image to PDF OCR Converter and unzip the downloaded ZIP file to a folder on your local computer disk. In the unzipped folder, you can see an executable file named as img2pdfocr.exe which is the called program in the MS-DOS interface.

Secondly, please open the MS-DOS interface in which you can input commands. Before inputting the commands, you can read the readme.txt document which explains the usage and options of this application in detail.

According to the usage of this application, please input commands by referring to the command line template shown below:

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

In the above template:

  • img2pdf: call the program—img2pdfocr.exe. (Please input the path of the called program— img2pdfocr.exe.)
  • [options]: set options to control the conversion.
  • <Image-file>: import the image. (Please input the path of the input image.)
  • [<PDF-file>]: export the PDF file. (Please specify the name and path of the output PDF file.)

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

If you still don’t how to input commands to convert the image to PDF/X compliance PDF file, please continue to see the following example.

D:\img2pdfocr\img2pdfocr.exe -pdfx F:\ cuisine.png D:\ cuisine.pdf

The example is to convert cuisine.png image to PDF/X compliance PDF file —cuisine.pdf.

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

After a while, you can see the created PDF file in the specified folder and view the PDF file with a PDF reader installed on the computer.

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

Image to PDF OCR Converter

How convert image to PDF and merge several PDF files into one with command line

Do you want to convert image to PDF and merge several PDF files into one PDF? If so, Image to PDF OCR Converter will be a good assistant for you.

Nowadays, PDF becomes one of the most popular file formats worldwide. Compared with other file formats, PDF files have a variety of features like security, compact size, accessibility and usage restrictions. So, in some cases, you may want to convert images to PDF.

With the help of Image to PDF OCR Converter, you can convert JPG, BMP, PNG, GIF, TIF, TGA, DCX, EMF, WMF, etc. image format to PDF format and merge the converted PDF into the existing PDF.

In the following contents, you will see how to use this command line application to convert image to PDF and merge the converted PDF with the existing PDF files into one PDF.

Step 1. Download & extract

At first, please download the package of Image to PDF OCR Converter. Then, please extract the ZIP file to a folder on your computer disk. After the extraction, you can see an executable file named img2pdfocr.exe which is the called program in the MS-DOS command prompt window.

Step 2. Input commands to convert image to PDF

In the extracted package, you can also find a TXT document named readme.txt which illustrates the usage of this application in detail. After reading this manual, you can open the MS-DOS command prompt window and input commands to convert image to PDF.

If you are still confused about how to write the commands, you can refer to the following command line template to input your commands.

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

For example,

D:\img2pdfocr\img2pdfocr.exe “C:\ april.jpg” “E:\ april.pdf”

Step 3. Input commands to merge PDF files

According to the options of the command line application, the following options can be used to merge the converted PDF with existing PDF file.

-mergepdf "file1|file2|file3|...": merge several PDF files into one

-mergepdf "C:\*.pdf": merge PDF files into one PDF file

What’s more, you can merge the created PDF with a TXT file using the option: -mergepdf "C:\filelist.txt" which is used to merge PDF files from a .txt file

For example,

D:\img2pdfocr\img2pdfocr.exe -mergepdf "E:\ april.pdf |E:\2.pdf" C:\merge.pdf

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

Note: The trial version will leave some watermarks on the converted image and merged PDF. To eliminate these limitations, please buy the full version of Image to PDF OCR Converter.

Image to PDF OCR Converter

How to convert images to PDF and add bookmarks to PDF by command line

This article is mainly about how to convert images to PDF and add bookmarks to PDF with the application Image to PDF OCR Converter.

Image to PDF OCR Converter is a powerful command line application that supports to convert various image formats to PDF and make different settings to the converted PDF such as add bookmarks to PDF, edit PDF information, etc. The input image formats include JPG, BMP, PNG, GIF, TIF, TGA, DCX, EMF, WMF, etc.

Only in some simple steps, you will convert images to PDF with bookmarks successfully.

1. Download and unzip

Please free download Image to PDF OCR Converter firstly. The downloaded file is a ZIP file, so please unzip the downloaded ZIP file to a folder on the computer.

2. Input commands

This application is MS-DOS oriented, so please open the MS-DOS command prompt window in which you are able input commands first. To know how to input the commands, you can read the readme.txt document in the unzipped file. To make you better understand how to use command line application to convert images to PDF with bookmarks, please refer to the following command line template to input your commands.

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

In the above command line template:

img2pdf: refers to the path of the called program—img2pdfocr.exe.(In the unzipped folder, you can find the called program—img2pdfocr.exe.)

[options]: refers to the parameters you set for the conversion.

<Image-file>: refers to the path of the source image.

[<PDF-file>]: refers to the path where you’d like to save the password protected PDF file.

To add bookmarks to the created PDF, please use the option: -bookmark <int> which is used to create bookmark to PDF file and it can be one of the following.

  • -bookmark -1: don't create bookmarks
  • -bookmark -2: read bookmarks from bookmark.ini file
  • -bookmark -3: use filenames as bookmarks
  • -bookmark -4: use the filenames as bookmarks, one bookmark at the first page of each tif
  • -bookmark <num>: "num" must >= 0, specify first number in bookmarks

For example,

D:\img2pdfocr\img2pdfocr.exe -bookmark 3 F:\ australian.png E:\ australian.pdf

The above example is to convert an australian.png image to australian.pdf and use filenames as bookmarks of the converted PDF document.

In a few minutes, you can get the output PDF file in the output folder.

If you are interested in this command line application, you can get Image to PDF OCR Converter here.