> 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 ------------- Changes: - all: https://git.openjdk.org/jfx/pull/2224/files - new: https://git.openjdk.org/jfx/pull/2224/files/b40d2e94..1c4471d1 Webrevs: - full: https://webrevs.openjdk.org/?repo=jfx&pr=2224&range=01 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=2224&range=00-01 Stats: 299 lines in 17 files changed: 217 ins; 32 del; 50 mod Patch: https://git.openjdk.org/jfx/pull/2224.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/2224/head:pull/2224 PR: https://git.openjdk.org/jfx/pull/2224
