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.