XPSTOSVG(1)
β¨ XPSTOSVG(1) β¨
okay so bestie, welcome to the xpstosvg stan page π this whole thing lives inside the XPS Tools manual, and it's genuinely the glow-up your XPS files have been waiting for. let's get into it π
π¦ SYNOPSIS π¦
xpstosvg [OPTION...] FILE [OUTPUT FILE]
like, that's the whole vibe. one file in, one SVG out, and a whole pile of options if you're feeling extra π
πΈ DESCRIPTION πΈ
xpstosvg converts XPS documents to SVG format. no cap, that's literally the job β¨ it reads the XPS file, FILE, and writes an SVG file, OUTPUT FILE.
and if you're too cool to name your OUTPUT FILE? no worries bestie, the output filename gets derived from the FILE filename. it just knows π
π OPTIONS π
-?,--helpβ show help options. the classic "help me help you" moment π«Ά-d DOCUMENT,--document=DOCUMENTβ the document inside the XPS file to convert. by default, the first document of the XPS file is used, which is honestly so chill of it π§-f PAGE,--first=PAGEβ the first page to convert. your starting line β-l PAGE,--last=PAGEβ the last page to convert. the grand finale π¬-o,--oddβ convert only odd pages. only the quirky ones π-e,--evenβ convert only even pages. balanced queen energy π-r RESOLUTION,--resolution=RESOLUTIONβ horizontal and vertical resolution in PPI (Pixels Per Inch). the default is150PPI, and it does both directions at once because it's efficient like that π₯--rx=RESOLUTIONβ horizontal resolution in PPI (Pixels Per Inch). the default is150PPI. x-axis only, she's specific π--ry=RESOLUTIONβ vertical resolution in PPI (Pixels Per Inch). the default is150PPI. y-axis only, equally specific π©΅-x X,--crop-x=Xβ the x-coordinate of the crop area top left corner π-y Y,--crop-y=Yβ the y-coordinate of the crop area top left corner π-w WIDTH,--crop-width=WIDTHβ the width of crop area βοΈ-h HEIGHT,--crop-height=HEIGHTβ the height of crop area βοΈ--paper-width=WIDTHβ the paper width π--paper-height=HEIGHTβ the paper height π--expandβ expand pages smaller than the paper to fill the paper. by default, pages are not scaled, so this is the "go big or go home" toggle π₯--no-shrinkβ don't scale pages which are larger than the paper. by default, pages larger than the paper are shrunk to fit. so this one's the "let it overflow, I dare you" option π--no-centerβ don't center on the paper pages smaller than the paper (after any scaling). by default, pages smaller than the paper are aligned to the lower-left corner. iykyk π«Ά
π BUGS π
found a bug? bestie, please send bug reports to https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps β they genuinely want to hear it, no gatekeeping π
π SEE ALSO π
xpstojpeg(1) xpstopng(1) xpstopdf(1) xpstops(1) β the whole squad, go say hi π
and that's the page, bestie π huge thanks to XPS Tools, version stamped 10/12/2023 β she's XPSTOSVG(1) and she ate π
β¨
π¦ 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