Gradients and Pattern Libraries
After a discussion in the IRC channel about gradients and patterns, i have a few queries about them:
1. Do the inkscape/share/patterns and inkscape/share/gradients actually do anything in Inkscape yet?
2. Is there anyone planning to create code for a gradients or pattern library in inkscape, so they can be browsed and imported into the current document.
3. What would be the format for keeping, say gradients in a library?
cheers,
ryanlerch
On 7/3/07, ryan lerch <ryanlerch@...400...> wrote:
- Do the inkscape/share/patterns and inkscape/share/gradients
actually do anything in Inkscape yet?
no
- Is there anyone planning to create code for a gradients or pattern
library in inkscape, so they can be browsed and imported into the current document.
not currently, your contributions welcome
- What would be the format for keeping, say gradients in a library?
just svg I think
okay, i started throwing around some ideas about how to implement a gradient/pattern library, here is a mockup of my idea #1 which is to encorparate it in the gradients in the fill/stroke dialog box...
http://wiki.inkscape.org/wiki/images/Mockup.svgz there are some basic notes on there as well (they did not render in opera because they are in flowed textboxes...
i have some other ideas that im throwing about in my head at the moment that im working on, any further ideas would be appriciated...
:P
cheers,
ryanlerch On 7/4/07, bulia byak <buliabyak@...400...> wrote:
On 7/3/07, ryan lerch <ryanlerch@...400...> wrote:
- Do the inkscape/share/patterns and inkscape/share/gradients
actually do anything in Inkscape yet?
no
- Is there anyone planning to create code for a gradients or pattern
library in inkscape, so they can be browsed and imported into the current document.
not currently, your contributions welcome
- What would be the format for keeping, say gradients in a library?
just svg I think
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
oh, and i borrowed the elements from my mockup from one andyfitz did a while back... thanks andy :P
On 7/4/07, ryan lerch <ryanlerch@...400...> wrote:
okay, i started throwing around some ideas about how to implement a gradient/pattern library, here is a mockup of my idea #1 which is to encorparate it in the gradients in the fill/stroke dialog box...
http://wiki.inkscape.org/wiki/images/Mockup.svgz there are some basic notes on there as well (they did not render in opera because they are in flowed textboxes...
i have some other ideas that im throwing about in my head at the moment that im working on, any further ideas would be appriciated...
:P
cheers,
ryanlerch On 7/4/07, bulia byak <buliabyak@...400...> wrote:
On 7/3/07, ryan lerch <ryanlerch@...400...> wrote:
- Do the inkscape/share/patterns and inkscape/share/gradients
actually do anything in Inkscape yet?
no
- Is there anyone planning to create code for a gradients or pattern
library in inkscape, so they can be browsed and imported into the current document.
not currently, your contributions welcome
- What would be the format for keeping, say gradients in a library?
just svg I think
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
On 7/4/07, ryan lerch <ryanlerch@...400...> wrote:
I like it. It is unobtrusive, easy to understand, and takes space which is now wasted anyway. We already have a widget that creates a gradient preview strip (albeit without rounded corners, of course), just use it.
Also, like in the markers menus, provide some separator between the gradients that are in this document and those that are in a library. I think the current gradient should not be a menu (these menus are very hard to use), just make it a static swatch and move the current document's gradients to the swatch palette below (with a separator as I just said).
However for patterns, we don't have a widget yet, and pattern swatches need to be larger anyway...
And it would also be nice to convert the markers menus into similar palettes - for consistency and because the menus are very inconvenient to use.
On 2007-July-04 , at 17:30 , bulia byak wrote:
[...] And it would also be nice to convert the markers menus into similar palettes - for consistency and because the menus are very inconvenient to use.
This would be very nice indeed. I submitted an RFE about this: http://sourceforge.net/tracker/index.php? func=detail&aid=1365442&group_id=93438&atid=604309 I hope you'll close it soon ;) Gimp's way of handling this (choice between grid view, list view and different size of swatches) is nice IMHO. And it would also have the advantage of being well known already.
Cheers,
JiHO --- http://jo.irisson.free.fr/
On 7/4/07, jiho <jo.irisson@...400...> wrote:
Gimp's way of handling this (choice between grid view, list view and different size of swatches) is nice IMHO. And it would also have the advantage of being well known already.
Indeed, if you borrow this widget from GIMP (which also uses GTK) it would make your work easier and will give us a lot of nice functionality for free.
On Jul 4, 2007, at 10:58 AM, bulia byak wrote:
On 7/4/07, jiho <jo.irisson@...400...> wrote:
Gimp's way of handling this (choice between grid view, list view and different size of swatches) is nice IMHO. And it would also have the advantage of being well known already.
Indeed, if you borrow this widget from GIMP (which also uses GTK) it would make your work easier and will give us a lot of nice functionality for free.
Sorry for the late response, but Real Life really smacked me upside the head there for a while...
Anyway, Bulia's assessment of the GIMP's widget is in line with mine. In fact, I implemented the color swatches in a C++ way that was based on GIMP's, so as to allow for us to implement that behavior, but in C+ + instead of C.
If anyone wants to work in that area, I can collaborate/advise.
On Thu, Aug 23, 2007 at 10:21:25PM -0700, Jon A. Cruz wrote:
On Jul 4, 2007, at 10:58 AM, bulia byak wrote:
On 7/4/07, jiho <jo.irisson@...400...> wrote:
Gimp's way of handling this (choice between grid view, list view and different size of swatches) is nice IMHO. And it would also have the advantage of being well known already.
Indeed, if you borrow this widget from GIMP (which also uses GTK) it would make your work easier and will give us a lot of nice functionality for free.
Sorry for the late response, but Real Life really smacked me upside the head there for a while...
Great to see you back Jon! Hope all is well again.
Bryce
I just want to throw in the idea to not put the gradient into separate files but into one, which best would be css if possible.
As a designer, from project to project you need other predefined fonts, other colours, line thicknesses, and gradients, related to the corporate identity of the project (this is also valid for e.g. Tango icons) Hence it would be great to have all these definition in one file, that you can link the documents to.
Cheers!
David
On Wed, 2007-07-04 at 14:53 +1000, ryan lerch wrote:
okay, i started throwing around some ideas about how to implement a gradient/pattern library, here is a mockup of my idea #1 which is to encorparate it in the gradients in the fill/stroke dialog box...
http://wiki.inkscape.org/wiki/images/Mockup.svgz there are some basic notes on there as well (they did not render in opera because they are in flowed textboxes...
i have some other ideas that im throwing about in my head at the moment that im working on, any further ideas would be appriciated...
:P
cheers,
ryanlerch On 7/4/07, bulia byak <buliabyak@...400...> wrote:
On 7/3/07, ryan lerch <ryanlerch@...400...> wrote:
- Do the inkscape/share/patterns and inkscape/share/gradients
actually do anything in Inkscape yet?
no
- Is there anyone planning to create code for a gradients or pattern
library in inkscape, so they can be browsed and imported into the current document.
not currently, your contributions welcome
- What would be the format for keeping, say gradients in a library?
just svg I think
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
ryan lerch wrote:
After a discussion in the IRC channel about gradients and patterns, i have a few queries about them:
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.
- Do the inkscape/share/patterns and inkscape/share/gradients
actually do anything in Inkscape yet?
- Is there anyone planning to create code for a gradients or pattern
library in inkscape, so they can be browsed and imported into the current document.
[1] - IIRC, at the time we discussed having a simple rectangle into the gradient SVG for thumbnails but the author did not want this for compatibility reasons with another graphic application.
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.
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" ;)
--Ted
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
participants (8)
-
Bryce Harrington
-
bulia byak
-
David Christian Berg
-
jiho
-
Jon A. Cruz
-
Nicu Buculei (OCAL)
-
ryan lerch
-
Ted Gould