make-icns
make-icns is a cli that converts a single PNG image into a ICNS image. It does very quickly with very good quality! It is designed to be simple to use on your local machine and to be easy to implement in other projects.
Installation
You may need to use
sudoto install the package globally. If you get an error installing with sudo, you might want to add--unsafe-permto the command. This CLI has been tested on macOS Catalina and Ubuntu 18.04 (LTS).
$ npm i -g make-icnsAfter installing the cli globally or on your project, you are ready to use it.
Usage
In order to get a good quality icon, the picture must be at least 1024x1024 pixels.
This command will convert your PNG into an ICNS in the destination directory. The generated ICNS file will by default take the name of the PNG file. Note that the new image will also override any ICNS file with the same name and extension in the destination directory.
Command:
$ mk-icns <png-file-path> <destination-directory>Options:
| Options | Desription | Type |
|---|---|---|
| -n | Name the generated ICNS file | string |
| -h, --help, help | Show help | - |
Example:
$ mk-icns /path/to/pngFile.png /destination/directory -n "ThisIsAnICNSFile"Author
- Vu Dang Khoa Chiem - Doudou8
License
This project is licensed under the MIT License - see the LICENSE file for details

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
