Command parameters
Command line usage:

xpstoimage <-i XPS File> [-o Output] [Options]

-i <string> Specify XPS files or directory which contains XPS files.
-o <string> Specify output directory.
-w Set overwrite if output file is exist.
-g <string> If no set. default save log in the same folder as program.
-g off Turn off to save log. default is turn on
-g "c:\pdf_stamp.log" Specify log file.
-d Include sub directory.
-# Keep original subfolder.
-s Delete source file when success.
-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".
-q <int> Set jpg/jpeg quality (1-100).
-x <int> Set horizontal resolution in generated image files.
-y <int> Set vertical resolution in generated image files.
-b <int> Set bit count in generated image files. 1, 3(4bit grayscale), 4, 7(8bit grayscale), 8 and 24, default is 24.
-c <string> Set compression method in generated TIFF files. Supports compression: "NONE", "LZW", "JPEG", "PACKBITS", "G3", "G4", "RLE"
-m Set output to multi-page TIFF file, the default is output to single page TIFF files.
-r <string> Register.
-? Help.
----------------------------------------------------------------------------------------------------------------------------------------
Example:
  xpstoimage -i "c:\input.xps" -i "c:\input\" -o "c:\output\" -t bmp -b 8 Extract "c:\input.xps" and all xps files placed in"c:\input\" to "c:\output\", it is output 8bits bmp files.
  xpstoimage -i "c:\input.xps" -o "c:\output\" -t tif -c lzw -m Extract "c:\input.xps" to "c:\output\", it is output multi-page TIFF file and using LZW arithmetic.
  xpstoimage -i "c:\input.xps" -o "c:\output\" -t jpg -q 70 Extract "c:\input.xps" to "c:\output\", it is output jpg file and quality is 70.
  xpstoimage -i "c:\input.xps" -o "c:\output\" -x 100 -y 100 -t tif -m Extract "c:\input.xps" to "c:\output\", it is output multi-page tiff file, and horizontal resolution is 100, vertical resolution is 100