This python code is used to geneate the drawaable icons for various screen sizes.
Installation link : http://docs.python-guide.org/en/latest/starting/installation/
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
$ python3 GenerateIcons.py /path/to/icons/directory 192(Optional)<greatest_icon_resolution>
Resized images are generated within the source location of icons