Convert CHM to PNG

Turn CHM books into PNG files. The help pages become chapters in the order of the help file's table of contents.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

Help pages as PNG images.Each page of the help file becomes its own PNG, in table of contents order.

  1. What you get

    One PNG for each page of the help file. The pages follow the order of the help file's table of contents. PNG is a lossless image format with an alpha channel.

    The pages are printed on A4 at 150 dpi unless you change that. Headings, paragraphs, lists, tables, notes and images are set in a plain style in Liberation Serif.

  2. What it leaves behind

    The book's own fonts and layout are not kept. The plain style replaces them.

    Scripts, embedded objects, the help index and search, and pictures loaded from the web are left out. Pages that nothing in the help file links to are left out too.

  3. Options

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

    Set Page size to letter for 8.5 × 11 in. pages. Choose auto and each page takes the size of its own content. Set Width (px) to give the result an exact width from 1 to 20000 pixels. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched.

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

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

Compiled HTML Help

Microsoft's compiled help file: HTML pages, pictures, a table of contents and an index packed into one compressed file, opened by Windows Help.

Extensions
.chm
MIME type
application/vnd.ms-htmlhelp
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 CHM to PNG conversion through the API, for your app or your agent.

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

Questions.What people ask about CHM to PNG.

01OF 04

Many. Each page becomes one PNG, so a help file with several pages gives several files.

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

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

Yes. Raise Resolution (dpi), up to 600. Higher is sharper and makes a bigger file. To change the size afterward, try resize PNG.

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