Hello all,
I would like to find an automatic solution for the following
workflow.
- open/import file (eg. eps format)
- select all paths of color x (ctr+f in xml editor for first
hex-color string)
- ctrl++ to union selection
- repeat for all remaining colors
- export to svg
or, if you will,
open or import file (eg. eps format);
for (all colors in drawing)
{
select all paths of the current color;
perform union on selected paths;
}
export drawing;
I suppose there should be a solution along the lines of
inkscape -f input.eps --verb=EditDeselect
--select=allPathsOfSameColors --verb=SelectionUnion
--export-simple-svg
However, I have no clue how to go about selecting all paths of the
same color or how to iterate over all colors.
Any help or pointers would be very much appreciated.
Cheers
Götz