Convert ASCIIDOC to WEBP

Turn ASCIIDOC files into WEBP 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

AsciiDoc pages as WebP images.Each page of the document becomes one WebP picture, typeset and ready to view.

  1. What you get

    One WebP per page. The pages are typeset in Libertinus Serif, with code in DejaVu Sans Mono, on A4 unless you set Page size to Letter. Each page is drawn at 150 dpi and quality 90 unless you ask for something else.

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

  2. What changes

    Images in the AsciiDoc become their description, so the pictures themselves do not appear on the page. A document that includes other files is refused.

    The result is a picture of each page, not text. You cannot select or edit the words in the WebP.

  3. Sharpness and size

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

    Quality runs from 1 to 100. Above 90 the file grows quickly while the picture barely changes. Turn on Lossless to keep text edges exact. The result is much bigger than a lossy one.

    Set Width (px) to give the result an exact width. The height follows the aspect ratio unless you also give it, and then the picture can be stretched. WebP holds at most 16383 pixels a side, so width stops there. To change the size of a finished picture, see resize WEBP.

ASCIIDOC and WEBP.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 · lossless

    Lossless

    Encodes without losing anything where the format can. The result is identical to the input in pixels or samples, and much bigger than a lossy one.

  3. 03 · 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
  4. 04 · 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.

  5. 05 · 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
  6. 06 · 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 16383

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

WebP

Google's web image format with lossy and lossless modes, alpha and animation. Smaller than JPEG and PNG.

Extensions
.webp
MIME type
image/webp
Kind
Images

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

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

Questions.What people ask about ASCIIDOC to WEBP.

01OF 04

One WebP per page. Set Pages to a range such as 1-3,7 to convert only some pages.

No. Images become their description. The rest of the page, including tables and source blocks, is kept.

Yes. Set Page size to Letter. Auto lets each page take the size of its own content.

Documents that include other files are refused.

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