This kind of filter already exists : Transparency tool/Light eraser but it's progressive and based on lightness and not color. Prkos wrote: Hey Ivan! Got any tips on what primitives to use to create a filter that makes all white areas transparent?īTW I tried the new filters they are a great addition, and it's nice they are all marked as new makes it easier to explore. We get this type of question so much, that I'm in the process of writing kind of an overview, to put in an FAQ for this forum. But if it is a rather simple line drawing, like a cartoon, it should be "doable" ( ) especially if it's all solid white and you want only full transparency. If your bitmap is a photo or something like it, this will be very difficult to do with Inkscape (if not impossible). Unfortunately, I can't remember what it is But maybe someone else can tell you? Manipulating the XML code, I think? However, if you want alpha transparency, where there is some solid white, which would be fully transparent, and "shades" of white which would be partiallly transparent, while "not white" would be opaque, you'll do better with a Mask, rather than a Clip. That said, I believe there is some sort of trick by which this can be done.
But with vectors, no pixels, so no way to select the white areas. Raster graphics programs achieve this by selecting every pixel with white in it. The reason Inkscape can't select colors, is because of the nature of vector graphics, which does not recognize pixels.