xps2png

Package: WA2L/WinTools 1.2.08
Section: General Commands (1)
Updated: 12 June 2018
Index Return to Main Contents

 

NAME

xps2png - convert XPS files to PNG

 

SYNOPSIS

WA2LWinTools/bin/xps2png [ -h | -i | -u | -V ]

xps2png [ -n ][ file... ]

 

AVAILABILITY

WA2L/WinTools

 

DESCRIPTION

convert one or more *.xps file(s) to *.png file(s).

Each given file1.xps is converted to file1.png as long as the destination file ( file1.png ) does not exist already.

The xps2png command should be installed to the 'Send To' context menu in 'Microsoft™ Windows Explorer' for most convenient usage. To do so, invoke xps2png -i once.

The default resolution of the PNG file produced is 300 DPI. The resolution can be changed by setting XPS2PNG_RESOLUTION=resolution in the optional etc/xps2png.cfg file.

 

OPTIONS

-h
usage message.

-i
install the xps2png command as menu point 'xps2png' to the 'Send To' context menu in 'Windows Explorer'.

-u
uninstall the xps2png shortcut from the 'Send To' context menu in 'Windows Explorer'.

-V
print program version.

-n
non interactive execution. This prevents the message box dialog at the end of the program execution. Using -n the xps2png command can be used in batch processing without any user intervention.

file...
list of *.xps files to convert to *.png . When installed in the 'Send To' menu the selected file(s) in 'Windows Explorer' are passed as a list of files to the xps2png command and all given XPS files are converted and saved as a separate PDF file.

If no file is specified, you are queried to select the file(s) by a open file box dialog where you then can select file(s) to be processed.

 

ENVIRONMENT

-

 

EXIT STATUS

0
no error.

1
files were skipped or conversion failed.

2
shortcut in 'SendTo' menu could not be removed.

4
usage message displayed.

5
program version printed.

6
program variant not known. This error occurs when the xps2png command is renamed.

 

FILES

etc/xps2png.cfg
optional configuration file for xps2png. See: xps2png.cfg(4) for more information.

 

EXAMPLES

See: epub2mobi(1).

 

SEE ALSO

wintoolsintro(1), epub2mobi(1), config(1m), xps2pdf(1), xps2png.cfg(4)

 

NOTES

The xps2png command uses internally gxps , a command that is part of GhostXPS, an implementation of the Microsoft™ XPS document format built on top of Ghostscript.

For more information about gxps and GhostXPS, see: http://www.ghostscript.com/GhostXPS.html .

 

BUGS

-

 

AUTHOR

xps2png was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2020 Christian Walther

This is free software; see WA2LWinTools/man/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
OPTIONS
ENVIRONMENT
EXIT STATUS
FILES
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 16:33:26 GMT, September 14, 2024