jfree / jfreesvg

A fast, lightweight Java library for creating Scalable Vector Graphics (SVG) output.
http://www.jfree.org/jfreesvg
GNU General Public License v3.0
319 stars 58 forks source link

how to read svg file and convert it to png? #17

Closed wenfer closed 5 years ago

wenfer commented 5 years ago

how to read svg file and convert it to png?

jfree commented 5 years ago

For this you need a library that can render SVG, such as Apache Batik. JFreeSVG only generates SVG output (for later rendering in, for example, a web browser)...it doesn't have any code to perform the rendering stage. Try Batik, it might meet your requirements.