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.

Image to PDF OCR Converter

How to convert image to PDF and customize PDF properties by command line

The command line application Image to PDF OCR Converter allows you to convert JPG, PNG, BMP, GIF, TIF, etc. image to PDF and customize PDF properties such as title, author, keywords, creator, producer, etc.

Image to PDF OCR Converter is a powerful and professional application that can convert image in format of JPG, PNG, BMP, GIF, TIF, TGA, DCX, EMF, WMF, etc. to PDF format and make different settings such as set PDF properties, passwords, page size, etc. for the created PDF document.

In the following instructions, you will see how to use this command line application to convert image to PDF with customized PDF properties.

Step 1. Download & unzip

Please free download Image to PDF OCR Converter. After the download, please unzip the downloaded ZIP file to a folder on your computer disk. After the extraction, you will be able to find an executable file named img2pdfocr.exe which is the called program in the unzipped folder.

Step 2. Input commands

To input commands, you need to open the MS-DOS command prompt window in which you are able to input commands first. Then, please refer to the following command line template to input your commands:

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

Where:

img2pdf: call the program—img2pdfocr.exe.

[options]: set parameters for the conversion.

<Image-file>: specify the input image.

[<PDF-file>]: specify the output PDF file.

To set PDF properties, please use the following options:

  • -producer <string> : set 'producer' to PDF file
  • -creator <string> : set 'creator' to PDF file
  • -subject <string> : set 'subject' to PDF file
  • -title <string> : set 'title' to PDF file
  • -author <string> : set 'author' to PDF file
  • -keywords <string> : set 'keywords' to PDF file
  • -credate <string> : set 'CreationDate' to PDF file
  • -moddate <string> : set 'ModDate' to PDF file

For example,

D:\img2pdfocr\img2pdfocr.exe –title “Image to PDF”F:\ sea.jpg” “F:\ sea.pdf”

This example is to convert a sea.jpg image to sea.pdf and set the title of the PDF file as “Image to PDF”.

At last, please hit the Enter button on your keyboard to run the commands.

Several seconds later, you can get the target PDF in the destination folder.

You can see the conversion effects from the following snapshots.

Input JPG image 
                                             Input JPG image

Output PDF and PDF properties 
                                       Output PDF file and PDF properties

Note: The trial version will leave watermarks on the converted PDF file. To eliminate this limitation, please buy the full version of Image to PDF OCR Converter.

Image to PDF OCR Converter

How to convert image to PDF and rotate page with command line

With the help of Image to PDF OCR Converter, you can convert image to PDF and rotate page for the converted PDF document.

Image to PDF OCR Converter is a professional command line application that can help you convert your JPG, PNG, BMP, GIF, TIF, PCD, PSD, TGA, DCX, PIC, EMF, WMF, etc. images to PDF. What’s more, it allows you to rotate the page for the converted PDF document.

The following contents will use the example of converting a slant JPG image to PDF and rotate the PDF page to show you how to use this command line application.

1. Download and unzip

At first, please download the package of Image to PDF OCR Converter. The downloaded file is a ZIP file and you just need to unzip it to a folder on your computer disk as normal. In the unzipped folder, there is an executable file named img2pdfocr.exe which is the called program for the following conversion.

2. Open MS-DOS interface

To open the MS-DOS command prompt window in which you can input commands, please press the Windows and R button on the keyboard at the same time to open the “Run” dialog box and click the OK button at bottom of the dialog box

3. Input commands

In the MS-DOS command prompt window, please follow the command line template shown below to input your commands:

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

Where:

img2pdf: the path of the called program—img2pdfocr.exe.

[options]: the parameters you want to make. To see these parameters, please read the readme.txt document in the unzipped folder.

<Image-file>: the path of the image you want to convert. (Here it refers to the path where you store the JPG image.

[<PDF-file>]: the path where you’d like to save the converted PDF document.

According to the application usage, if you want to rotate the converted PDF pages, please use the parameter: -rotate <int> which is used to rotate PDF pages in the angle of 90, 180 or 270.

For example,

D:\img2pdfocr\img2pdfocr.exe –rotate 270 E:\ Australian.jpg F:\ Australian.pdf

This example is to convert an Australian.jpg image to Australian.pdf and rotate the PDF page in the angle of 270.

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.

Please see the conversion effects from the following snapshots.

Input JPG image
Input JPG image

Output PDF file
Output PDF file

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

Image to PDF OCR Converter

How to convert image to PDF and set PDF resolution with command line

Do you want to convert JPG, BMP, TIF, PNG, GIF, TGA, etc. image to PDF and set PDF resolution? If so, Image to PDF OCR Converter will be a good assistant for you.

PDF (Portable Document Format) is widely used to share, exchange documents in our daily life and work. Sometimes, you may need to convert multiple images to a single PDF foe better organizing and achieving.

Image to PDF OCR Converter a professional command line application for converting various image formats to PDF format to and make different settings for the PDF file. The input image formats can be JPG, BMP, PNG, GIF, TIF, PCD, PSD, TGA, DCX, PIC, EMF, WMF, etc. In addition, it can set resolution for the created PDF document.

In the following contents, you will see how to use this command line application to convert mage to PDF of specific resolution.

1. Download and unzip

Please download the package of Image to PDF OCR Converter at first. The downloaded file is a ZIP file, so please unzip it to a folder on your computer disk. In the unzipped folder, you can see an executable file named as img2pdfocr.exe which is the called program.

2. Input commands

Since it is a MS-DOS oriented application, please open MS-DOS command prompt window in which you are able to input commands. According to the application, please refer to the following command line template to input your commands:

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

To know the meanings of the corresponding parameters in the above template please read the following paragraph:

img2pdf stands for the path of the called program img2pdfocr.exe. [options] stands for the parameters provides by the program, which is used to make settings for the output PDF. <Image-file> stands for the path of the input image. [<PDF-file>] stands for the path of the output PDF file.

To set the PDF resolution, please use the option:

-xres <int>: set X resolution to image file.

-yres <int>: set Y resolution to image file.

For example,

D:\img2pdfocr\img2pdfocr.exe –xres 600 -yres 400 E:\sign.jpg E:\ sign.pdf

This example is to convert a JPG image \sign.jpg to sign.pdf.

At last, please hit Enter on your keyboard to run the commands.

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

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