Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jordanbaird/createicns
Create 'icns' and 'iconset' files from standard images
https://github.com/jordanbaird/createicns
cli command-line command-line-tool icns icon icons iconset macos macos-icons swift
Last synced: 11 days ago
JSON representation
Create 'icns' and 'iconset' files from standard images
- Host: GitHub
- URL: https://github.com/jordanbaird/createicns
- Owner: jordanbaird
- License: mit
- Created: 2022-03-13T19:48:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-29T01:54:52.000Z (7 months ago)
- Last Synced: 2024-10-25T08:13:17.776Z (18 days ago)
- Topics: cli, command-line, command-line-tool, icns, icon, icons, iconset, macos, macos-icons, swift
- Language: Swift
- Homepage:
- Size: 2.18 MB
- Stars: 33
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CreateICNS
Create 'icns' and 'iconset' files from standard images.
![Header](https://github.com/jordanbaird/createicns/assets/90936861/baa03f04-285a-4781-baf8-32cfe36cf382)
## Install
### Homebrew```sh
brew tap jordanbaird/createicns
brew install createicns
```## Usage
**CreateICNS** is a command line tool that makes it incredibly easy to create 'icns' and 'iconset' files from almost any image format. Normally, you would need to make up to 10 different versions of your icon, each with a different size and DPI, then run a tool like `sips` to create an 'iconset' file to pass into a tool like `iconutil` to create the final 'icns' file.CreateICNS takes care of all those details for you so that you can focus on what's important. Just pass an input file and optional output destination:
```sh
createicns []
```To create an 'iconset' file (to be imported into an IDE, for example), use the `--type` option:
```sh
createicns --type iconset []
```> Tip: If you choose not to provide an output path, the new file will be saved to the same directory as the input.
To see the full list of command line options, use the `--help` option:
```sh
createicns --help
```## License
CreateICNS is available under the [MIT license](LICENSE).