You are currently viewing Python script for multiple image creation

Python script for multiple image creation

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

py-drawable-resize-1

  • You will see output like below, followed by the folders being created with the images inside

Back to writing the apps..

 

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.