add svg to png transformation
better figure support