Skip to content
/ icony Public

icony is a script written in Swift that makes resizing your 1024 png file into icons a breeze

Notifications You must be signed in to change notification settings

avielg/icony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

icony

icony is a command line tool written in Swift that makes resizing your 1024 png file into icons a breeze

icony gif

Usage

Use the binary:

./icony original.png path/to/save

Or the swift directly:

swift icony.swift img.png path/to/save

Or compile the swift, then call your binary:

swiftc icony.swift -o icony
./icony img.png path/to/save
  • To call icony from anywhere, add it to your PATH

Arguments

icony accepts either one or both of the following arguments:

  1. Required: The path to the original image. Preferably sized 1024X1024px. Any different size will be resized accordingly.
  2. Optional: The path to save the created icons. If not passed, icony will save to ~/Desktop/icons/...

Output

icony creates the iTunesArtwork files (sizes 1024 and 512) and an AppIcon.appiconset folder that you can drag straight into your Xcode project!

Future

  • Add to Homebrew
  • Recieve path to Xcode project to automatically copy the .appiconset folder into .xcassets

About

icony is a script written in Swift that makes resizing your 1024 png file into icons a breeze

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages