Mac OS X programming FAQ: How can I create a Mac ICNS file for my Mac application?
Lately I've been creating a series of small Mac applications, and as part of that I needed to learn how to make Mac ICNS files from standard image files (PNG, JPG, other). Today I offer a quick tip of my hat to the makers of a Mac application named FastIcns that lets you do just this.
FastIcns is a small, free application from a company named Digital Waters that lets you create a Mac ICNS file from a PNG, JPEG, or other image file very easily. Here's how to do it.
To create a Mac ICNS file from a PNG or JPEG image file using FastIcns, just follow these steps:
Once you have a properly created ICNS file like this, you can place it in your Mac OS X application bundle, and the ICNS images should show up properly in all the usual places -- your application icon, the Dock, and anywhere else you might see your application, such as in the Finder.
For the record, here's the FastIcns file-save dialog:
For today I'm going to run with the assumption that you won't be reading this article unless you know what an ICNS file is, so I'm skipping all that introductory information. For more Mac ICNS file format information, see this Mac Icons Wikipedia page.
To download the FastIcns application, follow this link:
Again, many thanks to the people at Digital Waters for making FastIcns available as a free Mac ICNS file creator.