This script convert an app Icon to all necessary sizes for the platform (including all necessary for Xamarin).
For now is only configured for iOs
, Android
and UWP
. You can add any other configuration in config.php
file.
- Download / clone the project in your Apache/Nginx server (with php)
- Copy
src
content and set execute and write permissions to the folder (the script will create temp) - Configure (if you need) the
config.php
file. - Execute the script through Web Explorer (http://yourip/php-smartphone-icon-converter)
- Upload the file
- Once end, you get a .zip file to download
In VisualStudio (or your IDE), go to yourApp.Droid
/ yourApp.iOs
-> Resources
and import the files (maybe you need to delete first the old).
If is the second time you do it and all files are already registered, you can directly replace the Resource
folder in each platform.
The files only will be readed by "Xamarin" (Visual Studio) if you import them via IDE and NOT ONLY copying the files to Resource dir from Windows Explorer.