Convert MEI to PNG
Turn MEI files into PNG files. The score is engraved anew on A4 pages with every movement one after another, every staff, the title and composer from the header, lyrics, dynamics, tempo and other markings.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop MEI files on the dialor turn it to pick what to do
Sheet music as PNG pages.The score is engraved again on A4 pages, one PNG for each page.
What you get
Every movement is set one after another, with every staff. The title and composer come from the header, and lyrics, dynamics, tempo and other markings are drawn too.
Each page becomes one PNG, at 150 dpi unless you set Resolution (dpi) or Width (px) to something else. A score with several pages gives you several files.
What changes
The file's own page layout, fonts and system breaks are not used. The score is engraved anew, so the pages follow the A4 layout and not the layout stored in the MEI file.
Size and sharpness
Resolution (dpi) sets how many pixels each inch of the page becomes, 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 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. To change PNGs afterward, see resize PNG.
MEI and PNG.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 · 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
MEI
Music Encoding Initiative XML, the scholarly format for sheet music that digital editions and music libraries use.
- Extensions
- .mei
- MIME type
- application
/mei +xml - Kind
- Text and data
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 MEI to PNG conversion through the API, for your app or your agent.
$ cv convert report.mei report/ --to png$ cv convert report.mei report/ --to pngQuestions.What people ask about MEI to PNG.
No. The page layout, fonts and system breaks in the file are not used. The score is engraved anew on A4 pages.
Each page becomes one PNG, so you get one or more files, such as one per page.
300 dpi is the usual choice for print. Set Resolution (dpi) to 300. The default is 150, which reads well on screen.
Yes. The title and composer come from the header, and lyrics, dynamics, tempo and other markings are drawn on the pages.