macos下生成icns图标文件

1.新建文件夹,将图片放到该文件夹下,图片命名如下

icon_16x16.png
[email protected]
icon_32x32.png
[email protected]
icon_128x128.png
[email protected]
icon_256x256.png
[email protected]
icon_512x512.png
[email protected]

2.修改文件夹后缀名为 .iconset,例如:app.iconset

3.执行转换命令

iconutil -c icns app.iconset -o app.icns

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章