[webkit-dev] Modern image formats for WebKit

Myles C. Maxfield mmaxfield at apple.com
Thu Mar 19 22:21:26 PDT 2015

Are there no existing libraries that can be conditionally linked with for supporting these formats? In the long term, it seems like bad design to have WebKit have its own custom decoders.

If that isn't an option, it seems fine to me provided that the decoders' sources are all close together (for some definition of close) and not peppered throughout WebKit.

> On Mar 19, 2015, at 9:38 PM, ChangSeok Oh <changseok.oh at collabora.com> wrote:
> Hi WebKittens.
> I just saw apng support landed on webkit main stream. [1] (even it works for gtk port only now)
> So I suddenly wonder if webkit community is getting interested in bringing other modern image formats like webp or jpeg-xr into webkit.
> If so, I can lend my hands for it.
> For webp support, as you know, we can reuse blink's codebase. [2]
> For jpeg-xr supprot, I have a rough sketch for it [3] (it might be outdated or not fit tot of webkit though, bringing it to webkit is just a piece of cake. ;))
> My intention is not to argue which format is better, just to ask community's thoughts, preferences  or like that.
> [1] https://bugs.webkit.org/show_bug.cgi?id=17022
> [2] https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/platform/image-decoders/webp/WEBPImageDecoder.cpp&q=webpima&sq=package:chromium&l=1
> [3] http://cgit.collabora.com/git/user/kevino/Blink.git/commit/?h=jxr-support&id=2ac58312a5aae502aacc1c55c0bfdff767ab82a2
> BR.
> -- 
> ChangSeok
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev

More information about the webkit-dev mailing list