]> git.donarmstrong.com Git - lilypond.git/commitdiff
Web: fix PNG creation from SVG
authorPatrick McCarty <pnorcks@gmail.com>
Tue, 18 Aug 2009 01:21:35 +0000 (18:21 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Tue, 18 Aug 2009 09:20:39 +0000 (02:20 -0700)
Documentation/pictures/GNUmakefile

index 5aa845a6d1682ccc89f9465f6db5b39ff6fc2a32..d6cca648e276994d849405733fca6280884ec01a 100644 (file)
@@ -35,7 +35,7 @@ $(outdir)/%-flat-bw.png: %-flat-bw.png
        convert -depth 8 -geometry 50x50% $< $@
 
 $(outdir)/%.png: %.svg
-       convert $< $@
+       convert -depth 8 -alpha Off -background white -layers flatten -trim +repage $< $@
 
 $(outdir)/%.png: %.png
        ln -f $< $@