Convert MDOC to TIFF
Turn MDOC files into TIFF 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, tag lists as definition lists, flags, arguments and command names as code and column lists as tables.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MDOC files on the dialor turn it to pick what to do
A manual page as a TIFF image.Each page of the manual becomes its own lossless TIFF at 150 dpi.
What you get
The manual is typeset as a document, not as a terminal manual. Text is set in Libertinus Serif on A4 pages, and examples are set in DejaVu Sans Mono. Set Page size to letter for Letter pages.
Sections become headings and tag lists become definition lists. Flags, arguments and command names appear as code, and column lists appear as tables.
Each page is saved as one TIFF with lossless compression. A manual with several pages gives you several files, one per page.
Size and resolution
Set Resolution (dpi) to a value 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 Width (px) to give the result an exact width from 1 to 20000 pixels. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched. When you set Width (px), it takes the place of the resolution.
Set Page size to auto and each page takes the size of its own content.
Some pages only
Set Pages to convert only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when Pages is left out.
To join the page images into one file afterwards, you can merge TIFF.
MDOC and TIFF.What each format is, and the options this conversion takes.
- 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 - 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.
a4210 × 297 mm.letter8.5 × 11 in.autoEach page takes the size of its own content.
- 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.
- 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
BSD mdoc Manual
Manual pages written in the semantic mdoc macros of BSD systems and macOS.
- Extensions
- .mdoc
- MIME type
- text
/x -mdoc - Kind
- Text and data
TIFF
A flexible container for lossless images, common in print, scanning and photography.
- Extensions
- .tif .tiff
- MIME type
- image
/tiff - Kind
- Images
In your code.The same MDOC to TIFF conversion through the API, for your app or your agent.
$ cv convert report.mdoc report/ --to tiff$ cv convert report.mdoc report/ --to tiffQuestions.What people ask about MDOC to TIFF.
No. It is typeset as a document, with sections as headings, tag lists as definition lists and column lists as tables. Flags, arguments and command names are shown as code.
One TIFF per page, so a longer manual gives several files.
No. Each page is compressed losslessly.
Set Page size to letter. A4 is the default, and auto sizes each page to its own content.