Skip to content

Mac icon conversion: sizes, transparency and native readers

Original synthetic artwork, Apple iconutil and independent image readers. CloudConvert ICNS quality remains unverified.

What an ICNS export contains

A Mac icon file holds multiple square pictures. This converter creates lossless PNG entries for large and Retina slots, and lossless RGB channel RLE with separate alpha masks for the small 16 and 32 pixel standard slots. Standard pixel sizes are 16, 32, 64, 128, 256, 512 and 1024. A 1024-pixel square source creates every standard slot. Apple documents the corresponding iconset filenames and Retina slots.

Pictures are resampled from one source, rather than drawn separately for each display size. Non-square artwork is centered with transparent padding. Sizes above the source are omitted; a source smaller than 16 pixels is enlarged to the minimum 16-pixel slot. A small source therefore does not make a complete 1024-pixel app icon set. The size setting can reduce the available slots further. The largest rendered side is bounded to 1024 before creating the individual slots.

Read the largest supported icon

Import selects the largest physical pixel size, up to 1024 by 1024, rather than the first entry or its display-point size. PNG and JPEG 2000 payloads, legacy full-color RGB/RLE with separate 8-bit masks, and current Apple ARGB entries are supported. Extra display sizes, alternate states, metadata and original editable artwork are omitted. Palette-only and monochrome legacy icons are unsupported. Malformed sizes, incomplete RLE and damaged containers produce errors. Inputs and outputs are bounded to 32 MB.

All image paths here use 8-bit browser RGB pixels. High-bit-depth camera RAW is reduced to 8 bits for icons; use PNG, TIFF or PSD to retain its 16-bit rendered samples. Browser premultiplication can quantize translucent RGB. Hidden colors at zero opacity are not treated as a portable visual feature.

Independent fixtures and native compatibility

The original CC0 artwork is packed independently by Apple iconutil and Pillow, with an OpenJPEG JPEG 2000 case, separate alpha masks, Retina entries and deliberately malformed cases. The frozen source manifest records hashes. Download the 1024-pixel source, Apple-generated input, JPEG 2000 icon, browser-generated export and native reader report.

Apple iconutil extracts every exported slot; Pillow and CoreGraphics compare dimensions, alpha and complete visible pixel arrays. Actual browser downloads are also tested offline. Retained real CC0 camera sources exercise icon export from each supported RAW format. These are container, sample and runtime checks, not a comparative quality score or a preferred icon design. Application packaging, code signing and App Store acceptance are not tested.

Two defects found by native readers

An early candidate used PNG for the small icp4 and icp5 slots. Direct largest-image reading worked, but Apple iconutil extracted those two slots with changed colors. That candidate was rejected before deployment. An ARGB candidate also lacked Pillow support for 16-pixel-only icons. The released writer uses legacy full-color RGB channel RLE and separate masks, with bounded zero padding to avoid Apple iconutil dropping the last blue sample. Native extraction checks cover every slot separately, including the final pixel.

The tests also exposed an existing TIFF export defect: straight-alpha RGB samples were tagged as premultiplied, making translucent colors too bright in independent readers. Export now marks straight alpha correctly. Associated-alpha TIFF imports are unpremultiplied before being passed to browser ImageData. Both variants have independent fixtures. This fixes alpha interpretation within the existing 8-bit browser path; it does not restore lost precision or add high-bit-depth TIFF editing.

Original translucent artwork, rejected TIFF interpretation and corrected TIFF interpretation over the same checkerboard
Complete native-decoded pixels over the same checkerboard. The middle panel retains the earlier TIFF alpha defect.

Download the retained incorrect TIFF, corrected TIFF and retained failure record. Methods and reproduction notes are in the benchmark notes.

Competitive status

CloudConvert ICNS quality is unverified: no identical-input ICNS reference was available under the recorded daily quota. No additional provider upload was attempted. Passing native readers, correcting an alpha defect and adding format pairs do not establish superiority. Conversions remain free and run on your device inside the isolated engine.

Try PNG to ICNS, ICNS to PNG, TIFF to PNG or choose an output on the ICNS source page.