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.

3
  • 4
    Are you selecting both the mask and the object to clip?
    – Juancho
    Nov 24 '17 at 16:30
  • 1
    Is the raster with triangle and labels all vector graphic or is it an imported bitmap? Dec 12 '17 at 14:49
  • Draw a rectangle. Then do Edit > Resize page to selection. Delete the rectangle.
    – Billy Kerr
    May 28 at 10:23
1

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!

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.