Android Drawable Icon Generator
This python code is used to geneate the drawable icons for various screen sizes.
Requirements:
Python3
Installation link : http://docs.python-guide.org/en/latest/starting/installation/
Pillow Lib for python
Usually pillow lib is already installed in ubuntu but if you still face problem, then you can install pillow using pip.
$ pip install Pillow
Pip installation link : https://pip.pypa.io/en/stable/installing/
Pillow installation link : http://pillow.readthedocs.io/en/latest/installation.html
Usage:
$ python3 GenerateIcons.py /path/to/icons/directory 192(Optional)<greatest_icon_resolution>
Output:
Resized images are generated within the source location of icons