我现在用的是Prepo,不知道有没有更好用的呢?
|
1
|
|
2
#!/bin/sh
convert appicon.png -resize 57x57 Icon.png convert appicon.png -resize 114x114 Icon\@2x.png convert appicon.png -resize 120x120 Icon-120.png convert appicon.png -resize 72x72 Icon-72.png convert appicon.png -resize 144x144 Icon-72\@2x.png convert appicon.png -resize 76x76 Icon-76.png convert appicon.png -resize 152x152 Icon-76\@2x.png convert appicon.png -resize 29x29 Icon-Small.png convert appicon.png -resize 58x58 Icon-Small\@2x.png convert appicon.png -resize 40x40 Icon-Small-40.png convert appicon.png -resize 80x80 Icon-Small-40\@2x.png convert appicon.png -resize 50x50 Icon-Small-50.png convert appicon.png -resize 100x100 Icon-Small-50\@2x.png |
|
dorentusMay 27, 2014
4
也可以用系统自带的 sips 命令来做,例如:
sips --resampleWidth 60 src.png --out icon-60.png 另外注意一下从 iOS 7 开始图标的大小规格改了,比如应用图标,之前是 57x57,iOS 7 是 60x60 参见: https://developer.apple.com/library/ios/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW1 |
|
5
我都是讓我們設計師每張單獨生成的. bitmap 直接 resize 出來會因為 resample 導致質量下降.
|
|
humiaozuzuMay 27, 2014
6
@alexrezit 膜拜大大
|
|
alexrezitMay 27, 2014 via iPhone
7
@humiaozuzu
請你吃漢堡王不黑我行不? |
|
ideaccoMay 28, 2014
10
可以使用AI或者PS 然后使用自动宏。快速,像素有保证
|
|
cctrvJun 3, 2014
11
|