Skip to content

Remove ImageData from ImageLike #971

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

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

IgorAufricht
Copy link
Contributor

This PR removes the ImageData type from ImageLike, as ImageData is not supported (as far as I can tell - it was temporarily supported, but then it was rolled back in #610).

For the record, this is the error I got when trying to use ImageData:
image

@Allen1801
Copy link

Im having the same error but im using the cdn for cross platform, how can I resolve the same issue?

image

@Balearica
Copy link
Member

Balearica commented Jan 7, 2025

Thank you for this contribution. It looks like this type was present from the first commit of the index.d.ts declaration file in 2019, so presumably it was added from some boilerplate code snippet.

7c8f4f1

@Balearica Balearica merged commit 72afa3d into naptha:master Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants