Command parameters |
|
Command line usage:
pdftoimage <-i PDF File> [-o Output] [Options]
|
-i <string> |
Specify PDF files or directory which contains PDF files. |
-o <string> |
Specify output directory. |
-d |
Include sub directory. |
-# |
Keep original subfolder. |
-f |
Set overwrite if output file is exist. |
-a |
Do not popup message box after convert done. |
-l <string> |
If no set. default save log in the same folder as program.
-l off Turn off to save log. default is turn on
-l "c:\pdf_image.log" Specify log file. |
-u <string> |
User password. |
-n <string> |
Owner password. |
-z <int> |
Page zoom (50-200)%. |
-v |
View the result image files after convert done. |
-t <string> |
Specify the type of output image files. Supports image type "TIF", '"JPG", "GIF", "PNG", "BMP", "WMF", "EMF", "PCX", "ICO", "TGA", "WBMP", "JP2", "JPC", "PGX", "PNM", "RAS", "JBG", "MNG", "SKA", "DCX", "PSD", "FITS", "XPM", "XBM", "VIFF", "PCL", "PS", "EPS", "PS2", "EPS2", "PS3", "EPS3", "PDB", "ART", "JNG", "PALM", "SGI", "VICA", "SUN", "PTIF", "PPM", "PGM", "PBM", "PAM", "PICT", "PCD", "EPSF", "MAT", "FAX", "DPX", "DIB", "AVS". |
-q <int> |
Set jpg/jpeg quality (1-100). |
-x <int> |
Set horizontal resolution(DPI,change image quality) in generated image files,default 150. |
-y <int> |
Set vertical resolution(DPI,change image quality) in generated image files,default 150. |
-b <int> |
Set bit count in generated image files.
1 (1bit black/white), 3 (4bit grayscale), 4 (4bit colorized), 7 (8bit grayscale), 8 (8bit colorized) and 24 (24bit high color).
image type |
support bit count |
BMP |
1, 3, 4, 7, 8, 24 |
GIF |
please click here |
JPG |
7, 24 |
PNG |
1, 3, 4, 7, 8, 24 |
ICO |
1, 3, 4, 7, 8, 24 |
TIF |
please click here |
TGA |
7, 8, 24 |
PCX |
1, 3, 4, 7, 8, 24 |
WBMP |
1 |
WMF |
none |
JP2 |
7, 24 |
JPC |
7, 24 |
PGX |
7 |
PNM |
7, 24 |
RAS |
7, 24 |
JBG |
1 |
MNG |
please click here |
SKA |
7, 8 |
DCX |
1, 3, 4, 7, 8, 24 |
EMF |
none |
PSD |
7, 8, 24 |
FITS |
7 |
XPM |
7, 8 |
XBM |
1 |
VIFF |
1, 7, 8, 24 |
PCL |
1, 3, 4, 7, 8, 24 |
PS |
1, 3, 4, 7, 8, 24 |
EPS |
1, 3, 4, 7, 8, 24 |
PS2 |
please click here |
EPS2 |
please click here |
PS3 |
please click here |
EPS3 |
please click here |
PDB |
1, 7, 8 |
ART |
1 |
JNG |
7, 24 |
PALM |
please click here |
SGI |
1, 3, 4, 7, 8, 24 |
VICAR |
none |
SUN |
1, 7, 8, 24 |
PTIF |
please click here |
PPM |
24 |
PGM |
7 |
PBM |
1 |
PAM |
1, 7, 24 |
PICT |
please click here |
PCD |
24 |
EPSF |
1, 7, 8, 24 |
MAT |
7, 24 |
FAX |
1 |
DPX |
24 |
DIB |
1, 3, 4, 7, 8, 24 |
AVS |
24 |
|
-g <int> |
Set rotate an image in 90, 180, 270,clockwise direction. |
-w <int> |
Set width of the output image files. |
-h <int> |
Set height of the output image files. |
-e <string> |
Custom page range, Example:
"first" Extract the first page.
"last" Extract the last page.
"even" Extract even pages.
"odd" Extract odd pages.
"1,3,5-7,9-" Extract page 1, page 3, page 5 through 7, page 9 through end.
|
-c <string> |
Set compression method in generated files.
Supports compression: "NONE", "LZW", "JPEG", "PACKBITS", "G3", "G4", "RLE", "ZIP" |
-m |
Set output to multi-page TIFF file, the default is output to single page TIFF files. |
-r <string> |
Register. |
-? |
Help. |
|
|
TIFF compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8, 24 |
LZW |
1, 3, 4, 7, 8, 24 |
JPEG |
7, 24 |
PACKBITS |
3, 4, 7, 8, 24 |
G4 |
1 |
G3 |
1 |
RLE |
1 |
|
|
GIF compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8 |
LZW |
1, 3, 4, 7, 8 |
RLE |
1, 3, 4, 7, 8 |
|
|
MNG compression tag's definitions(supported color depths in brackets) |
Name |
Description |
JPEG |
7, 24 |
ZIP |
1, 3, 4, 7, 8, 24 |
|
|
PS2 compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8, 24 |
LZW |
1, 3, 4, 7, 8, 24 |
JPEG |
7, 24 |
G3 |
1 |
RLE |
1, 3, 4, 7, 8, 24 |
|
|
EPS2 compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8, 24 |
LZW |
1, 3, 4, 7, 8, 24 |
JPEG |
7, 24 |
G3 |
1 |
RLE |
1, 3, 4, 7, 8, 24 |
|
|
PS3 compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8, 24 |
LZW |
1, 3, 4, 7, 8, 24 |
JPEG |
7, 24 |
G3 |
1 |
RLE |
1, 3, 4, 7, 8, 24 |
ZIP |
1, 3, 4, 7, 8, 24 |
|
|
EPS3 compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8, 24 |
LZW |
1, 3, 4, 7, 8, 24 |
JPEG |
7, 24 |
G3 |
1 |
RLE |
1, 3, 4, 7, 8, 24 |
ZIP |
1, 3, 4, 7, 8, 24 |
|
|
PALM compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8, 24 |
G3 |
1 |
RLE |
1, 3, 4, 7, 8, 24 |
|
|
PTIFF compression tag's definitions(supported color depths in brackets) |
Name |
Description |
NONE |
1, 3, 4, 7, 8, 24 |
LZW |
1, 3, 4, 7, 8, 24 |
JPEG |
7, 24 |
G4 |
1 |
G3 |
1 |
RLE |
1, 4, 7, 8, 24 |
ZIP |
1, 3, 4, 7, 8, 24 |
|
|
PICT compression tag's definitions(supported color depths in brackets) |
Name |
Description |
JPEG |
7, 24 |
RLE |
1, 3, 4, 7, 8, 24 |
|
|
---------------------------------------------------------------------------------------------------------------------------------------- |
Example: |
|
pdftoimage -i "c:\input.pdf" -o "c:\output\" |
Extract "c:\input.pdf" to "c:\output\", it is output jpg files. |
|
pdftoimage -i "c:\input.pdf" -i "c:\input\" -o "c:\output\" -t bmp -b 8 |
Extract "c:\input.pdf" and all pdf files placed in"c:\input\" to "c:\output\", it is output 8bits bmp files. |
|
pdftoimage -i "c:\input.pdf" -o "c:\output\" -t tif -c lzw -m |
Extract "c:\input.pdf" to "c:\output\", it is output multi-page TIFF file and using LZW arithmetic. |
|
pdftoimage -i "c:\input.pdf" -o "c:\output\" -e 2-11 -t jpg -q 70 |
Extract pages 2 through 11 of "c:\input.pdf" to "c:\output\", it is output jpg file and quality is 70. |
|
pdftoimage -i "c:\input.pdf" -o "c:\output\" -w 320 -h 240 -v |
Extract "c:\input.pdf" to "c:\output\", it is output size 320x240 image files and view the result image files. |
|
|