On Thu, 13 Aug 2026 15:31:12 GMT, Kevin Rushforth <[email protected]> wrote:

> it would not be acceptable for any javafx.* modules to depend on javafx.swing

What can we do?

We could provide a utility in `javafx.graphics` (?) to read/write a subset of 
formats natively (PNG/JPG should be sufficient) that works directly with 
`Image` instead of `BufferedImage` and does not involve `ImageIO`.

Or we can keep duplicating the code and potentially risk tripping over the same 
situation in the future.

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

PR Comment: https://git.openjdk.org/jfx/pull/2254#issuecomment-5282625951

Reply via email to