On the mac after downloading Xcode its possible to create .icns files for your apps with a command line function called iconutil assuming that you installed the command line tools associated with Xcode. Make sure those are all enabled. Prior to Xcode 4.4, you would use an application called icon composer but this app has long been deprecated.
So first start by creating a folder called icon.iconset.
mkdir icon.iconset
Then create your image files using whatever image editor you want. Create images that are exactly 512x512, 256x256, 128x128, 32x32, 16x16 in size otherwise the utility will fail.
Then just run the following command in the area you want to create the icon in, not necessarily in the icon.iconset folder.
iconutil -c /filepath/to/icon.iconset/folder
The utility should run fairly quickly and generate a .icns file for you to use!
No comments:
Post a Comment