[Webkit-unassigned] [Bug 183257] New: [WPE] Add support for WebP encoding in HTMLCanvasElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 1 13:24:49 PST 2018


            Bug ID: 183257
           Summary: [WPE] Add support for WebP encoding in
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit WPE
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cadubentzen at gmail.com
                CC: bugs-noreply at webkitgtk.org

Currently LayoutTests/fast/canvas/canvas-toDataURL-webp.html fails.

I think the path to implement it is:
- Add WebPImageEncoder.{h,cpp} to Source/WebCore/platform/image-encoders and implement compressRGBABigEndianToWebP() using libwebp
- Extend encodeImage() in Source/WebCore/platform/graphics/cairo/ImageBufferCairo.cpp to use the encoder implemented.
- Add WebP encoding to the MIMETypeRegistry
- Find encode.h as well in FindWebP.cmake

Is that the right path? I would happily implement this if so.

Also, is this feature relevant? I couldn't find the requirement on W3C and I think right now only Chrome implements it.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180301/7036bfa7/attachment.html>

More information about the webkit-unassigned mailing list