Converts an image file to a PDF file and outputs it.
Converts test.jpg to out.pdf and output it.
AHPDFToolCmd80.exe -imageToPdf -dpi 300 -rotateAngle 90 -d C:\test\test.jpg -o C:\sav\out.pdf
AHPDFToolCmd80 -imageToPdf -dpi 300 -rotateAngle 90 -d /home/antenna/test/test.jpg -o /home/antenna/sav/out.pdf
You can perform batch processing by specifying the input folder to the -d parameter and the output folder to the -o parameter.
If a folder is specified, all image files in the input folder will be converted to PDF.
The output file will be output to the specified folder using the file name with ".pdf" appended to "input file name.extension."
|
Parameter |
Content |
|
-d |
[required] Supported formats: bitmap/jpeg/png/tiff/gif |
|
-o |
[required] |
|
-dpi <Val> |
Sets the resolution as an integer value. Can be omitted. |
|
-rotateAngle <Val> |
Sets the rotation angle. Can be omitted. Setting values: Rotate clockwise at 0/90/180/270 (degrees). If not specified, "0" (degrees) is applied, |