Download / clone the script and append to PATH
or place the script in a folder on PATH
.
Change the script to executable
chmod +x img2iconset.sh
... and run with the image
./img2iconset.sh
The script will prompt for input and output options if you don't provide them as arguments.