themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

How to generate multiple favicons for different devices

$ for s in 57 72 76 114 120 144 152 167 180; do convert -resize $s <large_icon_image> "apple-touch-icon-${s}x${s}.png"; done
$ for s in 16 32; do convert -resize $s <large_icon_image> "favicon-${s}x${s}.png"; done