Skip to content

Luminosity Masking Effect when Compositing #3140

@thesoulkiller

Description

@thesoulkiller

Question about an existing feature

What are you trying to achieve?

Hello,
I'm using the composite function to composite multiple layers into one. In photoshop I'm using one of the layers as a luminosity mask so that some lights occur more bright but it doesn't change any coloring or so.

I've looked into https://www.cairographics.org/operators/ and I've found that I should use CAIRO_OPERATOR_HSL_LUMINOSITY method to achieve luminosity masking.

Is there any ways to do this operation in .composite() function ?

Thanks in advance !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions