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.

Image to PDF OCR Converter

How to convert image to password protected PDF with command line

If you want to convert image to password protected PDF so that you can prevent unauthorized people to view, copy, edit, print, etc. it, the application Image to PDF OCR Converter will be a good choice for you.

Image to PDF OCR Converter is a simple and professional command line application for converting JPG, PNG, BMP, GIF, TIF, TGA, DCX, EMF, WMF, etc. format image to PDF. What’s more, it supports to encrypt the created PDF with open password to protect PDF from opening and owner password to prevent PDF from editing, copying, printing, etc.

To know how to use this command line tool to convert image to PDF and encrypt the output PDF with open password and owner password, please do as follows:

Firstly, please download the package of Image to PDF OCR Converter. After the download, you can find a ZIP file in the downloaded file list on your computer. Please extract the ZIP file to a folder on the computer disk. In the unzipped folder, you can find an executable file named img2pdfocr.exe which is the called program of this application.

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

Thirdly, in the opened MS-DOS command prompt window, please input commands to convert image to encrypted PDF by referring to the command line template shown below:

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

To encrypt the output PDF with open password and owner password, please use the following options:

  • -openpwd <string> : set 'open password' to PDF file
  • -ownerpwd <string> : set 'owner password' to PDF file

What’s more, you can use the following encryption modes at the same time.

  • -encryption 0: encrypt the file only
  • -encryption 3900: deny anything
  • -encryption 4: deny printing
  • -encryption 8: deny modification of contents
  • -encryption 16: deny copying of contents
  • -encryption 32: no commenting

===128 bit encryption only -> ignored if 40 bit encryption is used

  • -encryption 256: deny FillInFormFields
  • -encryption 512: deny ExtractObj
  • -encryption 1024: deny Assemble
  • -encryption 2048: disable high res. printing
  • -encryption 4096: do not encrypt metadata

For example,

D:\img2pdfocr\img2pdfocr.exe -ownerpwd 123 E:\secret.jpg C:\ secret.pdf

This example is to convert a secret.jpg image to secret.pdf and encrypt the PDF with owner password “123”.

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

Several seconds later, you can get the password protected PDF in the specified location.

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