Help us understand the problem. What is going on with this article?

Macアプリの.icnsを作るときのメモ

More than 5 years have passed since last update.

アイコン画像の準備

.icns変換用に"app_name.iconset"というフォルダを用意し、そこに以下のアイコン画像を入れる。

  1. icon_512x512@2x.png (1024px)
  2. icon_512x512.png
  3. icon_256x256@2x.png (512px, 2と同じ画像サイズ)
  4. icon_256x256.png
  5. icon_128x128@2x.png (256px, 4と同じ画像サイズ)
  6. icon_128x128.png
  7. icon_32x32@2x.png (64px)
  8. icon_32x32.png
  9. icon_16x16@2x.png (32px, 8と同じ画像サイズ)
  10. icon_16x16.png

.iconsetフォルダを.icnsに変換

ターミナルで以下を実行して完了。

Terminal
// .iconsetフォルダのあるファイル断層まで移動
$ cd file_path
// .iconsetを.icnsに変換
$ iconutil -c icns app_name.iconset

GUIでやるなら。。

Icon Creator ってアプリはRetina対応済み。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away