Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8101334

Render Node to Image

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P3
    • None
    • fx2.0
    • javafx
    • None
    • Windows & Mac

    Description

      It would be really useful to render any given node with all effects etc into a Image buffer. Including alpha for anywhere the node doesn't draw. We already must be able to do this internally to implement Node.cache = true.

      There are three main use cases for this:

      (1) In tools/apps where I want icon versions or zoomed version of some nodes.
      (2) For performance where I am rendering a expensive set of nodes many times, ie colorful circles.
      (3) Where I want to save out the nodes to a image file like JPEG or PNG. This will also require fx image to Java2D BufferedImage conversion API or a Image save API.

      Attachments

        Issue Links

          Activity

            People

              kcr Kevin Rushforth
              jasper Jasper Potts (Inactive)
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: