LoginSignup
0
0

More than 5 years have passed since last update.

apple-touch-iconを作るときのメモ

Posted at

apple-touch-iconを作るときのメモ。
要ImageMagick。
input.png は 200x200であること。

#!/bin/sh

cp input.png apple-touch-icon-200x200-precomposed.png
cp input.png apple-touch-icon-200x200.png

for size in 180 152 144 120 114 76 72 60 57
do
  convert input.png -resize ${size}x${size} apple-touch-icon-${size}x${size}-precomposed.png
  cp apple-touch-icon-${size}x${size}-precomposed.png apple-touch-icon-${size}x${size}.png
done
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0