-
Notifications
You must be signed in to change notification settings - Fork 15
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
Does it work in the browser? #6
Comments
Hi, currently it does not unfortunately (it uses the jpeg-js module which is for nodejs only, I think) (I'll clarify it in the readme, thanks for the feedback) |
Thanks for the quick reply! Ah shucks - that's too bad. |
That would be great though! Roughly, here is what would be needed to make it work:
Let's keep the issue opened. I'll try to dig if I find some time. Of course, if someone reads this issue and is interested in working on the subject, pull requests are very welcome 👍 |
IMO if you want to do it in the browser, consider a canvas-based approach. Here's one that looks decent: https://github.com/ajgarn/CanvasImageUploader |
I couldn't find a reference to it in the readme - does this lib work in the browser?
The text was updated successfully, but these errors were encountered: