Bug 568325 - Fall back to ImageIO if not native reader and no SWT implementation is available for an ImageFormat
Summary: Fall back to ImageIO if not native reader and no SWT implementation is availa...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.14   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Christoph Laeubrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 568215
  Show dependency tree
 
Reported: 2020-10-28 02:55 EDT by Christoph Laeubrich CLA
Modified: 2021-09-16 05:02 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Laeubrich CLA 2020-10-28 02:55:42 EDT
This is a slit from the discussion in Bug 568234 (what is about native scaling of native supported formats) to support generic fallback to ImageIO if none of the SWT methods succeed in reading the image.

This has the following advantages:
- SWT can support more image format than today is available by reusing standard java (no additional dependencies)
- complex formats can be developed in different packages or even supplied dynamic
- no need to re-implement new formats in SWT directly
Comment 1 Eclipse Genie CLA 2020-10-28 04:04:55 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/171387
Comment 2 Christoph Laeubrich CLA 2020-10-28 04:06:32 EDT
I created a gerrit to show a first step for this, allowing to interface BufferedImages with ImageData. It would be good if someone can take a look and give some comments/suggestions.
Comment 3 Christoph Laeubrich CLA 2021-09-16 05:02:18 EDT
It seems there is not much interest in this.