Browse Source

[themes/mkimgmips] Add mail mipmaps and rework filenames.

master
Lorenzo Cogotti 5 months ago
parent
commit
be71da7394
  1. 20
      themes/doublefourteen/mkimgmips.sh

20
themes/doublefourteen/mkimgmips.sh

@ -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"
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}"
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/${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…
Cancel
Save