diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2014-11-29 17:10:40 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-08-13 20:41:36 -0600 |
commit | 902b6028b49d7c87d495769ffc28aba73a00e8ec (patch) | |
tree | f68de9580b042e8f81c41587773d18c9f7c1e655 | |
parent | 451526304f21468199d45566a918a81ce7d3b20f (diff) |
touchup official-2013/optimized-text/Makefile
-rw-r--r-- | Makefile | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,18 +1,19 @@ -# SVG2PNG: Each is buggy in their own way -# ImageMagick: doesn't support transparency -#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-bacground $5) $2 -# librsvg: doesn't support <style> element +## SVG2PNG: Each is buggy in their own way +## Usage: $(call SVG2PNG,infile,outfile[,width,height,background-color]) +## +## ImageMagick: doesn't support transparency +#SVG2PNG = convert $1 -format png $(if $3,-resize $3x)$(if $4,$4) $(if $5,-background $5) $2 +## librsvg: doesn't support <style> element #SVG2PNG = rsvg-convert $1 -o $2 $(if $3,-w $3) $(if $4,-h $4) $(if $5,--background-color=$5) -# Inkscape: messes up gradients +## Inkscape: messes up gradients SVG2PNG = inkscape $1 --export-png $2 $(if $3,-w $3) $(if $4,-h $4) $(if $5,-b '$5') -# PNG2ICO -# png2ico: doesn't read PNG transparency properly +## PNG2ICO +## png2ico: doesn't read PNG transparency properly #PNG2ICO = png2ico $2 $1 -# icotool: has perl dependencies +## icotool: has perl dependencies PNG2ICO = icotool -c $1 -o $2 -# pngcrush is available from [pcr] #PNGCRUSH = cp $1 $2 PNGCRUSH = pngcrush $1 $2 |