All Projects → jessesquires → app-icons-script

jessesquires / app-icons-script

Licence: MIT license
Photoshop script to generate all iOS and macOS app icons

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to app-icons-script

photoshop-scripts
Photoshop Scripts for the TinyPNG & TinyJPG Photoshop plugin
Stars: ✭ 43 (-41.1%)
Mutual labels:  photoshop-script

app-icons-script

Photoshop script to generate all iOS and macOS app icons

Make one 1024x1024 App Icon, let this script automate the rest.

This script will create all of your app icon images from a single 1024x1024 "iTunesArtwork" PNG. It saves icons in PNG-24 using Save For Web and removes metadata. The generated PNGs are named with the following scheme: Icon-<size><density>.png, for example [email protected].

💡 Note:

These instructions (and install script) are for Photoshop CC 2019.

For a different version, simply edit the VERSION variable in the script.

Installation

$ git clone https://github.com/jessesquires/app-icons-script.git
$ cd app-icons-script/
$ [sudo] ./install.sh

Usage

  1. Open Photoshop CC (may require restart if open during install)
  2. Select script from File > Scripts menu
  3. Follow the dialog prompts
  4. 🎉 🍺

⚠️ Warning! ⚠️

This script does not handle naming collisions, it will overwrite any existing files with the same names in the destination directory.

Generating Asset Catalogs

This repo also contains a script to generate asset catalogs (genAssetCatalog.sh) using the output from the Photoshop scripts. It can create a complete AppIcon asset catalog for iOS or watchOS that is ready to import directly into your Xcode project.

The script should be executed with the following options:

$ ./genAssetCatalog.sh <source path to icons> <destination path> <catalog name> [ios | watch]

Example:

$ ./genAssetCatalog.sh ~/Desktop/icons/ ~/Desktop/assets/ AppIcon ios

Documentation

Credits

Modified and maintained by @jessesquires

Original script by @mattdipasquale

Later modified by @appsbynight

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].