-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
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.
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.
- csr for
-
JDK-8343315 Support pluggable image loading via javax.imageio
- Closed
- relates to
-
JDK-8321104 Enable Image to support more files
- Open
- links to
-
Commit(master) openjdk/jfx/72af9e23
-
Review(master) openjdk/jfx/1593