Skip to content
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

Add filter transparency-by-color (e.g. greenscreen) #32

Open
Zulko opened this issue Aug 22, 2021 · 0 comments
Open

Add filter transparency-by-color (e.g. greenscreen) #32

Zulko opened this issue Aug 22, 2021 · 0 comments
Labels
enhancement New feature or request
Projects

Comments

@Zulko
Copy link
Owner

Zulko commented Aug 22, 2021

Motivation:

Some GIFs, videos and images can have a green (or black or white) background. Users may want to make that background transparent so they can overlay the asset over another one.

Blocked by: #33

Specs

  • In the Asset Filters (not yet implemented as of writing), users can define a new filter where they define the color to make transparent.
  • There may be a need for another parameter defining the sharpness of the filter to apply.

Technical notes

  • There doesn't seem to be any library providing the effect, but this may be doable with something like Jimp
  • Unclear how much this would slow down previews if done in real time. An alternative (at least for gifs and videos with few frames) could be to cache the green-screen frames so they only get computed once.
@Zulko Zulko added the enhancement New feature or request label Aug 22, 2021
@Zulko Zulko added this to To do in Filters Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Filters
To do
Development

No branches or pull requests

1 participant