2016-09-19 23 views
3

我剛剛將我的Xcode更新至版本8,之前構建的AppIcon(用於Xcode 7)已不再有用。我已經嘗試了許多在線AppIcon生成器,但沒有人可以創建一套完整的AppIcon。 APPICON集的新版本如下:Xcode 8的最新AppIcon的大小以及如何以更簡單的方式獲取它們?

enter image description here

此外,我已搜查APPICON的official doc,解釋和說明都是關於以前的版本。甚至有沒有文檔描述了iPhone 7的圖標大小下面是在蘋果文檔的表格:

enter image description here

任何人都知道整套APPICON的大小?無論如何要方便地生成它們?

回答

2

當您看到20pt 2x時,它應該是40x40,60pt 2x 120和60 pt 3x 180,您只需將pt值乘以x值即可。

要生成所有尺寸,我推薦使用Inkscape,這在調整圖像大小方面非常出色。

2

創建1024x1024的圖標,在Mac上安裝的ImageMagick和運行此腳本

#!/bin/bash 

convert icon1024.png -resize 40x40 icon20ptx2.png 
convert icon1024.png -resize 60x60 icon20ptx3.png 

convert icon1024.png -resize 58x58 icon29ptx2.png 
convert icon1024.png -resize 87x87 icon29ptx3.png 

convert icon1024.png -resize 80x80 icon40ptx2.png 
convert icon1024.png -resize 120x120 icon40ptx3.png 

convert icon1024.png -resize 120x120 icon60ptx2.png 
convert icon1024.png -resize 180x180 icon60ptx3.png 
相關問題