WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
226950
Canvas (HTMLCanvasElement.toDataURL) can't export it's data to image/webp
https://bugs.webkit.org/show_bug.cgi?id=226950
Summary
Canvas (HTMLCanvasElement.toDataURL) can't export it's data to image/webp
Christian Giordano
Reported
2021-06-11 23:47:35 PDT
While Chromium (and Chrome) supports it, in Safari when you try to export a canvas to image/webp it returns a png. You can try it here:
https://codepen.io/nuthinking/pen/eYZBWLL
Let me know if you need anything else.
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Sneddon [:gsnedders]
Comment 1
2021-06-16 13:51:49 PDT
To note: Firefox Nightly (currently 91) appears not to support image/webp either.
Said Abou-Hallawa
Comment 2
2021-06-16 19:03:03 PDT
This is because the underlying frameworks do not support WebP encoding. For internal reference see <
rdar://59404467
>.
Said Abou-Hallawa
Comment 3
2021-06-16 20:02:46 PDT
<
rdar://59404467
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug