Python script for creating android icons from png images using ImageMagick®. This script was tested in ubuntu 14.04LTS.
sudo apt-get install imagemagick
./icons_builder.py [-h] [--size size] [--padding dp-value] [--name name] [--color color] [--dest dest_dir] <image_path>