Support for webp image format
Is your feature request related to a problem? Please describe. Allow to load webp image format(s).
Describe the solution you'd like Just like support for png, jpeg, gif, bmp.
I would assume you want webp (https://en.wikipedia.org/wiki/WebP) as webm is container format for various audio/video codecs thus totally out of scope for SWT.
With the previous said - SWT on Gtk can load it just fine already
due to the fact that it relies on the system codecs for loading images. I don't see anyone implementing webp codec in swt , like it was done for other formats back in the day and codecs are stuck there. So best path forward would be for Windows and MacOS ports to add image support based on native codecs.
I added some experiment here, but the format is not trivial:
- https://github.com/laeubi/eclipse.platform.swt/pull/15
so if one wants to go that way it could be used as a skeleton and then further investigate how to implement the different decoders.
So the main question for e would be the usecase, if you just want to display some of them using the embedded browser might give good enough results.