Inkscape.org
Beginners' Questions How to Create a Gradient Mask for Transparent Overlays?
  1. #1
    maismith maismith @maismith๐Ÿšซ
    *

    Hi Inkscape Community,

    I'm working on a project where I need to create a transparent overlay with a gradient effect (from fully opaque to fully transparent) on an image. I'm struggling to get the desired result.

    Hereโ€™s what Iโ€™ve tried so far:

    1. Created a rectangle and applied a gradient to it.
    2. Attempted to use the rectangle as a mask over the image, but the transparency doesnโ€™t seem to apply correctly.

    Could someone guide me on the proper steps to achieve this? Iโ€™m looking for a smooth transition and want the transparency to blend seamlessly.

    Thank you in advance for any advice or tips!

    Best regards,
    ย 

    (Link deleted by moderator)

  2. #2
    Polygon Polygon @Polygonโš–๐ŸŒถ

    The gradient needs to go from full flat black (0% opacity( to full flat white (100% opacity) when used as a mask:

  3. #3
    Xav Xav @Xav๐Ÿ‘น

    The gradient can also go from transparent white (0% opacity) to opaque white (100% opacity). This can sometimes be better than using black as an end stop because it does allow you to see the object behind the mask to some extent, which may help with positioning. Note, however, that it feels rather backwards - the bits you can best see through the mask are the ones that will become most transparent once the mask is applied.

  4. #4
    Xav Xav @Xav๐Ÿ‘น

    Sorry for the multiple posts. The 'submit reply' button didn't seem to be working, so naturally I hit it again (and again, and...). Unfortunately I don't have permission to delete the dupes.

  5. #5
    Polygon Polygon @Polygonโš–๐ŸŒถ
    Xav

    Unfortunately I don't have permission to delete the dupes.

    Done.

    ย 

    Xav

    The gradient can also go from transparent white (0% opacity) to opaque white (100% opacity).

    Yes - "White" is the important part then.

Inkscape Inkscape.org Inkscape Forum Beginners' Questions How to Create a Gradient Mask for Transparent Overlays?