Hello,
Many times for our applications we need *.png of different dimensions. Using Inkscape, we can export png of desired dimension. But this is a tedious and repetitive task. In this post, I will tell how to use InkScape command line options to automate this process.
You can get idea about Inkscape command line options from these links
Many times for our applications we need *.png of different dimensions. Using Inkscape, we can export png of desired dimension. But this is a tedious and repetitive task. In this post, I will tell how to use InkScape command line options to automate this process.
You can get idea about Inkscape command line options from these links
- http://tavmjong.free.fr/INKSCAPE/MANUAL/html/CommandLine-Export.html
- how-to.wikia.com/wiki/How_to_use_Inkscape_in_commandline_mode
Following command will export svg to a .png of 36X36
%inkscape.exe% "z -f %SVG file path% -e %exported file path% -D -w 36 -h 36"
I have created a simple application which can be helpful in exporting SVG to png of multiple dimensions.
You can download the application from here
Please provide comments below if this was useful.
Thanks for printing this post. Hope you liked it.
Keep visiting and sharing.
Thanks,
Ashwani.
Keep visiting and sharing.
Thanks,
Ashwani.
0 comments :
Post a Comment