icony is a command line tool written in Swift that makes resizing your 1024 png file into icons a breeze
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
icony accepts either one or both of the following arguments:
- Required: The path to the original image. Preferably sized 1024X1024px. Any different size will be resized accordingly.
- Optional: The path to save the created icons. If not passed, icony will save to
~/Desktop/icons/...
icony creates the iTunesArtwork
files (sizes 1024 and 512) and an AppIcon.appiconset
folder that you can drag straight into your Xcode project!
- Add to Homebrew
- Recieve path to Xcode project to automatically copy the
.appiconset
folder into.xcassets