Inkscape.org
Beginners' Questions Mask adding transparency
  1. #1
    tromatojuice tromatojuice @tromatojuice
    *

    Hello, 

    I'm trying to create a mask to hide a little character behind objects on a picture (so photographed object, not inkscape objects). 

    But everytime I try to do that using the mask setting, it adds transparency to my character. It did the same for a bit with "cliping" but now it doesn't apply transparency any more. 

    Not really sure what's going on - if any of you have a solution I would <3 it. 

    Cheers!

    Config: Inkscape 1.0.1 (3bc2e813f5, 2020-09-07) - run on Windows 10 (Surface pro 4) - installed with MSI package

     

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    It might help to share a picture of what you are describing, or share the Inkscape file. 

    Generally, masks are for transparency.

    Any object can be used to mask another object. The opacity and lightness of the mask determines the opacity of the masked objects. A masked object will be fully opaque only at places that are: inside the mask path, where the mask has maximum lightness (i.e., white), and the mask has maximum Alpha. So to summarize:

    • Regions with minimum lightness (i.e., black) will be fully transparent.

    • Regions with minimum Alpha (zero alpha) will be fully transparent.

    • Regions outside the mask will be fully transparent.

    http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Clip-Masking.html

  3. #3
    tromatojuice tromatojuice @tromatojuice

    Hi Tyler, 

    Thanks a lot. You answered my question: I was trying to use an object that was red (so I could see clearly where the mask is). 

    Turning it to white solved it (I was trying to put the little death character behind a tombstone and a tree). 

     

    Cemetary