Forum Stats

  • 3,839,355 Users
  • 2,262,485 Discussions
  • 7,900,946 Comments

Discussions

Printing and/or rendering into images?

864952
864952 Member Posts: 4
edited May 27, 2011 1:47PM in JavaFX 2.0 and Later
Well, the subject line almost says it all. Does JavaFX 2.0 support printing of scenes or rendering them into an image? Or else is there a bridge between JavaFX images and AWT BufferedImages?

Michael

Answers

  • aidreamer
    aidreamer Member Posts: 242
    edited May 27, 2011 1:47PM
    I'm sure there is a way to do it, but I don't think there are any non-hackery ways of saving a JavaFX scene to an image currently available. You could try checking to see if an equivalent to this hack still works: http://blogs.oracle.com/rakeshmenonp/entry/javafx_save_as_image

    Edited by: aidreamer on May 27, 2011 10:38 AM
This discussion has been closed.