MURASTER(1)
β¨ NAME β¨
okay bestie, the title line up top says muraster(), so that's the manual name, and the whole page is about muraster π
muraster is literally a much simpler version of the mutool draw command. As such, it can be used to quickly rasterize an input file with a set of options. no cap, that's the whole point.
π COMMAND LINE OPTIONS π
here's the vibe, the synopsis, the whole shape of it:
muraster [options] file [pages]
πΈ [options]
-ppassword β the password needed to open a password protected PDF file. π-ofilename β the output file name. πΎ-Fformat β the output format (default inferred from output file name), e.g.pam,pbm,pgm,pkm,ppm. πΌοΈ-sinformation β show extra information:m: show memory use. π§t: show timings. β±οΈ
-Rrotation β set a rotation for the output (defaultauto):auto.0.90.180.270.clockwise.
-rx,y β comma separated x and y resolution in DPI (default:300,300). π-wwidth β printable width (in inches) (default:8.27). π-hheight β printable height (in inches) (default:11.69). π-fβ fit file to page if too large. π«Ά-Bheight β set the minimum band height (e.g.32). ποΈ-Mmemory β sets the maximum band memory (e.g.655360). πΎ-Wwidth β page width for EPUB layout. π-Hheight β page height for EPUB layout. π-Ssize β font size for EPUB layout. π€-Ufilename β file name of user stylesheet for EPUB layout. π¨-Xβ disable document styles for EPUB layout. π«-Alevel β set anti-aliasing level.0: off.2: 4 levels.4: 16 levels.8: 256 levels.
-Agraphics level / text level β independently set the anti-aliasing levels for graphics and text. e.g.-A 0/4. β¨
π¦ [pages]
a comma separated list of page numbers and ranges. like, you can pick exactly which pages you want, bestie. π
π Example usage #1
this will render a raster file from page one of the input file mupdf_explored.pdf. the output file will be called test.ppm, have a clockwise rotation and specific graphics/text anti-aliasing applied. iconic.
muraster -o test.ppm -R clockwise -A 0/8 mupdf_explored.pdf 1
and that's the whole manual, fr fr. the footer down there just says muraster() β no version, no date, just the name, minimal main character energy π
β¨. so yeah, that's the source/version/date situation: it's literally just muraster() on its own. periodt. π«Ά
π¦ where this page comes from
- ubuntu resolute: mupdf-tools 1.27.0+ds1-3ubuntu2 Β· AGPL-3.0-or-later
- ubuntu stonking: mupdf-tools 1.27.0+ds1-3ubuntu3 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms