How to convert image to searchable PDF and encrypt PDF?

In order to convert image to searchable PDF document, the command line application ImagePDF Image to PDF OCR Converter can be used as an assistant. In addition, this application can also encrypt PDF document with open password and owner password. Different kinds of permissions can be set to protect PDF from being printed, modified, copied, etc.

Visit the homepage of ImagePDF Image to PDF OCR Converter.
Free download ImagePDF Image to PDF OCR Converter.

After downloading the application to your computer, please unzip it to local disk, which is enough without any requirement of installation steps. In the unzipped package, there is an executable file img2pdfocr.exe which is the called program of the conversion from image file to searchable PDF document.

There are two ways to know how to use Image to PDF OCR Converter:

  1. Open .txt document readme.txt in the unzipped package to see its usage and options.
  2. Input the file path of img2pdfocr.exe in MS-DOS interface and hit Enter button to see the option details.

The command line template you need to refer to is like the following one:

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

The option for converting image file to searchable PDF document is –ocr and the options for encrypting PDF are like the following ones:

-openpwd <string>            : set 'open password' to PDF file
-ownerpwd <string>           : set 'owner password' to PDF file
-keylen <int>                : key length (40 or 128 bit)
      -keylen 0:  40 bit RC4 encryption (Acrobat 3 or higher)
      -keylen 1: 128 bit RC4 encryption (Acrobat 5 or higher)
      -keylen 2: 128 bit RC4 encryption (Acrobat 6 or higher)
-encryption <int>            : restrictions
      -encryption    0: encrypt the file only
      -encryption 3900: deny anything
      -encryption    4: deny printing
      ……
      ……

Please see the following command line examples:

img2pdfocr.exe –ocr -ownerpwd 123 -keylen 2 -encryption 3900 C:\in.tif C:\out.pdf
img2pdfocr.exe –ocr –openpwd 123 –ownerpwd 456 –encryption 32 C:\A.bmp C:B.pdf

The first command line example is to convert TIF image file to searchable PDF and encrypt the created PDF with owner password with 128 bit encryption and deny any operations for the document.

The second example is to make the same conversion and set open and owner passwords for the created PDF with no commenting restrictions.

Image to PDF OCR Converter also has much more functions and features, you’d better click the following button to download the free trial version and try it yourself.

free download ImagePDF Image to PDF OCR Converter

Related Posts:

One Reply to “How to convert image to searchable PDF and encrypt PDF?”

  1. Pingback: Convert scanned image to PDF and set page margin | ImagePDF Document Center

Comments are closed.