Advertisement


Remove background based on color in Inkscape


Question

There is a classical way of removing background in Inkscape using Bezier curves. This is often quite lengthy process.

Is it possible to remove the background of an object based on background color (e.g. to tell only to remove yellow background)? Or some clever method that is able to detect what is object and what is background?

If so, could you describe the tools that are available in Inkscape?

2015/11/19
1
27
11/19/2015 1:12:00 PM

Accepted Answer

You could probably try to "trace bitmap", using the "Multiple scans" with "Colors", with the "remove background" option, and choosing "2" scans.

Original Bitmap

Trace Bitmap

Then, click "Ok", select both the bitmap and the vector result :

Trace result

Then rightclick, and select "Set Clip" :

Clipped result

Far from perfect, but it's a good start.

2013/01/31
23
1/31/2013 10:05:00 PM