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

decoding Jpeg on CloudFlare workers throws error cannot call .bind of undefined #18

Open
matthewhardern opened this issue Apr 25, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@matthewhardern
Copy link

Trying to decode jpg using the jpg decoder, getting constructor.bind.apply(constructor,argsList) coming out as undefined at some point. First its Uint8ClampedArray, then undefined. This is in mozjpeg_dec.js

[Function: function Uint8ClampedArray() { [native code] }]
undefined

What would you need to debug this?

@jamsinclair
Copy link
Owner

jamsinclair commented Jun 9, 2023

What would you need to debug this?

A reproduction or an example of the worker script would be very useful 🙇 . We need some more data and context to debug.

I have made some updates recently. I wonder if you follow along with the Cloudflare Examples whether that will solve your issue. See Usage in Cloudflare Workers

@jamsinclair jamsinclair added the bug Something isn't working label Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants