imgly/background-removal-js

How to use background-removal in Electron?

maxoyed opened this issue · 6 comments

Does any one already implement this case? I'd appreciate that if someone would like to share about that!

Does any one already implement this case? I'd appreciate that if someone would like to share about that!

@maxoyed were you able to get the library working in electron ? I get sharp error

Something went wrong installing the "sharp" module

A dynamic link library (DLL) initialization routine failed.
node_modules\sharp\build\Release\sharp-win32-x64.node

Does any one already implement this case? I'd appreciate that if someone would like to share about that!

@maxoyed were you able to get the library working in electron ? I get sharp error

Something went wrong installing the "sharp" module

A dynamic link library (DLL) initialization routine failed.
node_modules\sharp\build\Release\sharp-win32-x64.node

When did you encounter this error? install or import sharp?

Does any one already implement this case? I'd appreciate that if someone would like to share about that!

@maxoyed were you able to get the library working in electron ? I get sharp error

Something went wrong installing the "sharp" module

A dynamic link library (DLL) initialization routine failed.
node_modules\sharp\build\Release\sharp-win32-x64.node

When did you encounter this error? install or import sharp?

when I import the library

Does any one already implement this case? I'd appreciate that if someone would like to share about that!

@maxoyed were you able to get the library working in electron ? I get sharp error

Something went wrong installing the "sharp" module

A dynamic link library (DLL) initialization routine failed.
node_modules\sharp\build\Release\sharp-win32-x64.node

When did you encounter this error? install or import sharp?

when I import the library

try require it where you use sharp, do not import it at the beginning of the file

Does any one already implement this case? I'd appreciate that if someone would like to share about that!

@maxoyed were you able to get the library working in electron ? I get sharp error

Something went wrong installing the "sharp" module

A dynamic link library (DLL) initialization routine failed.
node_modules\sharp\build\Release\sharp-win32-x64.node

When did you encounter this error? install or import sharp?

when I import the library

try require it where you use sharp, do not import it at the beginning of the file

tried it same issue. I forked the library and I'm currently replacing the sharp with jimp. if its in the interest of this library let me know and I will make a pr with the change

@DanielHauschildt I replaced sharp with jimp in the node library to get it working in electron. its fully working with the same performance. please let me know if you want a pr with the changes.