[[TOC]]
When you want to publish your app, you should provide a high-resolution app icon. App icon is the main representation of your app in users mobile devices. The process of generating app icon is different for each mobile platform. You should spend time and efforts on generating app icon in different resolutions for android and iOS. It's not a concern anymore, AZ app icon generates app icons for many different devices and resolutions on android/iOS for free. Then you can easily add the icon files to your project.
pip install appicon
First of all you should be generate icons with icon_generate
function.
from appicon import icon_generate
directory_path = icon_generate(logo_path='~/logo.png', destination_directory='~/icons', is_zip=False)
If you want to move in to zip
file you can pass argument is_zip=True
.
from appicon import icon_generate
zip_path = icon_generate(logo_path='~/logo.png', destination_directory='~/icons', is_zip=True)
-
iOS
-
Android
- Documentation
Thanks to:
- @oxcug for the update xcode 13 support.
The MIT License (MIT). Please see License File for more information.