| Command parameters | previous top next |
|
| -i <input> | Source pdf files or directory which contains pdf files you want to convert. This parameter can appear several times, such as: e.g. 1) pdftoimage -i "c:\my pdf_1.pdf" -i "c:\my2.pdf" -i "c:\my pdfs " -o "d:\myimages" Extract pdf files which are 'c:\my pdf_1.pdf,'c:\my2.pdf and all pdfs files placed in 'c:\my pdf ' to 'd:\myimages'. |
| [range] | Indicate extract pages ranges from pdf files.The program supports the following pages range. Default is extract all pages,more custom pages range information reference to pages range setting. Pages range setting: 2 = Extract page number 2 into pdf document. 2,7 = Extract pages 2 and 7 into pdf document. 1-9 = Extract pages containing pages 1 through 9. -3 = Extract pages containing pages 1 through 3 . 5- = Extract pages containing pages 5 through end. 1,5-20,25,30- = Extract pages containing pages 1,5 through 20, 25 and 30 through end. e.g. pdftoimage -i "c:\mypdf3.pdf" 1,5-10,25- -o "d:\" => Extract the pages 1,5 through 10,25 through end of "c:\mypdf3.pdf" to "d:\". |
| -o <output> | Set destination directory to output result images files, default same as application module directory. |
| -s <page zoom> | It is to set page zoom value-from 50%-200%,default is 100%. |
| -b | It is to view the result image files after the pdf files have been converted. |
| (2). Image/Page settings |
| -x <horizontal dpi> | It is to set the horizontal dpi. | |||||||||||||||||||||||||||
| -y <vertical dpi> | It is to set the vertical dpi. | |||||||||||||||||||||||||||
| -q <image quality > | It is to set the quality of jpg/jpeg, from 1 to 100. | |||||||||||||||||||||||||||
| -t <image type> | It is to set the type of result image files. The program supports the following image type.
e.g. 1) pdftoimage -i "c:\mypdf1.pdf" -o "d:\" -t "jpeg" -q 60 Extract all layouts of file "c:\mypdf1.pdf" to "d:\", it is to output jpeg image files and set jpg quality with 60. e.g. 2) pdftoimage -i "c:\mypdfs" -o "d:\my gifs" -t "GIF" -c 8 -g Extract all pdf files placed in "c:\mypdfs" to "d:\my gifs", it is to output 8bits grayscale gif image files. |
|||||||||||||||||||||||||||
| -c <color depth> | It is to set the number of bits per pixel with 1, 4, 8 and 24, default is 24. | |||||||||||||||||||||||||||
| -e <tiff compression mode> | It is to set the tiff compression mode. The program supports the following mode.
e.g. 1) pdftoimage -i "c:\my1.pdf" -o "d:\" -t "tif" -a -g -c 8 -e packbits Extract all layouts of 'c:\my1.pdf to 'd:\', it is to ouput 8 bits grayscale multipage tiff and the compression is 'PACKBITS'. |
|||||||||||||||||||||||||||
| -g | It is to set grayscale image. If you set grayscale image, the progrom only accept 4 or 8 bits color depth, default to set 8bits color depth. e.g. 1) pdftoimage -i "c:\my1.pdf" -o "d:\" -t "bmp" -g -c 24 The above command ignore parameter '-b 24', it sets 8bits grayscale bitmap and places all result bitmaps to 'd:\' automaticly. |
|||||||||||||||||||||||||||
| -a [multi-page tiff file name] | It is to set the multi-page tiff and convert all layouts of pdf file to multi-page tiff. If you set tiff file name, it convert all pdf files to one multi-page tiff file name. e.g. 1) pdftoimage -i "c:\my1.pdf" -i "c:\my_pdfs" -o "d:\" -t "tif" -e lzw -a "myret.tiff" Extract the file "c:\my1.pdf" and all pdf files which placed in "c"\my_pdfs" to a multi-page tiff file("d:\myret.tiff"). |
| (3). Security Settings |
| -p <user password> | It is to set user password. |
| -n <owner password > | It is to set owner password. |
| (4). Other settings |
| -r <register> | It is to register program. |
| -h | It is to open the help file. |
| http://www.oakdoc.com |
| Copyright 2008 by OakDoc Technology, Inc. All rights reserved. |