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.

Image to PDF OCR Converter

How to despeckle/skew/ invert color from black and white image to PDF

With the help of Image to PDF OCR Converter, you can despeckle/skew/ invert color from black and white image to PDF.

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. For better organizing and achieving, you may need to convert scanned images to PDF.

Image to PDF OCR Converter is a powerful command line application that can convert JPG, PNG, GIF, PCD, PSD, TGA, BMP, TIF, DCX, PIC, EMF, WMF, etc. image format to PDF and make different settings for the created PDF document. In addition, it allows you to despeckle, skew and invert color for black and white image during the conversion black-and-white image to PDF

To know how to realize this conversion, please do as follows.

Firstly, please free download Image to PDF OCR Converter and extract the downloaded file to a folder on the computer disk. In the extracted package, you can find an executable file named as img2pdfocr.exe which is the called program in MS-DOS interface.

Second, please open the MS-DOS command prompt window in which you are able to input commands.

Third, please refer to the following command line template to input your commands to convert image to PDF:

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

In the above command line template:

  • img2pdf: please input the full path where the called program img2pdfocr.exe is located.)
  • [options] : set options to control the conversion.
  • <Image-file>: please input the path of the input image.
  • [<PDF-file>]: please input the path of the output PDF file.

The following options are used to despeckle, skew and invert color for black and white image

  • -skewcorrect : skew correct for black and white image file
  • -despeckle : despeckle for black and white image file
  • -chkbwcolor : check and invert color for black and white image file

For example,

D:\img2pdfocr\img2pdfocr.exe –despeckle E:\sea.png E:\ sea.pdf

This example is to despeckle for black and white image and convert a PNG image named sea.png to sea.pdf.

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

A few minutes later, you can get the output PDF in the destination folder.

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