= Inkscape = * https://inkscape.org/ Inkscape is a Free and open source vector graphics editor for GNU/Linux, Windows and MacOS X. == Generate png from svg == * inkscape processing.svg --export-png=processing_xhdpi.png == Resize png image by percentage value == * sudo apt install imagemagick * convert processing_xhdpi -resize 75% processing_hdpi.png Script genimages.py {{{#!highlight python import os import sys files = os.listdir('.') for file in files: if "_xhdpi" in file: print("convert %s -resize 75%% %s "%(file, file.replace("_xhdpi","_hdpi"))) print("convert %s -resize 50%% %s "%(file, file.replace("_xhdpi","_mdpi"))) print("convert %s -resize 25%% %s "%(file, file.replace("_xhdpi","_ldpi"))) }}}