Convert HUMDRUM to PNG

Turn HUMDRUM files into PNG files. The score is engraved anew on A4 pages with every staff, the title and composer from the reference records, lyrics, dynamics and other markings.

Converted in an isolated sandbox on our serversDeleted after 24 hours

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

A Humdrum score as PNG pages.Each page of the engraved score becomes one picture.

  1. What you get

    The score is engraved anew on A4 pages. Every staff is drawn, along with the title and composer from the reference records, the lyrics, the dynamics and other markings.

    Each page becomes one PNG, so a longer score gives you several files. The resolution is 150 dpi unless you set Resolution (dpi) or Width (px).

  2. What changes

    The layout is not copied from the file. System breaks and layout hints in the Humdrum file are not used, so the pages are laid out fresh and may break where the file does not.

  3. Size and sharpness

    Set Resolution (dpi) to change how many pixels each inch of the page gets. Higher is sharper and makes a bigger file. Around 150 reads well on screen, and 300 is the usual choice for print. The range is 36 to 600.

    Set Width (px) to give the result an exact width in pixels, from 1 to 20000. The height follows the aspect ratio unless you also give it, in which case the picture can be stretched. To change a PNG afterwards, try resize PNG.

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

Humdrum

Sheet music written as columns of text, most often kern, used for music research and large score collections.

Extensions
.krn
MIME type
text/x-humdrum
Kind
Text and data
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 HUMDRUM to PNG conversion through the API, for your app or your agent.

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

Questions.What people ask about HUMDRUM to PNG.

01OF 04

Yes. They are taken from the reference records in the file and drawn on the page.

No. System breaks and layout hints in the file are not used. The score is engraved anew on A4 pages.

One PNG per page. A score that fills several pages gives several files.

300 dpi is the usual choice for print. Set Resolution (dpi) to 300 to get it.

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