Scroll to navigation

MURASTER() MURASTER()

NAME

muraster -

This is a much simpler version of mutool draw command. As such it can be used to quickly rasterize an input file with a set of options.

COMMAND LINE OPTIONS

muraster [options] file [pages]


[options]

The password needed to open a password protected PDF file.
The output file name.
The output format (default inferred from output file name), e.g. pam, pbm, pgm, pkm, ppm.
Show extra information: - m: show memory use. - t: show timings.
Set a rotation for the output (default auto): - auto. - 0. - 90. - 180. - 270. - clockwise.
Comma separated x and y resolution in DPI (default: 300,300).
Printable width (in inches) (default: 8.27).
Printable height (in inches) (default: 11.69).
Fit file to page if too large.
Set the minimum band height (e.g. 32).
Sets the maximum band memory (e.g. 655360).
Page width for EPUB layout.
Page height for EPUB layout.
Font size for EPUB layout.
File name of user stylesheet for EPUB layout
Disable document styles for EPUB layout
Set anti-aliasing level.
  • 0: off.
  • 2: 4 levels.
  • 4: 16 levels.
  • 8: 256 levels.

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.

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.

muraster -o test.ppm -R clockwise -A 0/8 mupdf_explored.pdf 1