Command parameters previous  top  next 
 
    Usage:
    pdftotiff.exe   <-i <input> [range] [-i <input> -i ... ]>
[-o <output>]
[-p <user password>]
[-n <owner password>]
[-s <page zoom>]
[-x <horizontal dpi>]
[-y <vertical dpi>]
[-q <jpeg quality>]
[-e <tiff compression mode>]
[-c <color bits per pixel>]
[-a][-b][-g]
[-r <register>]
[-h]

  Notes:     <>--- required        []--- optional
  (1). Input and Output settings
  -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) pdftotiff -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. pdftotiff -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.
 -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.
serial parameter symbol

description

1 "NONE" none compression
2 "LZW" lzw compression
3 "JPG" or "JPEG" jpg/jpeg compression
4 "PACKBITS" packbits compression
5 "GROUP4" CCITT Group 4 compression
6 "GROUP3" CCITT Group 3 compression
7 "RLE" rle compression
Default is CCITT Group4 compression for 1bit tiff, LZW compression for 4,8,24bits tiff.
e.g. 1) pdftotiff -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) pdftotiff -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) pdftotiff -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.