= Inkscape = Inkscape is a Free and open source '''vector graphics editor''' for GNU/Linux, Windows and MacOS X. * https://inkscape.org/ * https://en.wikibooks.org/wiki/Inkscape/Other_Tools * https://en.wikibooks.org/wiki/Inkscape == Generate png from svg == {{{#!highlight sh inkscape processing.svg --export-png=processing_xhdpi.png }}} == Resize png image by percentage value == {{{#!highlight sh 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"))) }}}