The application VeryPDF Image to PDF OCR Converter Command Line allows you to convert image to PDF document with OCR technology. It also supports to convert PDF to image file. In addition, the application supplies several kinds of compression methods for compressing image. In the following contents, you will see how to use this application. There are several steps for your reference:
1. Download and unpack | 2. How to use | 3. Part of support options |
---|
Before using the application, you need to download free trial version of VeryPDF Image to PDF OCR Converter Command Line. There is no installation steps at all and you just need to unpack the ZIP file to some location of the computer, then it will be available.
Please open MS-DOS interface for inputting the command line. The txt document readme.txt in the unpacked folder will show you the usage and options of this application. The executable file of this application is img2pdfnew.exe (New version).
The usage of the application is like the following one:
Usage: img2pdf [options] <Image-file> [<PDF-file>]
You can use this application to convert image to PDF document with OCR technology. Please see the following example:
img2pdfnew.exe -ocr 1 -combineword 1 -bitcount 1 C:\in.tif C:\out.pdf img2pdfnew.exe -ocr 1 -tsocr C:\in.jpg C:\out.pdf img2pdfnew.exe -ocr 1 -combineword 1 -plaintextpdf C:\in.pdf C:\out.pdf
You can also convert PDF to image of different file formats by using this application to save money.
The usage is like the following one:
img2pdf [options]<PDF-file> <Image-file>
You can also see the following example:
img2pdfnew.exe -firstpg 10 -lastpg 20 C:\in.pdf C:\out.tif
-ocr <int> :create full-text searchable PDF file
-tsocr : use tesseract-ocr engine
-tsocrlang <string> : set language for tesseract-ocr engine
-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
-plaintextpdf : convert scanned image files or PDF files to pure text based PDF files
-ocr2 <string> : this option is only available for internal use
-addtextlayerintopdf <string> :this option is only available for internal use
-xres <int> : force to set X resolution to the field of image file
-yres <int> : force to set Y resolution to the field of image file
-ocrrect <string> : set a rectangle region for OCR
-combineword <int> : combine OCRed characters to words
-aligntextypos : align OCRed text contents by Y position
-lossless : lossless compression for JBIG2 and JPEG2000
-colorimg <int> : set compression method for color image
-colorimg 0 : no change compression for color image file
-colorimg 1 : compress color image file with JPEG arithmetic
-colorimg 2 : compress color image file with JPEG2000 arithmetic
-bwimg <int> : set compression method for black and white image
-bwimg 0 : no change compression for black and white image file
-bwimg 1 : compress black and white image file with CCITT G4 arithmetic
-bwimg 2 : compress black and white image file with JBIG2 arithmetic
-firstpg <int> : PDF to Image: first page to convert
-lastpg <int> : PDF to Image: last page to convert
-iswh : PDF to Image: specify width/height or DPI
-bitcount <int> : PDF to Image: set color depth
-autobitcount : PDF to Image: determine color depth automatically
-pidpi <int> : PDF to Image: set DPI resolution
-compress <int> : PDF to Image: set compression method to TIFF format
-compress 1 : NONE compression
-compress 2 : CCITT modified Huffman RLE
-compress 3 : CCITT Group 3 fax encoding (1d)
-compress 4 : CCITT Group 4 fax encoding
-compress 5 : LZW compression
-compress 6 : OJPEG compression
-compress 7 : JPEG DCT compression
-compress 32773 : PACKBITS compression
-compress 32809 : THUNDERSCAN compression
If you need to get more information about support options of VeryPDF Image to PDF OCR Converter Command Line, you can read the readme.txt document in its unpacked folder.