Convert MEDIAWIKI to JPG

Turn MEDIAWIKI files into JPEG files. Typeset in Libertinus Serif with code in DejaVu Sans Mono on A4 pages unless page_size says letter, with sections, lists, wiki tables, code, references as footnotes and math.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Wiki articles as JPG pages.Each page of the typeset article becomes one JPG at 150 dpi and quality 90.

  1. What you get

    The MediaWiki markup is typeset on A4 pages in Libertinus Serif, with code in DejaVu Sans Mono. Sections, lists, wiki tables, code, references and math are laid out as part of the page.

    References appear as footnotes. Each page is written as its own JPG, so an article gives you one or more files.

  2. What it leaves behind

    Templates such as infoboxes are left out, because they live on the wiki and not in the markup. A reference that is reused by name becomes an empty note.

    Images become their caption. The picture itself is not drawn.

    JPG is lossy, so the text is compressed and some detail is lost.

  3. Options

    Set Page size to Letter for 8.5 × 11 in pages, or to auto so each page takes the size of its own content. A4 is the default.

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

    Quality runs from 1 to 100. Above 90 the file grows quickly while the picture barely changes. Set Width (px) to give the result an exact width, and the height follows the aspect ratio unless you also give it.

    Set Pages to convert only some pages, for example 1-3,7. Every page is read when it is left out.

MEDIAWIKI and JPG.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 · quality

    Quality

    How much detail lossy compression keeps. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.

    1 to 100 default 90
  5. 05 · 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 · MEDIAWIKI

MediaWiki

MediaWiki markup, the syntax of Wikipedia articles.

Extensions
.wiki .mediawiki
MIME type
text/x-wiki
Kind
Text and data
To · JPG

JPEG

Lossy photo compression that every device and browser opens. Small files, no transparency.

Extensions
.jpg .jpeg .jfif .jpe
MIME type
image/jpeg
Kind
Images

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

terminal
$ cv convert report.wiki report/ --to jpeg
$ cv convert report.wiki report/ --to jpeg

Questions.What people ask about MEDIAWIKI to JPG.

01OF 04

Each page becomes one JPG, so a long article gives several files.

No. Templates such as infoboxes live on the wiki, so they are left out.

No. An image becomes its caption.

Yes. Set Page size to Letter. A4 is used unless you change it.

More conversions.Other ways in and out of MEDIAWIKI and JPG.