Skip to content
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

Polyfill ImageData when using png module in Cloudflare Worker environment #25

Closed
jamsinclair opened this issue Jul 8, 2023 · 0 comments · Fixed by #26
Closed

Polyfill ImageData when using png module in Cloudflare Worker environment #25

jamsinclair opened this issue Jul 8, 2023 · 0 comments · Fixed by #26

Comments

@jamsinclair
Copy link
Owner

Is your feature request related to a problem? Please describe.

The png module is not easy to use with Cloudflare Workers and fails unless additional polyfills are added.

Other jSquash modules polyfill useful APIs like ImageData like jpeg, avif and jxl.

Describe the solution you'd like

The png module polyfills ImageData when used in a Cloudflare Worker

Additional context
Originally requested in #21 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant