3 RESOLUTIONS="64 48 32 16"
6 XPM_OPTS="-channel A -threshold 50%"
8 for RES in 64 48 32 16 ; do
9 $CONVERT -resize ${RES}x${RES} wsicon256.png wsicon${RES}.png
10 $CONVERT -resize ${RES}x${RES} $XPM_OPTS wsicon256.png xpm:- | \
11 sed -e "s/^static char \*-/static const char *wsicon${RES}_xpm/" > \
15 for RES in 48 32 16 ; do
16 $CONVERT -resize ${RES}x${RES} $XPM_OPTS wsiconcap256.png xpm:- | \
17 sed -e "s/^static char \*-/static const char *wsiconcap${RES}_xpm/" > \