1XPSTOPNG(1) XPS Tools XPSTOPNG(1)
2
3
4
6 xpstopng - XPS to PNG converter
7
9 xpstopng [OPTION...] FILE [OUTPUT FILE]
10
12 xpstopng converts XPS documents to PNG format. xpstopng reads the XPS
13 file, FILE, and writes a PNG file per page with the page number and
14 file type appended to OUTPUT FILE. If OUTPUT FILE is not specified
15 "page" will be used.
16
18 -?, --help
19 Show help options.
20
21 -d DOCUMENT, --document=DOCUMENT
22 The document inside the XPS file to convert. By default, the first
23 document of the XPS file is used.
24
25 -f PAGE, --first=PAGE
26 The first page to convert.
27
28 -l PAGE, --last=PAGE
29 The last page to convert.
30
31 -o, --odd
32 Convert only odd pages.
33
34 -e, --even
35 Convert only even pages.
36
37 -r RESOLUTION, --resolution=RESOLUTION
38 Horizontal and vertical resolution in PPI (Pixels Per Inch). The
39 default is 150 PPI.
40
41 --rx=RESOLUTION
42 Horizontal resolution in PPI (Pixels Per Inch). The default is 150
43 PPI.
44
45 --ry=RESOLUTION
46 Vertical resolution in PPI (Pixels Per Inch). The default is 150
47 PPI.
48
49 -x X, --crop-x=X
50 The x-coordinate of the crop area top left corner.
51
52 -y Y, --crop-y=Y
53 The y-coordinate of the crop area top left corner.
54
55 -w WIDTH, --crop-width=WIDTH
56 The width of crop area.
57
58 -h HEIGHT, --crop-height=HEIGHT
59 The height of crop area.
60
61 -t, --transparent-bg
62 Use a transparent background for pages instead of white.
63
65 Please send bug reports to
66 https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps.
67
69 xpstojpeg(1) xpstopdf(1) xpstops(1) xpstosvg(1)
70
71
72
73XPS Tools 07/20/2023 XPSTOPNG(1)