logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

xpstopng - XPS to PNG converter

Bugs

       Please send bug reports to https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps.

Description

xpstopng converts XPS documents to PNG format.  xpstopng reads the XPS file, FILE, and writes a PNG file
       per page with the page number and file type appended to OUTPUTFILE. If OUTPUTFILE is not specified
       "page" will be used.

Name

       xpstopng - XPS to PNG converter

Options

-?, --help
           Show help options.

       -dDOCUMENT, --document=DOCUMENT
           The document inside the XPS file to convert. By default, the first document of the XPS file is used.

       -fPAGE, --first=PAGE
           The first page to convert.

       -lPAGE, --last=PAGE
           The last page to convert.

       -o, --odd
           Convert only odd pages.

       -e, --even
           Convert only even pages.

       -rRESOLUTION, --resolution=RESOLUTION
           Horizontal and vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.

       --rx=RESOLUTION
           Horizontal resolution in PPI (Pixels Per Inch). The default is 150 PPI.

       --ry=RESOLUTION
           Vertical resolution in PPI (Pixels Per Inch). The default is 150 PPI.

       -xX, --crop-x=X
           The x-coordinate of the crop area top left corner.

       -yY, --crop-y=Y
           The y-coordinate of the crop area top left corner.

       -wWIDTH, --crop-width=WIDTH
           The width of crop area.

       -hHEIGHT, --crop-height=HEIGHT
           The height of crop area.

       -t, --transparent-bg
           Use a transparent background for pages instead of white.

See Also

xpstojpeg(1) xpstopdf(1) xpstops(1) xpstosvg(1)

XPS Tools                                          04/07/2024                                        XPSTOPNG(1)

Synopsis

xpstopng [OPTION...] FILE [OUTPUTFILE]

return

See Also