I would like to apply a filter in Inkscape only on the clipped part of an object.

I want to apply a filter only on part of a bitmap (shown here as a white square). Typically, I use Set Clip to select the part I care about. However, when I apply e.g. Dark and Glow after setting the clip, it uses the original object as the source.

How can I apply the filter on the clipped selection? Can this be done with clipping? Or is there another way of cropping in Inkscape?

On the right, I applied "Dark and Glow" after setting the Clip

1 Answer 1


Inkscape has very limited bitmap image editing tools. But you can apply Edit > Make a Bitmap Copy to your clipped bitmap image. The result hopefully gets SVG effects in the wanted way.

You must set in preferences high enough create bitmap resolution before making one:

enter image description here

  • Thanks, that works perfectly and is excactly what I was looking for. But quick follow up question: I created the example figure using path objects, but I have the same problem. Would I need to convert the path to a bitmap as well, or is there a more elegant option for paths?
    – Nico
    Commented Aug 12, 2020 at 12:51
  • You can subtract unwanted areas from path objects. Path > Difference does the subtraction for closed areas. Or as well you can make an intersection with the wanted area mask path. Every path must be handled separately, you cannot use groups. Open paths must be splitted or converted to closed areas by applying Path > Stroke to path. Learn path operations in the User's Guide.
    – user82991
    Commented Aug 12, 2020 at 12:58
  • @Nico (continued) That's the general method to crop vector shapes if the result must not have hidden parts. If you are going to apply a filter you can as well make a bitmap copy. You lose nothing because filtering result is finally a bitmap. Save the original vector shape, too because you can need it later.. You can make it invisible in the objects panel.
    – user82991
    Commented Aug 12, 2020 at 13:37
  • Thamk you a lot for the explanation! I am using inkscape mostly for presentations, so all this knowledge is really helpful :)
    – Nico
    Commented Aug 13, 2020 at 8:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.