-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
api.HTMLCanvasElement.toBlob - quality parameter is supported in Safari desktop and mobile #21770
Comments
Updating `quality` in Safari to "11". Addressing the following issue: mdn#21770 The `quality` commit: WebKit/WebKit@d79600d
There is a pr on the |
#21775) Updating `quality` in Safari to "11". Addressing the following issue: #21770 The `quality` commit: WebKit/WebKit@d79600d
Fixed by #21775 |
For your interest: I've noticed, that caniuse.com is still showing this parameter in Safari as not supported. https://caniuse.com/mdn-api_htmlcanvaselement_toblob_quality_parameter |
You can file CanIUse issues here: https://github.com/Fyrd/caniuse/issues. |
Thanks! |
What type of issue is this?
Incorrect support data (example: BrowserX says "86" but support was added in "40")
What information was incorrect, unhelpful, or incomplete?
HTMLCanvasElement.toBlob "quality" parameter support is saying "not supported" in Safari and Safari on iOS.
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
quality parameter is supported in Safari and Safari on iOS since version 11.
Did you test this? If so, how?
I wrote an example app that uses the same function, but with 2 different quality parameter values to compare the result. The example was then tested on browserstack on different browsers. I saw it working back until Safari and Safari on iOS version 11.1.2 and 11.0.
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
Sample code:
(Please note, that the image src is a base64 string of an example image. It's removed in this example since it's too long. You can find the original image here: https://file-examples.com/index.php/sample-images-download/sample-jpg-download/)
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob
MDN metadata
MDN page report details
api.HTMLCanvasElement.toBlob
The text was updated successfully, but these errors were encountered: