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
Implement HTMLImageElement decode #31183
Comments
@servo-highfive assign me |
Hey @Taym95! Thanks for your interest in working on this issue. It's now assigned to you! |
@servo-highfive assign me |
It looks like this has already been assigned to someone. I'll leave the decision to a core contributor. |
@Taym95 Are you still working on this? |
Yes I am working on it, I would like continue working on it if you don't mind |
That's fine! I assumed it was abandoned when the PR is closed and no activity had been seen for weeks. |
@gterzian Please if no one is working on it, kindly assign it to me, am outreachy intern looking to make some contributions |
Ooh alright @gterzian |
WebIDL is at https://html.spec.whatwg.org/multipage/embedded-content.html#htmlimageelement
Spec is at https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode
How to do it:
decode
member to our WebIDLDoing 2 will require integrating the
decode
concept with theImageContext
and theImageCache
Look at the async decoding and handling of the data happening in the image cache, and find a way to hook it up to a promise in script.
See also https://html.spec.whatwg.org/multipage/images.html#img-decoding-process
The text was updated successfully, but these errors were encountered: