Command Parameters previous  top  next 
 
pcltoimage   <-i <string> [...]>
[-o <string>]
[-x <int>]
[-y <int>]
[-q <int>]
[-c <int>]
[-d <int>]
[-t <string>]
[-r <string>]
[-m]
[-h]
Notes: <> -- required    [] -- optional
 
  (1).Input and Output settings
-i <string>  Input source pcl/pxl files or directory which contains pcl/pxl files you want to convert. This parameter can appear several times, such as:
e.g.1) pcltoimage -i "c:\my1.pcl" -i "c:\my2.pxl" -i "c:\my_pcl\" -o "d:\my_image\"
    Extract pcl/pxl files which are "c:\my1.pcl","c:\my2.pxl" and all pcl/pxl files placed in "c:\my_pcl\" to "d:\my_image\".
-o <string>  Set destination directory to output image files, default is in the same directory as source files.
  (2).Image/Page settings
 -x <int>  Set the horizontal resolution of the image, the resolution from 72 to 600, default is 100.
 -y <int>  Set the vertical resolution of the image, the resolution from 72 to 600, default is 100.
-q <int>  Set the JPEG compression quality(1-100), default is 75.
-d <int>  Set the color depth of an image.default is 24.
Value

Description

1 black/white image.
4 16 colors image.
7 256 grayscale image.
8 256 colors image.
24 true color image.
-c <int>  Set the tiff compression mode. The program supports the following mode.default is 5 (Lzw compression).
Value

Description

1 No compression(1-bit, 4-bits, 8-bits grayscal, 8-bits, 24-bits)
2 Rle compression(1-bit)
3 CCITT Group 3 compression(1-bit)
4 CCITT Group 4 compression(1-bit)
5 Lzw compression(1-bit, 4-bits, 8-bits grayscal, 8-bits, 24-bits)
6 Jpeg compression(8-bits grayscale, 24-bits)
7 Packbits compression(4-bits, 8-bits grayscal, 8-bits, 24-bits)
e.g.1) pcltoimage -i "c:\my1.pcl" -o "d:\my_image\" -t "tif" -d 8 -c 7
    Extract all layouts of "c:\my1.pcl" to "d:\my_image\", it is to output 256 colors tiff files which compression mode is Packbits.
-t <string>  File type's definitions, supports the following image type, default is tiff format.
Value

Description

tif The file is tiff format
jpg The file is jpeg format
bmp The file is bmp format
gif The file is gif format
pcx The file is pcx format
png The file is png format
emf The file is emf format
wmf The file is wmf format
e.g.1) pcltoimage -i "c:\my_pcl\" -o "d:\my_image\" -t "bmp" -d 7
    Extract all pcl/pxl files placed in "c:\my_pcl\" to "d:\my_image\", it is to output 256 grayscale image files.
-m  If you set, it convert all layouts of one pcl\pxl file to one multi-page tiff. If not set default is single-page tiff.
e.g.1) pcltoimage -i "c:\my_pcl\" -o "d:\my_image\" -t "tif" -m
    Extract all pcl/pxl files which placed in "c:\my_pcl\" to "d:\my_image\", it is to output multi-page tiff file.
(4).Other settings
-r<string>  Register
e.g) pcltoimage -r "AAAA-AAAA-AAAA-AAAA-AAAA"
-h  Help
(5).Example
e.g.1) pcltoimage -i "c:\my1.pcl" -i "c:\my_pcl\" -o "d:\my_image\" -t "bmp" -d 8
    Extract pcl/pxl files which are "c:\my1.pcl" and all pcl/pxl files placed in "c:\my_pcl\" to "d:\my_image\".It is to output 256 colors bmp format files.

e.g.2) pcltoimage -i "c:\my1.pcl" -o "d:\my_image\" -x 300 -y 300 -t "jpg" -q 100
    Extract pcl/pxl files which are "c:\my1.pcl" to "d:\my_image\".It is to output jpg format file which horizontal resolution is 300, vertical resolution is 300, JPEG compression quality is 100.

e.g3) pcltoimage -i "c:\my1.pcl" -o "d:\my_image\" -m -c 6 -q 100
    Extract pcl/pxl files which are "c:\my1.pcl" to "d:\my_image\".It is to output multi-page tiff format file which compression mode is JPEG, quality 100.


http://www.oakdoc.com  
Copyright 2008 by OakDoc Technology, Inc. All rights reserved.