Skip to content

This script is use to generate iOS/macOS/watchOS app icons more easier.

Notifications You must be signed in to change notification settings

dtruong27/ios-icon-generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

iOS/macOS/watchOS APP ICONS Generator

Description

ios-icon-generator is a shell script which aim to generate iOS/macOS/watchOS APP icons easier and simply. image

VERSION: 2.0.0
USAGE:
    ./ios-icon-generator.sh srcfile dstpath

DESCRIPTION:
    This script aim to generate iOS/macOS/watchOS APP icons easier and simply.

    srcfile - The source png image. Preferably above 1024x1024
    dstpath - The destination path where the icons generate to.

AUTHOR:
    smallmuou

EXAMPLE:
    ./ios-icon-generator.sh 1024.png ~/123

Usage

  1. Clone
git clone https://github.com/smallmuou/ios-icon-generator
cd ios-icon-generator
chmod 777 ios-icon-generator.sh
  1. Run
smou:ios-icon-generator $ ./ios-icon-generator.sh 1024.png ~/output/
[INFO] Generate Icon-16.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-32.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-128.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-256.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-512.png ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-1024.png ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Congratulation. All icons for iOS/macOS/watchOS APP are generate to the directory: /Users/smou/output/.

PS: You can find out the icons in ~/output directory.

Refer

History

  • 2.0.0

    • Update iOS icons size
    • Support macOS icons size
    • Support watchOS icons size
    • Remove ImageMagick Dependency
    • Update code structure for add size more easy.
  • 1.0.0

    • Generate all size icons for iPhone and iPad.

License

This script follow MIT license.

Contact

If you have any question with using it, you can email to me. My email is: [email protected]

About

This script is use to generate iOS/macOS/watchOS app icons more easier.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%