Convert ASCIIDOC to JPG

Turn ASCIIDOC files into JPEG files. Typeset in Libertinus Serif with code in DejaVu Sans Mono on A4 pages unless page_size says letter, with attributes filled in, conditional blocks resolved and a table of contents when the document asks for one, keeping sections, lists, tables, source blocks, admonitions and footnotes.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Each page of an AsciiDoc file as a JPG.The document is typeset, then every page is saved as its own picture.

  1. What you get

    One JPG for each page of the document. The text is typeset in Libertinus Serif, with code in DejaVu Sans Mono, on A4 pages unless you choose Letter.

    Sections, lists, tables, source blocks, admonitions and footnotes are kept. Attributes are filled in, conditional blocks are resolved, and a table of contents appears when the document asks for one.

  2. What changes

    Images in the document become their description, so the JPG shows text where a picture was.

    A document that includes other files is refused. JPG is lossy, so the pages are compressed and some detail is not kept.

  3. Size and sharpness

    Pages are drawn at 150 dpi and quality 90 unless you ask otherwise. Set Resolution (dpi) between 36 and 600 for a sharper or coarser page. Higher values make a bigger file.

    Set Quality between 1 and 100 to control how much detail compression keeps. Above 90 the file grows quickly while the picture barely changes.

    Set Width (px) to give the exact width of each picture. The height follows the aspect ratio unless you also give it, and then the picture can be stretched. To change a finished picture, use resize JPG or compress JPG.

  4. Pages and page size

    Set Pages to convert only some pages, with a value such as 1-3,7. Every page is read when it is left out.

    Set Page size to A4, Letter or auto. With auto, each page takes the size of its own content.

ASCIIDOC 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 · ASCIIDOC

AsciiDoc

AsciiDoc, the markup of many software manuals.

Extensions
.adoc .asciidoc
MIME type
text/x-asciidoc
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 ASCIIDOC to JPG conversion through the API, for your app or your agent.

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

Questions.What people ask about ASCIIDOC to JPG.

01OF 04

Each page becomes one JPG, so a document with several pages gives several files.

Yes. Set Pages to single pages and ranges separated by commas, such as 1-3,7.

They become their description. The JPG shows that text instead of the picture.

A document that includes other files is refused.

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