The "convert images" extension allows to convert a png image into an icns (macos icon).
This works only if the input image is smaller than 1024x1024 (e.g. 512x512 works).
The sips command throws an error like this:
Command failed: sips --setProperty format icns "icon1024.png" --out "icon1024.icns"
Error: Unable to write image to file /var/folders/pt/6bk10wb16pq145qb8362myqc0000gn/T/7386AB3C-3126-4175-8817-668937696DDF
Error 13: an unknown error occurred
Try 'sips --help' for help using this tool
The same command throws the same error when run from the terminal.
There are 2 options:
Use sip to resize the input to 512 - not ideal as it reduces the icon quality
Use a different method for creating icns, that is described here
š @SKaplanOfficial @arronhunt @nakaakist @JUSTIVE @patomos you might want to have a look.
š” Author and Contributors commands
The author and contributors of `HelloImSteven/sips` can trigger bot actions by commenting:
- `@raycastbot close this issue` Closes the issue.
- `@raycastbot close as not planned` Closes the issue as not planned.
- `@raycastbot rename this issue to "Awesome new title"` Renames the issue.
- `@raycastbot reopen this issue` Reopens the issue.
- `@raycastbot assign me` Assigns yourself to the issue.
- `@raycastbot good first issue` Adds the "Good first issue" label to the issue.
- `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
Extension
https://www.raycast.com/HelloImSteven/sips
Raycast Version
1.84.2
macOS Version
15.1
Description
The "convert images" extension allows to convert a png image into an icns (macos icon). This works only if the input image is smaller than 1024x1024 (e.g. 512x512 works). The
sips
command throws an error like this:The same command throws the same error when run from the terminal. There are 2 options:
sip
to resize the input to 512 - not ideal as it reduces the icon qualityReferences
Steps To Reproduce
Current Behaviour
Error is thrown
Expected Behaviour
No error :-)