Needing 5 sizes of each image for an android app is annoying, so I did what any sane person would do. I wrote a python script that does all the hard work 😉
Available on github.com, it should work with python 2.7 and 3.x, once you have “Image” installed
- pip install Image
- place some images in the same folder as the script and rung it
- You will see output like below, followed by the folders being created with the images inside
Back to writing the apps..