osxiconutils
osxiconutils copied to clipboard
icns2image doesn't get the default icon
icns2image doens't get the default icon from the icns file that actually used by the application in all cases, frequently getting an alternative icon that isn't used. It says that by default it gets the largest sized icon by resolution, but that doesn't seem to be correct in some cases.
I wish there was a way on the command line to expand ALL representations, or list them, then be able to extract a particular one. I'm wondering if the Application Default icon is typically the largest representation of the first set of icons, rather than just the largest. Also, it isn't clear to me what icns2image does if multiple icons have the same representation size.
Interesting, it seems the Apple built in sips
command can do exactly what I need: https://www.macworld.com/article/1060156/sipsicns.html
Late to the game but have a look at https://github.com/relikd/icnsutil