1 | To create the MacOS icon, do
|
---|
2 | * In GIMP, export the icon to tiff (png might be as good or better), fullsize (currently 128x128 [Aug 08])
|
---|
3 | * You should also export a 16x16 icon to the same format, tweaked for readability at that small size
|
---|
4 | * Go to a mac machine
|
---|
5 | * run 'Icon Composer' and create the icon from the exported tiff
|
---|
6 | * drag fullsize tiff from finder to the appropriate panel in Icon Composer (currently the 128x128 panel)
|
---|
7 | * it should ask about copying the image to different sizes, opt for 'Copy to all smaller sizes'
|
---|
8 | * drag the 16x16 image to the 16x16 panel
|
---|
9 | * exit Icon Composer
|
---|
10 | * you will be asked where to save, save to shared/core/icon/icon.icns
|
---|
11 |
|
---|
12 |
|
---|
13 | To create the Windows icon, do
|
---|
14 | * In GIMP, export icons of these sizes: 128x128, 64x64, 48x48, 32x32, 16x16
|
---|
15 | * 16x16 icon should have the edges cropped for readability at this small size
|
---|
16 | * Open each as a layer in a new GIMP image (File->Open as Layer), and delete other layers (like 'Background')
|
---|
17 | * Save as an ico file
|
---|
18 |
|
---|
19 |
|
---|
20 | To create .ico (Widnows) to .icns (Mac), visit the online converter at http://iconverticons.com/online/
|
---|
21 | Browse to the file, press Options, tick both the icns option and the 32 bit option.
|
---|
22 |
|
---|
23 | http://brettterpstra.com/2011/03/05/grabbing-a-mac-apps-icon-building-blocks/
|
---|
24 | Finding an app's icon with the defaults command
|
---|
25 | On a Mac, every application is actually a folder, referred to as a bundle. Within that folder are libraries, executables and resources (like images and icons). There's also an important file called Info.plist which stores information like the applications name, identifiers, file types andmost relevant right nowthe name of the file containing the applications icon.
|
---|
26 | The application icon is an an .icns file, stored in AppName.app/Contents/Resources.
|
---|
27 | Its title does not have to be the same as the apps, sobefore we can extract and convert itwe need to get its actual filename from Info.plist.
|
---|