Image to PDF OCR Converter

Convert scanned image to PDF and set page margin

In this article, you will see how to convert scanned image to PDF document with the smart command line application ImagePDF Image to PDF OCR Converter. The application also supports to set page margin for the created PDF document.

In order to fulfill the conversion and realize the function of setting PDF page margins, please do as follows:

  • Please free download ImagePDF Image to PDF OCR Converter and unzip it to some location of your computer.
  • Browse the .txt document readme.txt in unzipped file package to learn all usages of Image to PDF OCR Converter.
  • Open MS-DOS interface for inputting the command line.
  • Input the command line.
  • Run the conversion by hitting Enter button.

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

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

The options for setting page margin are like the following ones:

-margin <string>             : set page margin to PDF file
      -margin 10          : set margin to 10pt to left
      -margin 10x10       : set margin to 10pt to left,top
      -margin 10x10x10    : set margin to 10pt to left,top,right
      -margin 10x10x10x10 : set margin to 10pt to left,top,right,bottom

There are some command line examples for your reference:

img2pdfocr –ocr –margin 10 C:\input.bmp C:\output.pdf
img2pdfocr –ocr –margin 10x10x10x10 C:\A.jpg C:\A.pdf

You can also use Image to PDF OCR Converter to encrypt created PDF in the conversion from scanned image to searchable PDF.

Please click the following button to download the free trial version of ImagePDF Image to PDF OCR Converter and try its functions.

free download ImagePDF Image to PDF OCR Converter

Image to PDF OCR Converter

How to convert scanned image to PDF?

The characters in scanned image can be converted to PDF document with the help of the command line application ImagePDF Image to PDF OCR Converter which has the ability to convert different types of scanned image to PDF document with OCR (Optical Character Optimization).

This command line application doesn’t need any installation steps and you just need to download the free trial version by clicking the following button and then unzip the ZIP file to your computer disk.

free download ImagePDF Image to PDF OCR Converter

There is an executable file named as img2pdfocr.exe in the unzipped file and this file is the called program of the conversion from scanned image file to PDF document. In the following contents, you will see how to use this application to accomplish the conversion.

1. Please open MS-DOS interface and input the path of img2pdfocr.exe into MS-DOS interface, then hit Enter button to see the usage of Image to PDF OCR Converter as shown in the following snapshot.

usage of ImagePDF Image to PDF OCR Converter 

2. Please refer to the command line template to write the command line:

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

There are some command line examples for you to understand better.

img2pdfocr –ocr –xres 600 –y res 500 C:\input.jpg C:\output.pdf
img2pdfocr –ocr –rotate 180 –view C:\test.gif C:\test.pdf

In these two examples, the options

-ocr is to create full-text searchable PDF file
-xres and –yres are used to set X and Y resolution to the image file.
-rotate is to rotate created PDF document by different degree.
-view is to view created PDF document automatically.

3. Please run the conversion from scanned image to searchable PDF by hitting Enter button on the keyboard.

In the homepage of ImagePDF Image to PDF OCR Converter, there are more details about this application for you to learn.

In order to use this command line for experiencing, please free download ImagePDF Image to PDF OCR Converter.

ImagePDF

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

Image to PDF OCR Converter

How to convert image to searchable PDF and set PDF resolution?

When converting image to searchable PDF document, ImagePDF Image to PDF OCR Converter allows you to set resolution for PDF document. Image to PDF OCR Converter is a command line application and it can convert different kinds of image like BMP, JPG, TIFF, TIF, GIF, PNG, etc. to searchable PDF document with the help of OCR technology.

Please free download ImagePDF Image to PDF OCR Converter and extract the ZIP file to your computer disk. Just extraction and there is no installation requirement for the application.

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

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

The options that you need to set PDF resolution are like the following ones:

      -dpi <int> : set DPI resolution to output PDF file
      -dpi  0    : use the default image width and height information
      -dpi -1    : take DPI info from original image file
      -dpi <int> : set resolution to output PDF file

There are some examples below for your reference to convert image file to searchable PDF document.

img2pdfocr –dpi 0 D:\input.gif D:\output.pdf
img2pdfocr –dpi –1 C:\test.bmp C:\test.pdf
img2pdfocr –dpi 654 C:\A.jpg C:\A,pdf

In addition, Image to PDF OCR Converter also has the ability to edit PDF property by using 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

The example for setting PDF property is like the following one:

img2pdfocr –producer “ImagePDF” –author “Nancy” C:\input.bmp C:\output.pdf

There are more information about this application in the homepage of ImagePDF Image to PDF OCR Converter, you can visit the page to obtain more information.

In order to try the command line application for free, please click the following button.

free download ImagePDF Image to PDF OCR Converter

Image to PDF OCR Converter

How to convert image to searchable text?

The application ImagePDF Image to PDF OCR Converter supports to convert image to searchable text document with easy operations. Only some easy commands can help you accomplish this conversion.

Image To PDF OCR Converter is a Windows Application which can directly convert image files (TIF, JPG, GIF, PNG, BMP, PSD, WMF, EMF, PDF, PCX, PIC, etc.) to PDF files.

In order to use ImagePDF Image to PDF OCR Converter, you can click the following button to download the free trail version to your computer and then unzip it.

free download ImagePDF Image to PDF OCR Converter

In the unzipped file package, there is a TXT document titled as readme.txt which is user guide to this command line application. There are the command line template and options in this document to show you how to use Image to PDF OCR Converter.

The command line template is like the following one:

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

For converting image file to searchable text document, the options that you need to use are –ocrtext and –nopdf.

After opening MS-DOS interface, please write the command line like the following example shows:

img2pdfocr –ocrtext –nopdf C:\input.bmp C:\output.txt

The options that you can use in the conversion from image file to searchable text are:

-ocrtxt <string>             : export OCRed text to a text file
-ocrtxtxy <string>           : export OCRed text with X, Y coordinate to a text file
-nopdf                       : do not create PDF file, it is useful when you use '-ocrtxt' parameter

Visit the homepage of ImagePDF Image to PDF OCR Converter, you will get more useful details about this application.

Free download ImagePDF Image to PDF OCR Converter.