-
Notifications
You must be signed in to change notification settings - Fork 356
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
Make it work in Node.js #10
Comments
I have run into the same problems. The It would be nice if it support browser/node/deno environments. |
You can modify webpack config file to get rid of those errors, simply change target to 'node' in umdConfig then build package. It will not be node-only without canvas, etc. But it will work if you want to implement background removal as is in the example package. |
fyi. |
Making it work on Node.js would require porting parts of the The |
There are also things such as node-canvas and skia-canvas for NodeJS |
Looking forward to the version of node. |
Looking forward to the version of node. |
WIP #26 |
NodeJS version would be amazing 😁 |
A node version would be soooo helpful. |
any update for node js? really excited. |
Any update/ETA on this? I'm very interested in this as the IMG.ly PESDK for React Native (or any other framework except iOS / Android) doesn't seem to allow headless rendering or to "programatically edit" an image without going through the editor UI. And since our organisation needs only to utilise the background removal feature, this would be amazing. |
Fixed by #36 |
Thanks for the great work! However, is it published on npm already? |
I don't know how complicated this is, but it would be awesome if it would also work in node.js
The text was updated successfully, but these errors were encountered: