Convert HTMLZ to WEBP

Turn HTMLZ books into WEBP files. Printed on A4 pages unless page_size says letter, with the headings, paragraphs, lists, tables, notes and images in a plain style set in Liberation Serif.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Your book as WEBP pages.Each page of the HTMLZ book becomes one WebP image at 150 dpi.

  1. What you get

    The book is printed on A4 pages, and each page becomes its own WebP. Headings, paragraphs, lists, tables, notes and images appear in a plain style set in Liberation Serif. The output is one or more files, one per page.

    The default is 150 dpi at quality 90. Set Page size to letter for Letter pages, or to auto so each page takes the size of its own content.

  2. What it leaves behind

    The book's own fonts and layout are not kept. The text is set again in Liberation Serif in a plain style, so the pages do not look like the book in an e-reader.

  3. Options

    Set Pages to convert only some pages, with a range such as 1-3,7. Set Resolution (dpi) between 36 and 600. Around 150 reads well on screen, and 300 is the usual choice for print.

    Turn on Lossless to keep text edges exact. The result is much bigger than a lossy one. Quality sets how much detail lossy compression keeps, and above 90 the file grows quickly while the picture barely changes.

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

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

HTMLZ

Calibre's single-file HTML book. A zip with one HTML file, its images and metadata.

Extensions
.htmlz
MIME type
application/x-htmlz
Kind
Ebooks
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 HTMLZ to WEBP conversion through the API, for your app or your agent.

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

Questions.What people ask about HTMLZ to WEBP.

01OF 04

Yes. Each page becomes one WebP, so a book gives you one or more files.

No. The book's own fonts and layout are not kept. The pages use a plain style set in Liberation Serif.

Turn on Lossless. The result is identical to the input in pixels, and much bigger than a lossy one.

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 HTMLZ and WEBP.