You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It uses sharp, so it introduces the possibility of dependency duplication.
It also has a Microsoft machine learning library that's quite big.
The POC worked fine, and I think background removal is advantageous.
There were some bugs, some images were made 100% transparent, so it is not flawless.
But I am unsure if IPX should have it.
Adding custom handlers would be nice, so I can add it myself. But it probably would not be used very often.
A lot of effort for something less useful.
What does team unjs think?
Additional information
Would you be willing to help implement this feature?
The text was updated successfully, but these errors were encountered:
Thanks for making the issue. It seems a nice idea to support optional custom sharp handlers.
I haven't looked in depth of your code but usage seems a high level removeBackground utility only. Does it also expose a lower level API that accepts sharp instance to apply transform?
Sure Thanks 🙏 and feel free to also ping me if opened a PR in upstream. I mainly want to make sure we cane make use of any new custom api in ipx when we introduce .
I had a look at the remove background library and attempted to refactor it so that it could be used with IPX. It ended up being too complex for me. I have to forfeit.
Describe the feature
I have tested adding a remove background handler with:
https://github.com/imgly/background-removal-js/tree/main/packages/node
It uses sharp, so it introduces the possibility of dependency duplication.
It also has a Microsoft machine learning library that's quite big.
The POC worked fine, and I think background removal is advantageous.
There were some bugs, some images were made 100% transparent, so it is not flawless.
But I am unsure if IPX should have it.
Adding custom handlers would be nice, so I can add it myself. But it probably would not be used very often.
A lot of effort for something less useful.
What does team unjs think?
Additional information
The text was updated successfully, but these errors were encountered: