]> git.donarmstrong.com Git - lilypond.git/commit
MusicXML: Convert colors in text markup using \with-color #(rgb-color ...)
authorReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 23 Oct 2007 00:07:35 +0000 (02:07 +0200)
committerReinhold Kainhofer <reinhold@kainhofer.com>
Tue, 23 Oct 2007 00:07:35 +0000 (02:07 +0200)
commitdf97051c63a88ee4f7b8985818ef87fe23ade969
treeae45280d2414d594c2768370dd1f4ee3f3bd70bb
parentaa6bffb8e6e85c341ee0edc660da3cea25df49df
MusicXML: Convert colors in text markup using \with-color #(rgb-color ...)

Now that we have the rgb-color scheme function in git, make use of it in
text markup conversion. In MusicXML, the color is given as #AARRGGBB
or #RRGGBB, we simply ignore the alpha channel, extract the r, g and b
values and scale them to the 0.0 - 1.0 range
input/regression/musicxml/16a-Text-PJB.xml
scripts/musicxml2ly.py