How to export a PNG without the Copyright line

• Sep 12, 2020 - 18:35

When I run the following command to export a png from a musicxml file:
./mscore -o FILENAME.png FILENAME.musicxml
the png contains the copyright line at the bottom.

I have created a style with no header and no footer (that would exclude the copyright line).
When I run the same command with the new style (with or without the full path):
./mscore -o FILENAME.png FILENAME.musicxml --style style-no-copyright.mss
./mscore -o FILENAME.png FILENAME.musicxml --style PATH_TO/style-no-copyright.mss
I still get the copyright line at the bottom.

Does anybody have any advice on how to export a PNG from a musicxml file without the copyright line?


Comments

I suppose the XML file contans the copyright information. Open the XML file normaly with musescore, edit copyright properties and export as PNG.

In reply to by Mr Fox

Thank you for your message.

I want to be able to do this from the command line, because I have a few thousand files.

When I open the file normally with musescore, there is no copyright line.

However I took your advice and digged a bit deeper in the xml file.

On the musicxml standards I have found that the copyright information can be in the <rights> or <credit> tags.

And in fact I have found the following line in my musicxml file:

<rights></rights>

Please notice that the tag is empty.

However when I removed this line and ran the command line again, the PNG file did not contain the Copyright line.

For some reason it seems that the copyright line is triggered by the mere presence of the rights tag, even though it's empty.

Well problem solved : )

Do you still have an unanswered question? Please log in first to post your question.