美文网首页
iOS利用脚本生成 icon

iOS利用脚本生成 icon

作者: iOS收藏家 | 来源:发表于2016-07-15 15:52 被阅读144次

提前准备好一张ICON.png 1024*1024

安装brew
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
更新brew
sudo brew update
安装ImageMagick
sudo brew install ImageMagick
下载ios-icon-generator工程
git clone https://github.com/smallmuou/ios-icon-generator
cd ios-icon-generator/
运行ios-icon-generator脚本
chmod 777 ios-icon-generator.sh
./ios-icon-generator.sh ~/Downloads/ICON.png ~/output
查看icon
ls -l ~/output/
打开目录查看文件
open ~/output/

效果图如下:


Paste_Image.png

友情链接

相关文章

网友评论

      本文标题:iOS利用脚本生成 icon

      本文链接:https://www.haomeiwen.com/subject/hcmyjttx.html