Skip to main content

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

Release files for generate-iconset 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for generate-iconset 1.2.0
File Size Uploaded
generate-iconset-1.2.0.tar.gz 16.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for generate-iconset 1.2.0
File Interpreter ABI Platform
generate_iconset-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.6 kB

Release files / generate-iconset-1.2.0.tar.gz

Download URL generate-iconset-1.2.0.tar.gz
Size 16.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3832ed222c9dcdda9c7d5754263d365734f111a1a1af8c97b63afbb123dde613
BLAKE2b-256 checksum
How to use checksums
e20a62d8e5cb0180c7f6670cdf8f06320b2fc7f8de5bd4572cd2346b14465ad0
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / generate_iconset-1.2.0-py3-none-any.whl

Download URL generate_iconset-1.2.0-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9964973d82a170443c912c049be5914e0d866727a07d7f69b4919d8a34006dcf
BLAKE2b-256 checksum
How to use checksums
876715b140f3cc63d90f5a1c3bba2c2e7f285924060e0dbd46a2c772c46f8ab5
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page