for the Score extension it would be nice to output SVG images, the SVG images produced by lilypond have lots of white space (it outputs paper sheets), covert can give the outer bound and offset of the area we want to display:
I.e. for http://upload.wikimedia.org/wikipedia/test2/d/d5/ScoreSVGTest.svg $ convert ScoreSVGTest.svg -trim info:- ScoreSVGTest.svg SVG 434x267 744x1052+27+23 16-bit DirectClass 0.010u 0:00.009 If SVG is scaled to 744x1052, we want to crop it to 434x267 starting at (27, 23) Does anyone know how to translate this into the width/height/viewBox properties in SVG? _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l