Sunday, December 28, 2014

Convert svg file to png file on Mac

To Convert an vector (.svg) file into a png file , we can use command line

Open Terminal application.

switch to the directory (use cd comand) where the svg file contain

qlmanage -t -s 1024 -o . myvectorfile.svg

This will create a png file named myvectorfile.svg.png with 1024*1024 dimension in the same folder.

* tested on Mac OS X 10.10.1