changeset 673:62b9eac8e236

24 and 48 are probably useful
author Stefano Rivera <stefano@rivera.za.net>
date Sun, 08 Sep 2013 18:15:26 +0200
parents b9c29fd56b1e
children 03fc9cf0f556
files data/icons/werewolf-sonata_24.png data/icons/werewolf-sonata_48.png source/Makefile
diffstat 3 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
Binary file data/icons/werewolf-sonata_24.png has changed
Binary file data/icons/werewolf-sonata_48.png has changed
--- a/source/Makefile	Sun Sep 08 18:12:54 2013 +0200
+++ b/source/Makefile	Sun Sep 08 18:15:26 2013 +0200
@@ -1,6 +1,6 @@
 IMG_SOURCES = $(shell find images -name '*.svg')
 IMG_TARGETS = $(patsubst %.svg,../data/%.png,$(IMG_SOURCES))
-ICONS = _16.png _32.png _64.png _128.png .xpm .icns .ico
+ICONS = _16.png _24.png _32.png _48.png _64.png _128.png .xpm .icns .ico
 ICO_TARGETS = $(patsubst %,../data/icons/werewolf-sonata%,$(ICONS))
 OPTIMIZE = 1
 
@@ -54,6 +54,13 @@
 	advpng -z4 $@
 endif
 
+../data/icons/%_24.png: icons/%.svg
+	inkscape --export-png $@ --export-width 24 --export-height 24 $<
+ifeq ($(OPTIMIZE),1)
+	optipng -o4 -preserve $@
+	advpng -z4 $@
+endif
+
 ../data/icons/%_16.png: icons/%.svg
 	inkscape --export-png $@ --export-width 16 --export-height 16 $<
 ifeq ($(OPTIMIZE),1)