I have a SVG file with a few objects it. They all have a linear gradient applied to them on top of their fill colour. I would like to clear all these gradients so that they are all one solid colour. I have found online many methods to "clean" a svg i.e. remove all unused gradients, but here I would like to remove all gradients whether they are used or not.
Is there a method? (I have looked into inkscape and into the XML without finding anything obvious)
It was actually quite easy. Select all objects and in Fill and Stroke set them to Fill. Then use File > Clean up document to clean the unused gradients.