将图像转换为 .icns 文件 AppleScript Obj-C [英] convert image to .icns file AppleScript Obj-C

查看:32
本文介绍了将图像转换为 .icns 文件 AppleScript Obj-C的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 applescript 将 .png 图像转换为 .icns?任何帮助将不胜感激.

how can I convert a .png image to a .icns using applescript? Any help would be greatly appreciated.

推荐答案

你能用 sips 吗?

Could you just use sips?

sips -s format icns test.png -o test.icns

它似乎不支持 1024 x 1024 图像或创建较小的版本.

It doesn't seem to support 1024 x 1024 images or create smaller versions though.

这篇关于将图像转换为 .icns 文件 AppleScript Obj-C的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆