XPSTOJPEG(1)
π xpstojpeg(1) β the XPS to JPEG glow-up π
okay so real talk, bestie: you're looking at a page from XPS Tools, and its whole personality is xpstojpeg β the little icon that turns your XPS docs into JPEGs. no cap, that's the entire arc. β¨
π SYNOPSIS π
xpstojpeg [OPTION...] FILE [OUTPUT FILE]
π¦ DESCRIPTION π¦
so xpstojpeg converts XPS documents into JPEG format, and it's giving very "i do one thing and i do it well" energy. π
here's the vibe: it reads the XPS file you hand it, FILE, and then it writes one JPEG file per page β with the page number and the file type appended to OUTPUT FILE. so yeah, you don't get one big file, you get a whole lil squad of them. π
and if you don't specify OUTPUT FILE at all? no stress, it just uses "page" as the base name. iconic default behaviour tbh. π«Ά
β¨ OPTIONS β¨
-?,--helpβ shows the help options, aka the "tell me everything" button. π§-d DOCUMENT,--document=DOCUMENTβ picks which document inside the XPS file you actually want converted. there can be more than one in there (documentin adocument, we love a nested moment π). by default it takes the first document of the XPS file.-f PAGE,--first=PAGEβ the first page to convert. set the starting line π-l PAGE,--last=PAGEβ the last page to convert. and that's the range, bestie.-o,--oddβ convert only odd pages. one, three, five, the whole odd little crew. π₯-e,--evenβ convert only even pages. two, four, six, you get it. π-r RESOLUTION,--resolution=RESOLUTIONβ horizontal and vertical resolution in PPI (Pixels Per Inch), both at once. the default is150 PPI.--rx=RESOLUTIONβ horizontal resolution in PPI (Pixels Per Inch), just the x side. the default is150 PPI.--ry=RESOLUTIONβ vertical resolution in PPI (Pixels Per Inch), just the y side. the default is150 PPI.-x X,--crop-x=Xβ the x-coordinate of the crop area's top left corner.-y Y,--crop-y=Yβ the y-coordinate of the crop area's top left corner.-w WIDTH,--crop-width=WIDTHβ the width of the crop area.-h HEIGHT,--crop-height=HEIGHTβ the height of the crop area.
β οΈ quick vibe check, because this one gets people every time:-hhere is crop height, not help. if you want help, it's-?. do not come for me, i don't make the rules, i just report them π
π BUGS π
found something cursed? please send those bug reports to:
https://bugzilla.gnome.org/enter_bug.cgi?product=libgxps
they want to hear it, fr fr. π
πΈ SEE ALSO πΈ
(the whole sibling squad β go say hi π)
and that's the whole page, bestie! this little masterpiece is from XPS Tools, dated 10/12/2023, and it ate, no crumbs. go convert something pretty π β¨π¦
π¦ 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