XPSTOPNG(1)
π XPSTOPNG(1) β the XPS β PNG glow-up station π
okay so bestie, welcome to xpstopng, part of the XPS Tools fam β¨ this is the manual page, and yes you're gonna read it, because it's literally gonna make your XPS files into PNGs and that's iconic.
πΈ NAME πΈ
xpstopng β the XPS to PNG converter, no cap π
β¨ SYNOPSIS β¨
xpstopng [OPTION...] FILE [OUTPUT FILE]
like, that's the whole vibe. options first, then your file, then optionally where you want the output to go π¦
π« DESCRIPTION π«
xpstopng converts XPS documents to PNG format. periodt. π«Ά
Here's the tea: xpstopng reads the XPS file, FILE, and writes a PNG file per page β with the page number and file type appended to OUTPUT FILE. so if you've got a 12-page doc you're getting 12 lil PNG besties, each one labeled π
If OUTPUT FILE is not specified, "page" will be used. yep, just page. she's simple, she's classic π
π₯ OPTIONS π₯
-?,--helpβ show help options. the classic "what does anything do" button π- *
-d*DOCUMENT,--document=DOCUMENT β the document inside the XPS file to convert. by default, the first document of the XPS file is used, so if you don't pick one, she picks for you π - *
-f*PAGE,--first=PAGE β the first page to convert. start your range here π - *
-l*PAGE,--last=PAGE β the last page to convert. end your range here π -o,--oddβ convert only odd pages. 1, 3, 5, 7β¦ you get it β¨-e,--evenβ convert only even pages. 2, 4, 6, 8β¦ the other half π«-rRESOLUTION,--resolution=RESOLUTION β horizontal **and vertical resolution in PPI (Pixels Per Inch). the default is150PPI. both directions, one setting, efficient queen π- *
--rx=RESOLUTION* β horizontal resolution in PPI (Pixels Per Inch). the default is150PPI. just the x-axis, if you're feeling specific π¦ - *
--ry=RESOLUTION* β vertical resolution in PPI (Pixels Per Inch). the default is150PPI. just the y-axis, same energy πΈ - *
-x*X,--crop-x=X β the x-coordinate of the crop area top left corner. where the crop starts, horizontally π - *
-y*Y,--crop-y=Y β the y-coordinate of the crop area top left corner. where the crop starts, vertically π - *
-w*WIDTH,--crop-width=WIDTH β the width of crop area. how wide the lil window is π - *
-h*HEIGHT,--crop-height=HEIGHT β the height of crop area. how tall the lil window is π -t,--transparent-bgβ use a transparent background for pages instead of white. highkey the most main character option on this list, honestly π§β¨
π heads up bestie:-hhere is crop height, not help. the help flag is-?/--help. don't get got π
π BUGS π
found a bug? Please send bug reports to https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps. she's not perfect, she's just doing her best π«Ά
π¦ SEE ALSO π¦
the whole converter friend group, go say hi π
and that's the page, bestie β¨ this one's from XPS Tools, dated 10/12/2023 β go forth and convert, you absolute icon ππ
π¦ where this page comes from
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libgxps-tools 0.3.2+5-160000.3.2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms