
1 kawhi 2014-05-27 10:40:23 +08:00 |
2 bianzhifu 2014-05-27 12:07:01 +08:00 #!/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 |
4 dorentus 2014-05-27 14:11:57 +08:00 也可以用系统自带的 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 alexrezit 2014-05-27 14:34:49 +08:00 via iPhone 我都是我每生成的. bitmap 直接 resize 出因 resample 致量下降. |
6 humiaozuzu 2014-05-27 14:35:43 +08:00 @alexrezit 膜拜大大 |
7 alexrezit 2014-05-27 14:48:40 +08:00 via iPhone @humiaozuzu 你吃堡王不黑我行不? |
10 ideacco 2014-05-28 09:16:47 +08:00 可以使用AI或者PS 然后使用自动宏。快速,像素有保证 |
11 cctrv 2014-06-03 20:57:22 +08:00 |