Ever find yourself stuck with image assets exported for iOS? Rather than write your own script, use this one to rename and move iOS image resources so they work for Android.
pip install ios2andres
From the directory that contains the iOS image files simply run
ios2andres
By default, this creates output directories in the current folder. You can change this output directory to be your current project's directory.
ios2andres --output /Path/to/project/app/src/main/res/
Prints help message.
Location of the iOS formatted files to be moved and renamed to Android formatted resources.
Output directory path (directory will be created automatically). Like, /Path/to/project/app/src/main/res/
By default creates drawable directories in the current working directory.
Prefix some text, like "ic_" to all files.
- 2017-02-06 v0.1.8 First working pypi build
- 2017-02-05 v0.1.0 Initial release
See the LICENSE file for license rights and limitations (MIT).