User Rating 0.0
Total Usage 2 times

Asset Configuration

+

Drag Master Asset
or click to browse

Rec: 1024x1024 PNG
0%

Live Pipeline

Waiting for Input Source

Is this tool helpful?

Your feedback helps us improve.

About

This is not merely an image resizer; it is a compliance engine for the Apple Human Interface Guidelines (HIG). In the macOS ecosystem, an application icon is not a single file but a complex directory structure (.iconset) containing up to 10 specific bitmap assets. These range from 16×16 px for the Finder sidebar to 1024×1024 px for Retina displays.

The mathematical shape of a modern macOS icon is a continuous curvature superellipse (Squircle), defined by the equation |x|5 + |y|5 = r5. Unlike a standard rounded rectangle, this shape has no straight lines. This tool helps developers visualize this mask before compilation, ensuring critical logo elements are not clipped. It generates the strictly named files (e.g., [email protected]) required by the iconutil binary.

macos iconset xcode developer tools image processing frontend

Formulas

The core logic of icon asset generation relies on the transformation of the vector space R2 to the raster grid. The downsampling function f maps the source image I to a target resolution d using Bicubic interpolation logic:

f(x, y) = 3i=0 3j=0 aij xi yj

Additionally, for the Retina assets (marked as @2x), the pixel density ρ is doubled. If the logical size is w × h, the physical raster size P is:

P = w 200h 2

Reference Data

Asset NamePoints (pt)Scale Factor (s)Pixels (px)Visual Context
icon_16x16.png161x16×16Finder Sidebar (Low-DPI)
[email protected]162x32×32Finder Sidebar (Retina)
icon_32x32.png321x32×32List View / Toolbar
[email protected]322x64×64List View (Retina)
icon_128x128.png1281x128×128Dock (Standard)
[email protected]1282x256×256Dock (Retina)
icon_256x256.png2561x256×256Spotlight / Modal
[email protected]2562x512×512Alerts (Retina)
icon_512x512.png5121x512×512App Store (Low-DPI)
[email protected]5122x1024×1024App Store (Retina)

Frequently Asked Questions

Xcode and the `iconutil` command-line tool expect a specific folder naming convention (`.iconset` suffix) and strict internal filenames (`icon_XxX.png`). Any deviation - even a single missing pixel in dimension or a wrong underscore - will cause the compilation to fail with error `Invalid iconset`.
Since macOS Big Sur, icons are not squares with rounded corners; they are superellipses. This tool allows you to toggle a "Safe Zone" mask. You should upload a square image that bleeds to the edges. The OS applies the mask. If you pre-mask your image, you risk white slivers appearing at the corners (double-masking artifact).
The browser's Canvas API typically operates in the sRGB color space. While the generated PNGs are high quality, professional print-grade P3 profiles might be approximated to sRGB. For 99% of app development needs, this is sufficient and standard.
Partially. The internal PNGs are compatible, but iOS requires a strictly different folder structure (`.appiconset`) and a `Contents.json` manifest file. This tool is optimized specifically for the macOS `iconutil` workflow.
Downscaling (reducing size) preserves quality, while upscaling (increasing size) invents pixels that don't exist, leading to blurriness. Since the largest required asset is 1024px (for `512x512@2x`), your source must meet or exceed this to ensure crispness on 5K iMacs and Pro Display XDRs.