Convert svg to png having transparent background:

$ convert -background none -density 1200 in.svg out.png

brew install imagemagick librsvg