Skip to content

Background removal / custom handlers #181

@TorbjornHoltmon

Description

@TorbjornHoltmon

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

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions