PDF to Image Converter command line version for Windows

command line version pdf to jpg, pdf to jpeg

Now Only $195.95  $391.9

purchase download

 

A command-line version of PDF to image converter is also available.
The command-line version of PDF to image converter can be used in batch convert PDF to image processing in any other way you wish.

usage: pdftoimg [-i infile] [-f ouputformat] [options]…
PDF to Image Converter Command Line
Required options:
-i    input pdf file or directory

Optional Options:
-f    output image format, default is “JPEG”
Format should be one of these strings:
“BMP 24 Bit” “BMP 8 Bit” “JPEG” “GIF” “PCX 24 Bit”
“PNG 24 Bit” “PNG 8 Bit” “PNG 8 Bit (Gray)” “PNG 4 Bit”
“PNG Monochrome” “TIFF 24 Bit”
-o    output image file path, default is as same as input file path
-w    width of the ouput image, e.g. “500”
-h    height of the ouput image, e.g. “300”
-csd    create sub directory for every PDF’s output image, can be “1” or “0”
-apn    add page number to output image file, e.g. “%04d”, if input PDF file name is “test.pdf” and have 5 pages, then “%04d” will generate test0001.jpg, test0002.jpg, test0003.jpg, test0004.jpg and test0005.jpg.
-pfn prefix file name, e.g. “output_”
-qlt output file quality, from 0 to 100, e.g. “90″

For example:
//Convert a single PDF file
pdftoimg -i “C:\test\1.pdf”

//Convert all PDF files in “C:\test” to JPEG
pdftoimg -i “C:\test”

//Convert all PDF files in “C:\test” to JPEG, and set width to 500
pdftoimg -i “C:\test” -w 500

//Convert all PDF files in “C:\test” to “D:”
pdftoimg -i “C:\test” -o “D:”

//Convert all PDF files in “C:\test” to GIF
pdftoimg -i “C:\test” -f “GIF”

//Convert all PDF files in “C:\test” and create sub directory for every PDF
pdftoimg -i “C:\test” -csd 1

//Convert all PDF files in “C:\test” and add page number to final image file name
pdftoimg -i “C:\test” -apn %02d

//Finally, you can join all the options in any order as you need
pdftoimg -o “C:” -i “C:\test” -apn %04d -csd 1 -f “PNG 24 Bit” -w 500

Comments are closed.