Giter VIP home page Giter VIP logo

app-icons-script's Introduction

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

app-icons-script's People

Contributors

greghaygood avatar jessesquires avatar likeawesome avatar mzsanford avatar pkclsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

app-icons-script's Issues

Default icon names

The default icon names don't match the schema used for Apple's iconutil, even though they are very close.

iconutil requires:

This script produces:

It seems like minor name tweaks would make iconutil work without requiring a separate rename. Any reason not to change?

install.sh prefers copying files into oldest version of Photoshop instead of newest

Issue: install.sh copies its files into only one folder that it finds (of CC 2019 and 2020). That's the wrong one by default: CC 2019, when 2020 exists, so Script is missing.

Suggestion: copy into all folders found (not just first one), because by default, Adobe does NOT delete the old folder when "uninstalling" the older versions of photoshop -- they're left around in case you want to reinstall later and keep your settings.

Alternate suggestion: reverse the order of VERSIONS so that 2020 is searched first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.