Do you want to convert JPG, BMP, TIF, PNG, GIF, TGA, etc. Image to PDF OCR Converter will be a good assistant for you.and set PDF resolution? If so,
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.
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.