load an svg image

A discussion forum for JFreeSVG (a fast, lightweight, SVG generator for the Java platform).
Post Reply
robert45
Posts: 1
Joined: Wed Dec 17, 2014 2:45 pm
antibot: No, of course not.

load an svg image

Post by robert45 » Wed Dec 17, 2014 2:49 pm

Hello
i'm new to jfreesvg
Is it possible to load an svg image and show it in a jframe?

Thanks in advance

Robert

david.gilbert
JFreeChart Project Leader
Posts: 11680
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: load an svg image

Post by david.gilbert » Wed Dec 17, 2014 11:54 pm

No, you will need something like Apache Batik for that. JFreeSVG is used to generate SVG content via Java2D's Graphics2D API. Rendering SVG within a Java application is a different problem, and not one that JFreeSVG attempts to solve.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Ask your company to buy the JFreeChart Developer Guide
:idea: Check out other products sold by my company Object Refinery Limited

Post Reply