This is a quick script that makes a macOS ICNS file out of your PNGs, JPGs, TIFs and SVGs
ImageMagick is required to run this script
To use:
- Open your Terminal
- Clone the directory to your desired location
- Move to repository's directory
cd path/to/MakeICNS
- Use command
./makeicns.sh path/to/file
- Example 1: Only One File :
./makeicns.sh ~/Pictures/logo.svg
- Example 2: Multiple Files:
./makeicns.sh ~/Pictures/hello.png ~/Pictures/world.jpg
- Example 3: Directory :
./makeicns.sh ~/Pictures/
- You will find the icns file where your image file is
MakeICNS does a few things: MakeICNS accepts multiple arguments for files and folders. Linking may help lower excessive typing. Link by:
ln -s path/to/MakeICNS/makeicns.sh /usr/local/bin/
- Then you can go to your picture's directory and simply type:
makeicns.sh picture.png
- Alternatively you can open your Terminal, type
makeicns.sh
and drag files/folders into Terminal