Convert HTMLZ to PNG

Turn HTMLZ books into PNG 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

Book pages as PNG images.Each page of the HTMLZ book becomes one PNG, on A4 unless you choose otherwise.

  1. What you get

    One PNG for each page. The headings, paragraphs, lists, tables, notes and images are drawn in a plain style set in Liberation Serif.

    Pages are A4 and drawn at 150 dpi unless you change Page size, Resolution (dpi) or Width (px).

  2. What it leaves behind

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

  3. Options

    Set Page size to Letter for 8.5 × 11 in pages. Choose auto and each page takes the size of its own content.

    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.

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

    Set Width (px) to fix the exact width of the result. The height follows the aspect ratio unless you also give it, and then the picture can be stretch.

HTMLZ and PNG.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 · 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 · 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 · PNG

PNG

Lossless raster images with an alpha channel. Screenshots, icons and graphics with sharp edges.

Extensions
.png
MIME type
image/png
Kind
Images

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

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

Questions.What people ask about HTMLZ to PNG.

01OF 04

One PNG per page, so a book gives one or more files.

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

Yes. Set Pages to a range such as 1-3,7, and only those pages are converted.

Raise Resolution (dpi). Around 300 is the usual choice for print.

More conversions.Other ways in and out of HTMLZ and PNG.