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

Feature Request: Blend Modes #320

Open
jeffski opened this issue Sep 7, 2019 · 2 comments
Open

Feature Request: Blend Modes #320

jeffski opened this issue Sep 7, 2019 · 2 comments

Comments

@jeffski
Copy link
Contributor

jeffski commented Sep 7, 2019

I've been thinking about this for a while and might take a look at if I get a chance - blend modes.

Photoshop, Premiere and other video/photo editing software have blend modes where you can control the way images blend over each other. With video it's really effective for overlaying light leaks, weather effects etc..

I noticed that Qt QPainter has CompositionModes and several of these equate to what you would see in Adobe products (screen, multiply, dodge, etc...).

Also it seems that Timeline and Frame already use this:

painter.setCompositionMode(QPainter::CompositionMode_SourceOver);

So I'm wondering if this could be set by the user to a selection of sane presets to effectively add blend modes to libopenshot/OpenShot?

Any pointers or advice much appreciated and I can start investigating.

@SG57
Copy link

SG57 commented Mar 6, 2021

Any work done on this? I may do it myself, seems silly not to support this.

@nilp0inter
Copy link

I find this feature quite essential for working with overlays. Right now the only option is to do some trickery with the alpha settings and maybe chroma effect, but it doesn't look good.

I may get this a try over the weekend. @jeffski , @SG57 have you done any work on this?

I guess we'll need a new attribute in the Clip class for settings the blend mode that would be used in Timeline::add_layer to set the appropriate composition mode. Any thoughts?

nilp0inter added a commit to nilp0inter/libopenshot that referenced this issue Jan 7, 2022
nilp0inter added a commit to nilp0inter/libopenshot that referenced this issue Jan 7, 2022
nilp0inter added a commit to nilp0inter/libopenshot that referenced this issue Sep 5, 2022
nilp0inter added a commit to nilp0inter/libopenshot that referenced this issue Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants