3

I want the sides of this SVG image trimmed:

enter image description here

I tried opening it with Inkscape, selecting the region I want with the Rectangle tool and then Object → Clip → Set. But nothing happens.

0

The rectangle used to clip. ^ Draw a rectangle around the object and make a copy of it (you'll need it once per path in the SVG). The input SVG broken apart ^ Break apart the input SVG (using Ctrl+Shift+G to ungroup); this is the only way that this method works. Selecting each path one-by-one and using Path Intersection to crop them ^ With each individual path, select it and the rectangle. Execute Path > Intersection or Ctrl+Shift+8. You don't need to do this for a path if that path doesn't go outside of the crop area. The final result ^ After doing this for each individual path, you can regroup the SVG if you want.

Hope that helps!

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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