Notate will be a tool for generating low-color bmps of staff music notation.
I’m using Nasu to draw the sprites and store them as the NES .chr data format. Those sprites are blitted onto a color-indexed image, then the image is rendered into a BMP.
In the interest of keeping the tool as simple as possible and removing any dependencies on complex compression libraries, I wanted an uncompressed output format. You can use ImageMagick to compress the result:
notate "drmfsltd" | magick bmp:- my_image.png
ImageMagick – Convert, Edit, or Compose Digital Images
Simplified Windows BMP Bitmap File Format Specification
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Written March 11, 2021, last changed March 23, 2021