On Thu, 20 Aug 2026 15:35:17 GMT, Andy Goryachev <[email protected]> wrote:

>> We don't have any code in JavaFX that does image writing. If we ever get to 
>> the point where this is the last thing that stops us from eliminating the 
>> dependency on `java.desktop`, then we could create a utility to do that 
>> (possibly by borrowing code from Image I/O). We would then move the rest of 
>> this back to `javafx.swing`, since there would no more need for the 
>> `BufferedImage` conversion methods to live in `javafx.graphics`.
>
> Unfortunately, the fact that the application wants to leverage `ImageIO` and 
> `ImageIO` relies on AWT `BufferedImage` makes this task nearly impossible.
> 
> We are pretty much stuck with the current solution.

Yeah I thought so too, was just asking in case I miss something

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

PR Review Comment: https://git.openjdk.org/jfx/pull/2267#discussion_r3823655994

Reply via email to