Ted Gould wrote:
On Wed, 2007-07-04 at 09:17 +0300, Nicu Buculei (OCAL) wrote:
Do you remember we have a number of gradients and patterns submitted a long time ago to OCAL by Alan Horkan? A very brute way to use the existing those would be to generate a kind of preview (the files are empty, without any path [1], so Nautilus or any other file manager can't automatically create an useful thumbnail), drag and drop them into your document and use the gradient/pattern.
I believe this is the same way that GIMP gradient files will behave when they are imported into Inkscape.
And the GIMP gradients are even part of the Create [1] release. Probably we can put SVG patterns there too. The problem is a visual browser for those gradients or patterns is needed. For GIMP gradients it would have to be coded from scratch, SVGs with previews may be a temporary workaround. For now I see people sharing gradients like this: http://www.inkscapeforum.com/viewtopic.php?f=9&t=95#p528
Probably a better solution is to detect imports of only defs and display something. Anyone have ideas? I see a little paper clip saying "You've added a gradient" ;)
[1] - http://create.freedesktop.org/wiki/index.php/Main_Page