Inkscape.org
Beyond the Basics Delete all gradients (including used!)
  1. #1
    InkBlot9 InkBlot9 @InkBlot9

    I'm editing a SVG created by another program, and there's a lot of gradients.
    Visually, I cannot find them, so I'd like to just get rid of all of them, but since they are in use they are not removed by the "clean-up document" action.

    So, is there a way to delete all gradients, regardless if they are currently in use?

  2. #2
    Tyler Durden Tyler Durden @TylerDurden

    I'd try the Find/Replace (Ctrl+F), search term: gradient... all objects w gradients should be selected... Fill/stroke dialog to replace all with a solid color or none, etc.

  3. #3
    InkBlot9 InkBlot9 @InkBlot9

    Thanks, I wasn't aware this existed. I notice that it sometimes can't find a named gradient, even though it exists in the list of gradients. But it's a good start, at least I found were the gradients were located in the document :-)

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Delete all gradients (including used!)