Masks based on white and black color value and anything in between to manage transparency (White=100 Opacity/black=0 Opacity)- so don´t use any lower opacity then 100 in your gradient. And you need PNG as your export file format as JPG don´t support alpha channel.
Good afternoon,
I am a new Inkscape user (but used very often before CorelDraw and Corel PhotoPaint)
I just switched Inkscape.
I try to apply transparency on a part of a bitmap (jpg file) image.
I import that image. I draw a rectangle (black) on that image and fill with a gradient.
I can modify that gradient, and I see the image below.
I than select both (image + rectangle) and apply the mask (Object, Mask, Set Mask).
Both become ... white and I don't see the image anymore (with "set Mask" or "set inverse Mask")
I did the same operation with a colored circle, a black rectangle above.
I have to select "Mask", "set inverse Mask" (why "inverse", I don't know" and I get the good result.
If I choose "set Mask", the result is also totally white.
Do you have any suggestion or solution.
I suppose the solution is something stupid, but I don't find the solution (I tried to find a solution on Internet)
Thank you already
Serge
Maybe this:
Ensure the gradient uses opaque grayscale.
Hello Tyler,
Thabk you for your tutorial (that I already saw when I was trying.to understand what was wrong)
I think I found the solution (or the cause)
On the "mask object", I have to change the value of the color on the color wheel
I have HSL color, and "L" put 100% on L and" A". (I attach a printscreen)
If I don't do that, the result is a totally blank image.
But I could continue further in the project with the (bad or good) solution I tried.
Thank you
Serge
I have done Serge's solution and I get the same result, whited-out image
Masks based on white and black color value and anything in between to manage transparency (White=100 Opacity/black=0 Opacity)- so don´t use any lower opacity then 100 in your gradient. And you need PNG as your export file format as JPG don´t support alpha channel.
Now the image I want to have gradient opacity shows up in white against the square with the gradient.
Is your picture inverted on purpose? If that´s what you want?
No, I would like for it to look like how you have it on the Right