To convert image to PDF file and add watermark for created PDF document is not a difficulty if you have the command line application ImagePDF Image to PDF Converter as the tool.
Image to PDF 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.
To use Image to PDF Converter, please click here to download the ZIP file and extract it to some suitable location of your computer. As the program is a MS-DOS oriented application, you need to open MS-DOS interface by clicking Start—Run and inputting cmd in Open combo box of the popup window, then click OK button.
If you don’t know how to use the program, please drag the executable file img2pdf.exe to MS-DOS interface and click Enter button to see its usage which is like the one shown below:
img2pdf [options] <Image-file> [<PDF-file>]
There are several successfully run command line examples written according to the usage template. The first example is to convert image to PDF file only without setting any parameters.
Figure 1
The command line is
"C:\Program Files\img2pdf\img2pdf.exe" "C:\Documents and Settings\admin\Desktop\demo\bmp\PH02074U.BMP" C:\test.pdf
in which
- "C:\Program Files\img2pdf\img2pdf.exe" is the path of called program img2pdf.exe.
- "C:\Documents and Settings\admin\Desktop\demo\bmp\PH02074U.BMP" is the path of source file.
- C:\test.pdf is the path of target file.
The following example is to convert image to PDF and add PDF watermark.
Figure 2
The command line is
"C:\Program Files\img2pdf\img2pdf.exe" -wtext "ImagePDF" -wx 100 -wy 100 "C:\Documents and Settings\admin\Desktop\demo\bmp\PH02074U.BMP" C:\test.pdf
in which
- "C:\Program Files\img2pdf\img2pdf.exe" -wtext "ImagePDF" is the path of img2pdf.exe.
- -wx 100 is to set X offset of watermark as 100
- -wy 100 is to set Y offset of watermark as 100
- "C:\Documents and Settings\admin\Desktop\demo\bmp\PH02074U.BMP" is the path of source file.
- C:\test.pdf is the path of target file.
To run the conversion from image to PDF document, please hit Enter button on your keyboard. Then you just need to wait until the conversion is over. Please click here to learn more about the program Image to PDF Converter.