Skip to content

RaspberryPi - Debian version of Inkscape has no export-type option

Hello !
For raspberry the command to use inkscape to convert svg in png deos not work because the version of inkscape does not have the command "export-type". One can use the following alternative (to be added in the ~/.bash_aliases file :

inkexp(){
for i in $@
do
name=${i%.*}
/usr/bin/inkscape --export-area-drawing --export-png=$name.png --export-dpi=999 -y=255 $i
done
}