Is it possible to use a black and white png/jpg/whatever as a mask for an image? All the masking filters are using rectangles
something like
<image ...bla bla mask="mask.png"/>
using image as mask
Re: using image as mask
You can only mask with a mask element. So you would do something like
and apply it with mask="url(#mask1)".
Code: Select all
<mask id="mask1">
<image xlink:href="mask.png" x="50" y="50" width="200" height="200"/>
</mask>
and apply it with mask="url(#mask1)".