SVG To FXML Converter as Commandline util

There’ve been some requests from people to use the SVG to FXML converter outside my e(fx)clipse project. I’m happy to announce that the latest nightly builds provide a standalone version of the converter.

Useage is quite simple:

java -jar svg2fxml-0.1.0-SNAPSHOT.jar tiger.fxml

will produce an FXML which can be loaded into SceneBuilder:

Need to teach myself now how I can provide this as a netbeans module ;-) Any volunteers to provide an implementation and contribute it to e(fx)

10 Responses to “SVG To FXML Converter as Commandline util”

  1. Is there a way to use this jar api for generating a javafx.scene.Node without the fxml step ?

    • no and the algorithms used are not optimized for live processing and creation of Scene-Graph on the fly. What is your use case, do you want to use it transform SVGs on the fly?

  2. What part of the svg specification if supported ? For example this complex svg ( is very well converted but this much more simple one( is not.

  3. Hello, have you improve this great utility ?

    • it is part of our repo but we have not implemented many new features in the last few months – if you have concrete problems and a sample SVG to test – file a bugzilla but we are currently head down in other areas of e(fx)clipse so we won’t fix it anytime soon unless you provide a patch


  1. JavaFX links of the week, August 27 // JavaFX News, Demos and Insight // FX Experience - August 27, 2012

    […] Tom Schindl has made available a SVG to FXML command-line converter tool. […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 936 other followers

%d bloggers like this: