mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
try giving the generated pngs transparent backgrounds
This commit is contained in:
parent
c605368cba
commit
60ae8b97c2
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
IMG_SRC = ./img_src
|
||||
IMG_DEST = res
|
||||
PARAMS = -transparent white -negate
|
||||
|
||||
# $(IMG_DEST)/drawable/%_gen.png:
|
||||
# pwd
|
||||
|
@ -11,10 +12,10 @@ IMG_DEST = res
|
|||
# convert -extent 48x48 $< $@
|
||||
|
||||
$(IMG_DEST)/drawable-xhdpi/%__gen.png: $(IMG_SRC)/%.svg
|
||||
convert -negate -scale 64x64 $< $@
|
||||
convert $(PARAMS) -scale 64x64 $< $@
|
||||
|
||||
$(IMG_DEST)/drawable-mdpi/%__gen.png: $(IMG_SRC)/%.svg
|
||||
convert -negate -scale 32x32 $< $@
|
||||
convert $(PARAMS) -scale 32x32 $< $@
|
||||
|
||||
$(IMG_DEST)/drawable-hdpi/%__gen.png: $(IMG_SRC)/%.svg
|
||||
convert -negate -scale 48x48 $< $@
|
||||
convert $(PARAMS) -scale 48x48 $< $@
|
||||
|
|
Loading…
Add table
Reference in a new issue