-
-
Save vxxvvxxv/7f09af23e047ecbc47c150d8fe9098f9 to your computer and use it in GitHub Desktop.
Revisions
-
jamieweavis revised this gist
Jan 5, 2022 . No changes.There are no files selected for viewing
-
jamieweavis revised this gist
Aug 18, 2020 . 1 changed file with 10 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,12 @@ # How to create an `.icns` macOS app icon > How to make an application icon for macOS using `iconset` & `iconutil` ## Steps - [Saving images](#saving-images) - [Creating an `.iconset`](#creating-an-iconset) - [Converting to `.icns`](#converting-to-icns) ## Saving images @@ -24,7 +31,7 @@ Save your app icon with the following names & dimensions: 2. Rename the folder to: `icon.iconset` 3. Confirm the file extension when prompted This will convert the folder of images into an iconset, this can be verified by quick looking with the spacebar - a resizable preview of your icon should now appear. ## Converting to `.icns` -
jamieweavis revised this gist
Apr 28, 2018 . 1 changed file with 23 additions and 22 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,32 +1,33 @@ # How to create a `.icns` macOS app icon > How to make an app icon for macOS using `iconset` & `iconutil` ## Saving images Save your app icon with the following names & dimensions: | Name | Dimensions | | ---- | ---------- | | `icon_16x16.png` | `16x16` | | `[email protected]` | `32x32` | | `icon_32x32.png` | `32x32` | | `[email protected]` | `64x64` | | `icon_128x128.png` | `128x128` | | `[email protected]` | `256x256` | | `icon_256x256.png` | `256x256` | | `[email protected]` | `512x512` | | `icon_512x512.png` | `512x512` | | `[email protected]` | `1024x1024` | ## Creating an `.iconset` 1. Move all of the images into a new folder 2. Rename the folder to: `icon.iconset` 3. Confirm the file extension when prompted This will convert the folder of images into an iconset, this can be verified by quick looking with spacebar - A resizable preview of your icon should now appear. ## Converting to `.icns` 1. Navigate to the directory containing your `icon.iconset` in the terminal 2. Run `iconutil` with the following command: `iconutil -c icns icon.iconset` 3. Your `icon.icns` will be generated in the current directory -
Jamie Straw revised this gist
Jul 13, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Save your app icon with the following names/dimentions: |`icon_16x16.png`|`16x16`| |`[email protected]`|`32x32`| |`icon_32x32.png`|`32x32`| |`icon_32x32@2x.png`|`64x64`| |`icon_128x128.png`|`128x128`| |`[email protected]`|`256x256`| |`icon_256x256.png`|`256x256`| -
Jamie Straw created this gist
Mar 19, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,32 @@ # How to create a `.icns` macOS app icon > How to make an app icon for macOS using iconset & iconutil ## Saving images Save your app icon with the following names/dimentions: |Name|Dimentions| |---|---| |`icon_16x16.png`|`16x16`| |`[email protected]`|`32x32`| |`icon_32x32.png`|`32x32`| |`[email protected]`|`64x64`| |`icon_128x128.png`|`128x128`| |`[email protected]`|`256x256`| |`icon_256x256.png`|`256x256`| |`[email protected]`|`512x512`| |`icon_512x512.png`|`512x512`| |`[email protected]`|`1024x1024`| ## Creating `.iconset` 1. Move all of the images into a folder, rename the folder to: `icon.iconset` 2. Add the file extension when prompted This will convert the folder & images into an iconset, this can be verified by looking at the folder with quicklook (`spacebar`). Doing this should display a resizable icon preview. ## Convert to `.icns` 1. Navigate to the `.iconset` file in terminal 2. Run `iconutil -c icns icon.iconset` 3. A file named `icon.icns` will be created in the directory