App Icon Launch/Splash image

Solar2D document: Building and Distribution

Sample files

  • Photoshop/icon/desktop

  • Photoshop/icon/icon_splash_launch-assets

  • Photoshop/icon/icon_splash_launch.psd

iOS

Managing Xcode Assets

Images.xcassets

Icon-40.png40 × 40
Icon-58.png58 × 58
Icon-76.png76 × 76
Icon-80.png80 × 80
Icon-87.png87 × 87
Icon-120.png120 × 120
Icon-152.png152 × 152
Icon-167.png167 × 167
Icon-180.png180 × 180
Icon-1024.png1024 × 1024
  • ios_icon.psd
40 x 40 Icon-40.png, 58 x 58 Icon-58.png, 76 x 76 Icon-76.png, 80 x 80 Icon-80.png, 87 x 87 Icon-87.png, 120 x 120 Icon-120.png, 152 x 152 Icon-152.png, 167 x 167 Icon-167.png, 180 x 180 Icon-180.png, 1024 x 1024 Icon-1024.png

Launch Screen

https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#launch-screen-ios


Android

What are Adaptive Icons

AndroidResources/res/

<26

FolderIcon NameAndroid VersionWidthHeight
mipmap-mdpiic_launcher.png< 264848
mipmap-hdpiic_launcher.png< 267272
mipmap-xhdpiic_launcher.png< 269696
mipmap-xxhdpiic_launcher.png< 26144144
mipmap-xxxhdpiic_launcher.png< 26192192

=26

FolderIcon NameAndroid VersionWidthHeight
mipmap-mdpiic_launcher_foreground.png>= 26108108
ic_launcher_background.png>= 26108108
mipmap-hdpiic_launcher_foreground.png>= 26162162
ic_launcher_background.png>= 26162162
mipmap-xhdpiic_launcher_foreground.png>= 26216216
ic_launcher_background.png>= 26216216
mipmap-xxhdpiic_launcher_foreground.png>= 26324324
ic_launcher_background.png>= 26324324
mipmap-xxxhdpiic_launcher_foreground.png>= 26432432
ic_launcher_background.png>= 26432432
  • android_icon_25.psd
48 x 48 ic_launcher_48x48.png, 72 x 72 ic_launcher_72x72.png, 96 x 96 ic_launcher_96x96.png, 144 x 144 ic_launcher_144x144.png, 192 x 192 ic_launcher_192x192.png
  • android_icon_26.psd
108 x 108 ic_launcher_108x108.png, 162 x 162 ic_launcher_162x162.png, 216 x 216 ic_launcher_324x324.png, 324 x 324 ic_launcher_324x324.png, 432 x 432 ic_launcher_432x432.png

Splash Screen

https://docs.coronalabs.com/guide/distribution/buildSettings/index.html#splash-screen

mySplashScreen.png 1536x1536

MacOS

How to manually create icns files using iconutil?

Icon-osx.icns

icon_16x16.png
icon_16x16@2x.png
icon_32x32.png
icon_32x32@2x.png
icon_128x128.png
icon_128x128@2x.png
icon_256x256.png
icon_256x256@2x.png
icon_512x512.png
icon_512x512@2x.png
  • desktop_icon.psd
16 x 16 icon_16x16.png, 32 x 32 icon_32x32.png, 48 x 48 icon_48x48.png, 64 x 64 icon_64x64.png, 128 x 128 icon_128x128.png, 256 x 256 icon_256x256.png, 512 x 512 icon_512x512.png, 1024 x 1024 icon_1024x1024.png
  • mac_icon.command
rm -r icon.iconset
cp -r desktop_icon-assets icon.iconset
cd icon.iconset
rm icon_48x48.png
cp icon_32x32.png icon_16x16@2x.png
mv icon_64x64.png icon_32x32@2x.png
cp icon_256x256.png icon_128x128@2x.png
cp icon_512x512.png icon_256x256@2x.png
mv icon_1024x1024.png icon_512x512@2x.png
cd ..
iconutil --convert icns --output Icon-osx.icns icon.iconset

Windows

https://doc.qt.io/qt-6/appicon.html#setting-the-application-icon-on-windows

Icon-win32.ico

icon_16x16.png
icon_32x32.png
icon_48x48.png
  • win_icon.bat
set MYDIR=desktop_icon-assets
set ICON_FILE=Icon-win32.ico
convert ./%MYDIR%/icon_16x16.png ./%MYDIR%/icon_32x32.png ./%MYDIR%/icon_48x48.png %ICON_FILE%

ref