I am designing an icon for use with an Xcode template and need to know what display-resolution and pixel-density settings I need to use for each of the PNG files I'm exporting from GIMP into my .iconset
folder. Specifically, what display resolutions and pixel densities should I use for the icon_512x512@2x.png
, icon_512x512.png
, icon_256x256@2x.png
, icon_256x256.png
, icon_128x128@2x.png
, icon_128x128.png
, icon_64x64@2x.png
, icon_64x64.png
, icon_32x32@2x
, icon_32x32.png
, icon_16x16@2x.png
, and icon_16x16.png
images in my icon set?
What Icon Display Resolutions and Pixel Densities Should I Use
iconresolutionxcode
Related Question
- IOS – Icon export @x ratio from iPhone 5 to 6+
- MacBook Pro – Early 2013 MacBook Pro with 4K: Picture Quality
- MacOS – Easy way to bulk change folder icons in Mac
- Custom folder icon doesn’t display for SD card — shows as “generic .png” icon
- MacOS Display Screen Resolution – Selecting External Monitor and Size Combinations for Best Scaling
Best Answer
Use the resolution given in the name of the image. For @2x images, double the resolution in both directions. PPI does not matter—Apple uses 72 PPI. Do not use any transparency or interlacing.
For example:
icon_512x512@2x.png
is a 1024x1024 image.