On Thu, 13 Aug 2026 16:46:06 GMT, Andy Goryachev <[email protected]> wrote:

>> Enables importing of images from the clipboard into the RichTextModel by 
>> adding a data format handler for the DataFormat.IMAGE mime type.
>> 
>> This change includes fixes from https://github.com/openjdk/jfx/pull/2254 
>> applied to `ImgUtil` class whose purpose is to remove dependency on 
>> `javafx.swing` module.
>> 
>> Note: the banana slug image is a public domain added with author's 
>> permission [0].
>> 
>> ## References
>> 
>> [0] https://en.wikipedia.org/wiki/Banana_slug
>> 
>> 
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Andy Goryachev has updated the pull request with a new target base due to a 
> merge or a rebase. The incremental webrev excludes the unrelated changes 
> brought in by the merge/rebase. The pull request contains 10 additional 
> commits since the last revision:
> 
>  - copied from swing fx utils
>  - Merge branch 'master' into 8388276.import.images
>  - images
>  - lossless
>  - Merge branch 'master' into 8388276.import.images
>  - whitespace
>  - test
>  - undo image paste
>  - Merge remote-tracking branch 'origin/master' into 8388276.import.images
>  - image format handler

I've filed https://bugs.openjdk.org/browse/JDK-8390345 to avoid duplicating 
image i/o code.

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

PR Comment: https://git.openjdk.org/jfx/pull/2224#issuecomment-5287370595

Reply via email to