Convert HUMDRUM to JPG
Turn HUMDRUM files into JPEG 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
Humdrum scores as JPG pictures, one per page.The score is engraved on A4 pages, and each page becomes one JPG.
What you get
The score is engraved anew, not copied from the file's own layout. Every staff is drawn, along with the title and composer from the reference records, lyrics, dynamics and other markings.
A score that fills more than one A4 page gives you more than one file. Each page becomes its own JPG.
What is left behind
System breaks and layout hints in the file are not used. The page is laid out fresh, so lines may break in different places than the file suggests.
JPG is a lossy format, so some detail is lost when each page is saved.
Size and sharpness
Pages are drawn at 150 dpi and saved at quality 90 unless you ask otherwise. 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 Quality between 1 and 100. Higher keeps more detail and makes a bigger file. Above 90 the file grows quickly while the picture barely changes.
Set Width (px) to give the result an exact width in pixels, from 1 to 20000. The height follows the aspect ratio.
HUMDRUM and JPG.What each format is, and the options this conversion takes.
- 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 - 02 · 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 - 03 · 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
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
JPEG
Lossy photo compression that every device and browser opens. Small files, no transparency.
- Extensions
- .jpg .jpeg .jfif .jpe
- MIME type
- image
/jpeg - Kind
- Images
In your code.The same HUMDRUM to JPG conversion through the API, for your app or your agent.
$ cv convert report.krn report/ --to jpeg$ cv convert report.krn report/ --to jpegQuestions.What people ask about HUMDRUM to JPG.
You get one JPG for each page of the engraved score. A short piece may fit on one page, and a longer one gives several files.
Yes. The title and composer come from the reference records, and lyrics, dynamics and other markings are drawn with every staff.
No. System breaks and layout hints in the file are not used. The score is engraved anew on A4 pages.
The default is 150 dpi at quality 90. Change them with Resolution (dpi) and Quality.