Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I have a .svg file with many different paths. I know I can select all black parts by using Ctrl + F and searching in the style attribute.

I combined all black paths to one. But I want to remove all black parts from the image. Making them transparent doesn't work, because e.g. the a of waten is filled with red behind the black dot.

Is there a way to achieve this without selecting each single path and use the Path > Difference (Ctrl + -) function?

Screenhot:

Inkscape Screenshot

share|improve this question
    
@BartArondson Ctrl on English keyboards, thanks ;-) –  kelunik Apr 24 at 14:38

1 Answer 1

up vote 4 down vote accepted

Sadly, in inkscape, there is no easy way to apply a single boolean operation over a group of objects. There is an open feature request for this in the inkscape bug tracker (https://bugs.launchpad.net/inkscape/+bug/171379)

However, you may be able to fudge this using clipping to get the result that you want.

In the following drawing, the 4 blue circles are in a group, The 4 black circles are one path. (i tried to make an example similar, concept wise, to yours.) Note also that the background of my document is grey.

initial

Next, draw a path that covers the whole drawing (mine is magenta), and send it below (in the z-order) the black circles path:

enter image description here

Next, select the magenta path, and the black circles path, and do a Path > Difference on those:

enter image description here

Now select the magenta path, and the group with the blue circles in it, and do a Object > Clip > Set

enter image description here

Note, however, that clipping is non-destructive. It does not actually remove anything from the document like a Boolean Operation like Difference. I have a more in-depth writeup about clipping in this article -- http://inkscapetutorials.wordpress.com/2014/04/22/inkscape-faq-how-do-i-crop-in-inkscape/#clipping

share|improve this answer
    
Good, step by step answer, thanks :) –  kelunik Apr 24 at 10:13
    
Hope it helped! –  ryanlerch Apr 25 at 13:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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