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

Support pluggable image loading via javax.imageio

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx24
    • None
    • javafx
    • b17

      Extend the image loading capabilities of JavaFX by plugging into the javax.imageio API, allowing applications to use third-party libraries like TwelveMonkeys to load a wide variety of image formats.

      The built-in JavaFX image loaders continue to be used for all supported image formats. If an image can't be loaded using one of the built-in image loaders, JavaFX will probe the ImageIO registry for image readers that can load the image instead.

      This enhancement also requires support for variable-density images like SVG. Variable-density images will be rasterized using the screen's pixel density, ensuring they are rendered at a higher resolution on high-DPI screens.

      The proposed feature works transparently across all JavaFX image APIs, including images referenced by stylesheets, and images contained in data-URIs.

            mstrauss Michael Strauß
            mstrauss Michael Strauß
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: