Generating an iconset for Mac OS application
Project description
generate-iconset
Generating an iconset (.icns
) for using as an application icon on Mac OS.
The tool converts an original image into several sizes to form an iconset, which is then converted into .icns
file with iconutil
tool. More information in the following article.
Moved from this repository to become a PyPI package.
Requirements
- Python 3.7 or later
- image processing tool (either of)
- ImageMagick (recommended)
sips
(part of the standard Mac OS utilities)
iconutil
tool (part of the standard Mac OS utilities)
Usage
Below examples assume that you installed the tool from PyPI to use it as a standalone executable. Otherwise you'll need to run it as a regular Python script.
Built-in help:
$ generate-iconset --help
Basic example
$ generate-iconset /path/to/original/icon.png
- will fail to run if it's not Mac OS
- will use ImageMagick for converting
- will not force conversion to
.png
, if original image is not.png
- resulting
.icns
will be saved to/path/to/original/icon.icns
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file generate-iconset-1.2.0.tar.gz
.
File metadata
- Download URL: generate-iconset-1.2.0.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3832ed222c9dcdda9c7d5754263d365734f111a1a1af8c97b63afbb123dde613 |
|
MD5 | 0e2a52f18261c645da70e5c4f194e072 |
|
BLAKE2b-256 | e20a62d8e5cb0180c7f6670cdf8f06320b2fc7f8de5bd4572cd2346b14465ad0 |
File details
Details for the file generate_iconset-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: generate_iconset-1.2.0-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9964973d82a170443c912c049be5914e0d866727a07d7f69b4919d8a34006dcf |
|
MD5 | 5185202571e60579af360791bdc91068 |
|
BLAKE2b-256 | 876715b140f3cc63d90f5a1c3bba2c2e7f285924060e0dbd46a2c772c46f8ab5 |