Convert HDR to ICNS
Max file size 100mb.
HDR vs ICNS Format Comparison
| Aspect | HDR (Source Format) | ICNS (Target Format) |
|---|---|---|
| Format Overview |
HDR
Radiance RGBE High Dynamic Range
The Radiance HDR format was created in 1985 by Greg Ward at Lawrence Berkeley National Laboratory for physically accurate lighting simulation. It stores 32-bit floating-point data per channel using a compact RGBE (Red, Green, Blue, Exponent) encoding that captures an enormous luminance range from deep shadows to blazing highlights. HDR files are foundational in 3D rendering, VFX compositing, and image-based lighting (IBL) workflows where realistic light transport is essential. Lossless Standard |
ICNS
Apple Icon Image Format
ICNS is Apple's proprietary icon format used throughout macOS for application icons, folder icons, and system graphics. It is a multi-resolution container that stores the same icon at multiple sizes (16x16 through 1024x1024 pixels) and pixel densities (1x and 2x Retina), allowing macOS to select the optimal resolution for each display context. ICNS supports full RGBA transparency and uses PNG or JPEG 2000 compression internally for larger icon sizes, producing sharp, professional icons across all macOS interface elements. Lossless Standard |
| Technical Specifications |
Color Depth: 32-bit float per channel (96-bit RGB via RGBE)
Compression: Run-length encoding (RLE) on RGBE data Transparency: Not supported Animation: Not supported Extensions: .hdr, .pic |
Color Depth: 32-bit RGBA (8-bit per channel with alpha)
Compression: PNG (32px+), JPEG 2000 (256px+), RLE (legacy) Transparency: Full 8-bit alpha channel Animation: Not supported Extensions: .icns |
| Image Features |
|
|
| Processing & Tools |
HDR file handling with imaging tools: # View HDR image info
magick identify scene.hdr
# Tone map HDR for preview
magick scene.hdr -evaluate Log 10000 \
tonemapped.png
# Python HDR reading
import imageio
hdr = imageio.imread('scene.hdr')
|
ICNS icon creation tools: # macOS native iconutil mkdir icon.iconset sips -z 1024 1024 input.png \ --out icon.iconset/[email protected] iconutil -c icns icon.iconset # Python with Pillow from PIL import Image img = Image.open('input.png') img.save('output.icns') # ImageMagick magick input.png -resize 1024x1024 output.icns |
| Advantages |
|
|
| Disadvantages |
|
|
| Common Uses |
|
|
| Best For |
|
|
| Version History |
Introduced: 1985 (Greg Ward, LBNL)
Current Version: Radiance RGBE (stable since 1991) Status: Mature, widely adopted in 3D/VFX Evolution: RGBE (1985) → Radiance Software (1991) → OpenEXR alternative (2003) |
Introduced: 2001 (Apple, Mac OS X 10.0)
Current Version: ICNS with PNG/JP2 (OS X 10.7+, 1024x1024) Status: Active, required format for macOS development Evolution: Classic Mac icons → ICNS (2001) → Retina support (2012) → 1024px (2011) |
| Software Support |
Image Editors: Photoshop (via plugin), GIMP, Luminance HDR
Web Browsers: Not natively viewable in browsers OS Preview: Limited — requires HDR-capable viewers 3D Software: Blender, 3ds Max, Maya, Unity, Unreal Engine CLI Tools: ImageMagick, Radiance tools, Pillow, imageio |
Image Editors: Photoshop (macOS), GIMP, Sketch, Icon Slate
Web Browsers: Not supported in browsers OS Preview: macOS (native), Windows/Linux (limited) Development: Xcode, iconutil (macOS CLI), Icon Composer CLI Tools: iconutil, sips, ImageMagick, Pillow, png2icns |
Why Convert HDR to ICNS?
Converting HDR to ICNS connects high dynamic range imaging with macOS application icon creation. This is a specialized but valuable workflow for Mac app developers and icon designers who use 3D-rendered scenes or HDR photography as the basis for application icons. HDR source material provides the richest possible lighting information — subtle reflections, smooth highlights, and detailed shadows — that, when tone-mapped to ICNS, produce icons with a photorealistic quality that stands out in the macOS Dock and Finder.
The most common use case is creating macOS application icons from 3D-rendered scenes that were captured in HDR format. Many professional icon designers render their icon artwork in 3D applications (Blender, Cinema 4D, KeyShot) and export the scene as HDR to capture the full lighting range. Converting this HDR render to ICNS produces a multi-resolution icon file that macOS uses directly, with the tone-mapped result preserving the subtle lighting quality that makes modern macOS icons appear three-dimensional and polished.
ICNS is a multi-resolution container, meaning a single file stores the icon at multiple sizes: 16x16, 32x32, 128x128, 256x256, 512x512, and 1024x1024 pixels, plus Retina (2x) variants. During conversion, the tone-mapped HDR image is automatically resized to generate these multiple resolution variants, ensuring the icon looks sharp in every macOS context — from the tiny Finder sidebar to the full-size Launchpad view on a Retina display.
The quality of icons from HDR sources is notably superior to those from standard 8-bit photographs. HDR tone mapping preserves lighting nuances that give icons a sense of depth and materiality: metallic reflections with smooth falloff, glass-like transparency effects, and natural shadow gradients that would clip or band in standard photography. This is why many award-winning macOS icons are created from 3D renders exported in HDR format before conversion to ICNS.
Key Benefits of Converting HDR to ICNS:
- macOS Native: ICNS is the required format for macOS application and system icons
- Multi-Resolution: Single file contains all sizes from 16x16 to 1024x1024
- Retina Support: Includes 2x variants for high-DPI Retina displays
- Tone Mapping: Automatic HDR-to-SDR conversion preserves lighting quality
- Alpha Transparency: Full 8-bit alpha for smooth, anti-aliased icon edges
- Superior Quality: HDR sources produce icons with richer depth and materiality
- Xcode Ready: Output file imports directly into Xcode project assets
Practical Examples
Example 1: 3D-Rendered App Icon from HDR Scene
Scenario: A Mac app developer rendered their application icon as a 3D scene in Blender with studio HDR lighting and needs to create the final ICNS file for their macOS app bundle.
Source: app_icon_render.hdr (3.8 MB, 2048x2048px, 32-bit RGBE) Conversion: HDR → ICNS (tone mapped, multi-resolution) Result: app_icon_render.icns (485 KB, 16px to 1024px variants) App development workflow: 1. Export 3D icon render as HDR from Blender 2. Convert to ICNS with automatic tone mapping 3. Multi-resolution variants generated automatically ✓ Retina-ready icon at all macOS display sizes ✓ Tone mapping preserves metallic reflections and glass effects ✓ Alpha channel provides smooth anti-aliased edges ✓ Drop directly into Xcode project Assets.xcassets
Example 2: HDR Product Photo as Custom Folder Icon
Scenario: A photographer wants to create custom macOS Finder folder icons from HDR product photographs for their client project folders, making them visually identifiable at a glance.
Source: luxury_watch.hdr (7.1 MB, 3000x3000px, 32-bit float) Conversion: HDR → ICNS (tone mapped, square crop) Result: luxury_watch.icns (320 KB, multi-resolution) Custom folder workflow: ✓ HDR preserves watch dial reflections and subtle metal textures ✓ Tone mapping reveals detail in both crystal and dark dial ✓ ICNS applied as custom folder icon via Finder → Get Info ✓ Icon looks sharp at all Finder view sizes ✓ Quickly identify client project folders by product image
Example 3: HDR Environment Preview as DMG Installer Icon
Scenario: A game studio distributes their macOS game via DMG disk image and wants to create a custom DMG volume icon from an HDR screenshot of their game's environment for a professional installation experience.
Source: game_landscape.hdr (9.5 MB, 4096x4096px, RGBE) Conversion: HDR → ICNS (tone mapped, 1024x1024 max) Result: game_landscape.icns (520 KB, full resolution set) DMG distribution workflow: ✓ HDR game screenshot captures dramatic lighting ✓ Tone-mapped icon showcases game visuals in Finder ✓ Multi-resolution ensures quality from Spotlight to Launchpad ✓ Professional installation experience for end users ✓ ICNS embedded in DMG via hdiutil or DMG Canvas
Frequently Asked Questions (FAQ)
Q: What sizes are included in the ICNS file?
A: A complete ICNS file for modern macOS includes icon variants at: 16x16, 16x16@2x (32px), 32x32, 32x32@2x (64px), 128x128, 128x128@2x (256px), 256x256, 256x256@2x (512px), 512x512, and 512x512@2x (1024px). The @2x variants are for Retina displays. Our converter generates the appropriate sizes from the tone-mapped HDR source by downscaling from the largest resolution, ensuring sharp rendering at every display size.
Q: Does the HDR source need to be square for ICNS conversion?
A: macOS icons are square (1:1 aspect ratio), so non-square HDR images will be cropped or resized to square during conversion. For best results, use a square HDR source image (e.g., 2048x2048). If your HDR is rectangular (e.g., a panoramic environment map), the converter will center-crop to square. To control which portion of the image becomes the icon, pre-crop your HDR to square aspect ratio before converting.
Q: Can I use ICNS icons on Windows or Linux?
A: ICNS is a macOS-specific format. Windows uses .ico files and Linux uses PNG or SVG icons. While some cross-platform tools (GIMP, ImageMagick) can read ICNS files, they are not natively recognized by Windows Explorer or Linux file managers. If you need icons for multiple platforms, convert your HDR source separately to ICNS (macOS), ICO (Windows), and PNG (Linux/web). Electron and cross-platform app frameworks often require all three formats.
Q: How do I apply the ICNS icon to my Mac app?
A: For Xcode projects, add the ICNS file to your project's Assets.xcassets as the AppIcon set, or reference it directly in your Info.plist under the CFBundleIconFile key. For custom folder icons, select the folder in Finder, press Cmd+I (Get Info), and drag the ICNS file onto the icon preview in the top-left corner of the info window. For DMG volume icons, use tools like DMG Canvas or the SetFile command-line tool.
Q: Why use HDR source material for icons instead of regular photos?
A: HDR sources capture the full lighting range of a scene, producing tone-mapped icons with superior depth, materiality, and visual polish. Standard 8-bit photos often clip highlights (blown-out reflections) and crush shadows (detail-less dark areas). The tone-mapped HDR result maintains smooth highlight falloff on metallic and glass surfaces, detailed shadow regions, and natural-looking lighting that gives icons a professional, three-dimensional appearance. This is why top macOS icon designers often start with HDR 3D renders.
Q: What happens to the alpha transparency since HDR has no alpha channel?
A: HDR files store only RGB data — there is no alpha channel. The converted ICNS file will have a fully opaque alpha channel by default, meaning the icon will appear as a filled square. If you need a shaped icon with transparency (the standard for macOS app icons), you will need to add an alpha mask after conversion using an image editor. Alternatively, render your 3D icon with an alpha channel in a format like EXR before conversion, or apply background removal after tone mapping.
Q: What is the maximum icon resolution supported by ICNS?
A: The current ICNS specification supports icons up to 1024x1024 pixels (the 512x512@2x Retina variant). This has been the maximum since macOS 10.7 Lion (2011). The 1024x1024 size is used in Launchpad and the App Store. For most display contexts (Dock, Finder, Spotlight), macOS uses the 128x128 to 512x512 variants. Providing a source HDR at 2048x2048 or larger ensures the downscaled 1024x1024 icon is maximally sharp.
Q: Can I preview the ICNS file before using it in my app?
A: On macOS, simply double-click the ICNS file to open it in Preview, which shows all contained resolution variants. You can also use Quick Look (press Space in Finder) to preview the icon. The iconutil -c iconset output.icns command extracts all PNG variants into a folder for individual inspection. On Windows or Linux, use GIMP or ImageMagick to open and inspect the ICNS file's contents.