35.5 Draw
The draw utility is the most commonly used tool, capable of converting/rendering
documents to a range of bitmap and vector formats. It performs a similar task to the
convert utility, using a different set of internal mechanisms. Which is better for any
given task is often a matter of taste.
$ mutool draw mudraw version 1.11 Usage: mudraw [options] file [pages] -p - password -o - output file name (%d for page number) -F - output format (default inferred from output file name) raster: png, tga, pnm, pam, pbm, pkm, pwg, pcl, ps vector: svg, pdf, trace text: txt, html, stext -s - show extra information: m - show memory use t - show timings f - show page features 5 - show md5 checksum of rendered image -R - rotate clockwise (default: 0 degrees) -r - resolution in dpi (default: 72) -w - width (in pixels) (maximum width if -r is specified) -h - height (in pixels) (maximum height if -r is specified) -f - fit width and/or height exactly; ignore original aspect ratio -B - maximum band_height (pgm, ppm, pam, png output only) -W - page width for EPUB layout -H - page height for EPUB layout -S - font size for EPUB layout -U - file name of user stylesheet for EPUB layout -X disable document styles for EPUB layout -c - colorspace (mono, gray, grayalpha, rgb, rgba, cmyk, cmykalpha) -G - apply gamma correction -I invert colors -A - number of bits of antialiasing (0 to 8) -A -/- number of bits of antialiasing (0 to 8) (graphics, text) -l - minimum stroked line width (in pixels) -D disable use of display list -i ignore errors -L low memory mode (avoid caching, clear objects after each page) -P parallel interpretation/rendering -N disable ICC workflow ("N"o color management) -O Control spot rendering 0 = No spot rendering 1 = Overprint simulation 2 = Full spot rendering -y l List the layer configs to stderr -y - Select layer config (by number) -y -{,-}* Select layer config (by number), and toggle the listed entries pages comma separated list of page numbers and ranges