blocksuite icon indicating copy to clipboard operation
blocksuite copied to clipboard

Remove background from image in Edgeless​

Open CheatCodeSam opened this issue 10 months ago • 4 comments

Description

When entering the context menu for an image, there should be an option to automatically remove the background. This would make collections of images neater, and help group them together.

Use case

Apple Freeform has this feature, and I think it would work well when ported to AFFiNE. People who use AFFiNE as a general moodboard would like this as it makes collections of images look better.

Anything else?

I would love to help implement this, but the repository is intimidating with it's size. Any pointers in the right direction and I could see what I could do. I've included a video on how it is done on Apple Freeform. I found this library which can do it on browser or on Node, which could be beneficial.

https://github.com/toeverything/AFFiNE/assets/35058096/0dff4277-08d5-4eb1-ad33-a6ac74f29fe5

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

CheatCodeSam avatar Apr 11 '24 00:04 CheatCodeSam

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Apr 11 '24 00:04 affine-issue-bot[bot]

Thank you so much for your suggestion. We will implement the function of creating stickers and possibly the function of removing the background of images in later iterations, but it may take some time.

donteatfriedrice avatar Apr 11 '24 02:04 donteatfriedrice

Unfortunately, we cannot integrate the library you have mentioned because the LICENSE is not compatible. We will try to find other libraries instead.

fourdim avatar Apr 11 '24 05:04 fourdim

Thank you, loving the app so far.

CheatCodeSam avatar Apr 11 '24 19:04 CheatCodeSam