Export parts to SVG
When exporting scores via the command line, I found how to export parts to pdf. How can I export parts to svg?
When exporting scores via the command line, I found how to export parts to pdf. How can I export parts to svg?
Do you still have an unanswered question? Please log in first to post your question.
Comments
See also #317568: Export parts to SVG (which answers this for the GUI, not the command line)
I think (haven't tried it myself) that you'd eposrt part to SVG the very same way as you'd do for PDF, just use .svg as the extension to use.
See https://musescore.org/en/handbook/3/command-line-options, which seems to mean that you'd need the
-P
option and-o
, then the desired output filename including extension.Hmm, possible that
-P
only works for PDF though, in that case the-j
option along with a .json file might work.You may also want to try the batch convert plugin
In reply to See also [#317570] (which… by Jojo-Schmitz
Unfortunately that does not work. With
musescore.mscore -P -o [outfile].pdf [infiie].mscz I get the score as PDF including the parts, whereas
musescore.mscore -P -o [outfile].svg [infile]-mscz delivers SVG files one per page excluding the parts.
In reply to See also [#317570] (which… by Jojo-Schmitz
The json variant I will try later.
In reply to See also [#317570] (which… by Jojo-Schmitz
Yes, the json option works. But this makes the program I'm working on really complicated.
And I do not see the reason, why the svg export does not work, as the mechanism behind is obviously existing.
Nevertheless, thanks for your support. Does it make sense to put a feature request for that?
In reply to Yes, the json option works… by Lonerider
Yes, it does.