RFR: 8267551: Support loading images from inline data-URIs

Kevin Rushforth kcr at openjdk.java.net
Fri May 21 18:29:01 UTC 2021


On Wed, 19 May 2021 20:24:31 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

> This PR adds support for loading images from [inline data URIs](https://en.wikipedia.org/wiki/Data_URI_scheme), which is also widely supported by web browsers. This enables developers to package small images in CSS files, rather than separately deploying the images alongside the CSS file.

I'd like to see this documented somewhere in the `Image` class docs.

-------------

PR: https://git.openjdk.java.net/jfx/pull/508


More information about the openjfx-dev mailing list