Convert MAN to PNG

Turn MAN files into PNG files. Typeset in Libertinus Serif with examples in DejaVu Sans Mono on A4 pages unless page_size says letter as a document rather than a terminal manual, with the sections as headings, tagged paragraphs as definition lists, bold and italic fonts and tables.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop MAN files on the dialor turn it to pick what to do

A manual page as a picture.Each page of the man page becomes one PNG, typeset as a document.

  1. What you get

    One PNG for each page, at 150 dpi unless you set Resolution (dpi) or Width (px). The pages are A4 by default. Set Page size to letter for 8.5 × 11 in pages.

    The text is typeset in Libertinus Serif, with examples in DejaVu Sans Mono. It reads as a document, not as a terminal manual.

  2. What the pages contain

    The sections become headings. Tagged paragraphs become definition lists. Bold and italic fonts and tables are kept.

    Pages written in the BSD mdoc macros keep only their running text.

  3. Options

    Set Resolution (dpi) from 36 to 600. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    Set Page size to auto and each page takes the size of its own content. Set Pages to a list such as 1-3,7 to convert only those pages. Set Width (px) to fix the exact width of the result, from 1 to 20000. The height follows the aspect ratio unless you also give it, and then the picture can be stretched.

    To shrink the result afterwards, see compress PNG. To change its size, see resize PNG.

MAN and PNG.What each format is, and the options this conversion takes.

  1. 01 · dpi

    Resolution (dpi)

    How many pixels each inch of the page becomes when it is drawn as a picture. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print.

    36 to 600 default 150
  2. 02 · page_size

    Page size

    The size of the pages written. A4 is the standard in most of the world and Letter in North America.

    • a4 210 × 297 mm.
    • letter 8.5 × 11 in.
    • auto Each page takes the size of its own content.
    a4 · letter · auto default a4
  3. 03 · pages

    Pages

    Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  4. 04 · width

    Width (px)

    The exact width of the result in pixels. The height follows the aspect ratio unless it is also given, in which case the picture can be stretched.

    1 to 20000

The formats

From · MAN

Man Page

Unix manual pages in troff.

Extensions
.man
MIME type
text/troff
Kind
Text and data
To · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

In your code.The same MAN to PNG conversion through the API, for your app or your agent.

terminal
$ cv convert report.man report/ --to png
$ cv convert report.man report/ --to png

Questions.What people ask about MAN to PNG.

01OF 04

One or more files. Each page becomes its own PNG.

No. The page is typeset as a document, with headings for the sections and definition lists for tagged paragraphs.

Pages written in the BSD mdoc macros keep only their running text.

Yes. Set Pages to single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

More conversions.Other ways in and out of MAN and PNG.