kimikage / ColorBlendModes.jl

blend modes such as multiply, screen, overlay and so on.
MIT License
4 stars 0 forks source link

Adding tests for combinations of `CompositeOperation`s and `BlendMode`s. #27

Closed kimikage closed 3 years ago

kimikage commented 3 years ago

If both CompositeOperation and BlendMode (i.e., mode and op keyword arguments) are specified, (in-place) blending is performed first and then compositing is applied. https://drafts.fxtf.org/compositing-1/#generalformula

~However, the most conbinations ignore the necessary blending.~

kimikage commented 3 years ago

I was wrong. The current implementation probably satisfies the specifications.

However, additional testing is required.