[themes/mkimgmips] Add mail mipmaps and rework filenames.
This commit is contained in:
parent
f57837bfd5
commit
be71da7394
|
@ -33,12 +33,18 @@ convert "static/favicon.svg" -bordercolor white -border 0 \
|
|||
#############################
|
||||
|
||||
for i in 16 32 48 57 64 72 110 114 120 128; do
|
||||
NAMBLUE="twitter-logo-blue-${i}x${i}.png"
|
||||
NAMWHIT="twitter-logo-white-${i}x${i}.png"
|
||||
NAMTWITBLUE="twitter-logo-blue-${i}.png"
|
||||
NAMTWITWHIT="twitter-logo-white-${i}.png"
|
||||
NAMMAILGRAY="mail-gray-${i}.png"
|
||||
NAMMAILWHIT="mail-white-${i}.png"
|
||||
|
||||
convert "static/twitter-logo-blue.png" -resize ${i}x${i} "static/${NAMBLUE}"
|
||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMBLUE}"
|
||||
convert "static/twitter-logo-white.png" -resize ${i}x${i} "static/${NAMWHIT}"
|
||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMWHIT}"
|
||||
convert "static/twitter-logo-blue.png" -resize ${i}x${i} "static/${NAMTWITBLUE}"
|
||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMTWITBLUE}"
|
||||
convert "static/twitter-logo-white.png" -resize ${i}x${i} "static/${NAMTWITWHIT}"
|
||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMTWITWHIT}"
|
||||
convert "static/mail-gray.png" -resize ${i}x${i} "static/${NAMMAILGRAY}"
|
||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMMAILGRAY}"
|
||||
convert "static/mail-white.png" -resize ${i}x${i} "static/${NAMMAILWHIT}"
|
||||
pngcrush ${PNGCRUSHOPTS} "static/${NAMMAILWHIT}"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue