Open GoogleCodeExporter opened 8 years ago
This is what I (Vaclav Hanzl) use in Makefile:
# Create icon with all 6 variants needed for equi4 exe.
# Input .png can be 48x48 or more, e.g. 96==lcm(16,32,48)
# (needs Debian packages icoutils and imagemagick)
.PRECIOUS: %.ico
%.ico: %.png
convert -geometry 16x16 -colors 16 $< $*-0.png
convert -geometry 16x16 -colors 256 $< $*-1.png
convert -geometry 32x32 -colors 16 $< $*-2.png
convert -geometry 32x32 -colors 256 $< $*-3.png
convert -geometry 48x48 -colors 16 $< $*-4.png
convert -geometry 48x48 -colors 256 $< $*-5.png
icotool -c -o $@ $*-[0-5].png
rm $*-[0-5].png
Original comment by vha...@gmail.com
on 25 Nov 2010 at 11:42
Original issue reported on code.google.com by
goo...@rkeene.org
on 26 Mar 2009 at 2:30