Difference between revisions of "Swatch Book"
(added use case) |
|||
Line 191: | Line 191: | ||
! SVG | ! SVG | ||
! GIMP | ! GIMP | ||
! PS | |||
|- | |- | ||
|Multi-segment | |Multi-segment | ||
|Y | |||
|Y | |Y | ||
|Y | |Y | ||
Line 199: | Line 201: | ||
|N | |N | ||
|Y | |Y | ||
|N | |||
|- | |- | ||
|Adjustable segment midpoint | |Adjustable segment midpoint | ||
|N | |||
|Y | |||
|Y | |||
|- | |||
|Opacity stops separate from color stops | |||
|N | |||
|N | |N | ||
|Y | |Y | ||
|- | |- | ||
|Fixed color stop | |Fixed color stop | ||
|Y | |||
|Y | |Y | ||
|Y | |Y | ||
Line 210: | Line 220: | ||
|FG color stop | |FG color stop | ||
|N | |N | ||
|Y | |||
|Y | |Y | ||
|- | |- | ||
Line 215: | Line 226: | ||
|N | |N | ||
|Y | |Y | ||
|Y* | |||
|- | |- | ||
|BG color stop | |BG color stop | ||
|N | |N | ||
|Y | |||
|Y | |Y | ||
|- | |- | ||
Line 223: | Line 236: | ||
|N | |N | ||
|Y | |Y | ||
|Y* | |||
|- | |- | ||
|Blend linear | |Blend linear | ||
|Y | |Y | ||
|Y | |Y | ||
| | |||
|- | |- | ||
|Blend sinusoidal | |Blend sinusoidal | ||
|N | |N | ||
|Y | |Y | ||
| | |||
|- | |- | ||
|Blend spherical + | |Blend spherical + | ||
|N | |N | ||
|Y | |Y | ||
| | |||
|- | |- | ||
|Blend spherical - | |Blend spherical - | ||
|N | |N | ||
|Y | |Y | ||
| | |||
|- | |- | ||
|Color mode RGB | |Color mode RGB | ||
|Y | |||
|Y | |Y | ||
|Y | |Y | ||
Line 247: | Line 266: | ||
|N | |N | ||
|Y | |Y | ||
|Y? | |||
|- | |- | ||
|Color mode HSV ccw | |Color mode HSV ccw | ||
|N | |N | ||
|Y | |Y | ||
|Y? | |||
|} | |} | ||
Revision as of 04:42, 4 November 2010
Overview
This page is for discussing the concepts around swatch books, for Inkscape and any other programs, and what things users might want.
Feel free to contribute here, on the mailing lists, or in our Jabber/IRC chat rooms.
What is a Swatch Book?
Basically a "Swatch Book" is a collection of swatches that an artist or designer might put together for reference during a project.
Although a large number of people are familiar with various commercial spot color books, a swatch book is not limited to just colors. Decorators, designers and others often have books with more than simple color chips. That leads into the question of just what is a 'swatch' - JonCruz
What is a "Swatch"?
In general artistic design work, I normally hit a different definition of "swatch". It's not just a color, it's a "sample" or "material". It could be a simple solid ink color, or it could be a heavy plaid cloth. Moving into software, "Gold" is another good example. "Gold" is a texture, not a color (just ask the Blender artists out there). From an artist/designer's viewpoint, they tend to think in terms of a swatch book as "a collection of things I've pulled together to use for this project". I *think* some of the problem comes from saying "Pantone swatch book" and such but not keeping in mind that it is just a subset of general "swatch books". That is, it is a "swatch book but with only solid paint swatches". Then again... I have used foil Pantone books, so those definitely fall into the "material, not just color" category. - JonCruz
Some examples I've seen in swatch books are
- Fabric
- Ribbon
- Paint
- Spot color samples (Pantone, Trumatch, Focoltone, Toyo, etc)
- Paper
- Wood
- Flooring
- Tile
- Counter material
The key here might be to think "material" instead of just "color". Although one might work with just colors, others might want to extend to a bit more.
Why OpenSwatchBook?
I have seen a need come up many times for shared collections of disparate resources such as colors, textures, patterns, etc. Others on some different projects think it might be nice in the long run, but that they're not looking at jumping in themselves in the immediate timeframe. Some discussion has been done involving the people in CREATE, but the colour file format is as far as the common interests go at the moment.
Once the format has been roughed out and some working prototypes are in place, we'll see other projects revisiting for collaboration. So first we just need to collect up general use cases and implement a rough draft.
Use Cases
And think of the use case. Say a comic artist is working on a project. He would probably want a "swatch book" for each of his characters, and perhaps one combining them. Then he might also want to add a book per character per lighting condition ("daytime", "nighttime", etc). When he went to use it, he might like to just select "Fred's skin" and apply it to an area. Then "Fred's shirt" for another. Those might just be simple RGB colors, or the skin might be a simple gradient and the shirt might be a checked pattern.
However... the artist most definitely would benefit from being able to define those books once and then just reference them from each of the programs he uses to create things. - JonCruz
I think it would also be good if we could educate the comic artists on SVG Blend modes work, this way there would be no need to have separate color swatches for time of day. You could easily overlay a colored/gradiated rectangle within a frame and use multiply or another blend mode. Then again, that's also a preference of workflow.- ScislaC
Swatches in SVG/Inkscape
For SVG work, we'd probably like to be able to include gradients and patterns also. "Brushes" might also be nice... but I think those are something a bit different. For the apps I've seen that differentiate brushes from patterns, brushes get to be more of blobs of complex procedural code. - JonCruz
This involves more than just the swatches, but I found the brush weight profiles in Xara X[1|treme] quite intuitive. Basically it's now doable in 0.46 with LPE and an auxiliary shape that defines the variable brush weight, but Xara's simple dropdown of pre-defined profiles worked quite well. Just a thought. - jegHegy
I think all mentioned uses of swatches are applicable. As for brushes, yes, I think those would be great as well. If we can have a standard cross-application compatible way to include those and then leave it up to the applications to implement how they want to utilize them, that would be optimal. In addition to brushes, having a symbols library implemented in a swatch book would also be greatly helpful. - ScislaC
Artists sending their work to a screen printer need to work in spot colors for easy separation, so they can avoid additional "artwork fees" by the provider. Usually, the provider also has a set of standard colors that they use, charging more for custom mixing. --Cohort 05:06, 25 December 2009 (UTC)
Mockups
TBD
Software Support
Chart
The purpose of this table is first of all to find what apps support each feature, so that we can then look into each of those to make sure that we support everything that each app needs to be sharable in a swatchbook.
Please note that the features across the top will probably change as we gain more information. Also what gets entered into each cell will change once we have a better idea what's going on.
App | Color | Gradient | Gradient
Application |
Pattern | Filter | Brush | Symbol | Line Marker |
---|---|---|---|---|---|---|---|---|
Inkscape | yes, rich | yes | limited | yes, vector | Yes, as of 0.46+Dev | not really | ? | yes |
Blender | ? | ? | ? | ? | ? | ? | ? | ? |
CinePaint | ? | ? | ? | ? | ? | ? | ? | ? |
GIMP | yes | yes | yes, rich | yes, bitmap | ? | yes | ? | ? |
KolourPaint | ? | ? | ? | ? | ? | ? | ? | ? |
Krita | ? | ? | ? | ? | ? | ? | ? | ? |
Scribus | yes | no | yes | yes, bitmap and vector | no | no | no | limited |
Feature Details
Color
The intent is to exchange color in the format worked out by CREATE
A few additions might be made, but only in a manner that won't break use of that spec.
Gradient
Gradients in SVG can be expressed as a subset of those supported by GIMP once shape/coordinates are separated. That is, pulling off linear, radial, etc.
In the GIMP UI there is a "blend" tool, and one of the inputs is "Gradient". "Shape" is a different input.
General Characteristics
aspect | SVG | GIMP | PS |
---|---|---|---|
Multi-segment | Y | Y | Y |
Segment end can differ from next segment start | N | Y | N |
Adjustable segment midpoint | N | Y | Y |
Opacity stops separate from color stops | N | N | Y |
Fixed color stop | Y | Y | Y |
FG color stop | N | Y | Y |
FG+A color stop | N | Y | Y* |
BG color stop | N | Y | Y |
BG+A color stop | N | Y | Y* |
Blend linear | Y | Y | |
Blend sinusoidal | N | Y | |
Blend spherical + | N | Y | |
Blend spherical - | N | Y | |
Color mode RGB | Y | Y | Y |
Color mode HSV cw | N | Y | Y? |
Color mode HSV ccw | N | Y | Y? |
So a GIMP format gradient is SVG compatible if:
- the end stop for each segment matches the begin stop for the next segment
- the midpoint of each segment is centered
- the color chosen is proper (need some work here)
- the blend is limited to only linear
- the coloring mode is limited to only RGB
Gradient Application
Type | SVG | GIMP |
---|---|---|
Linear | Y | Y |
Bi-linear | ? | Y |
Radial | Y | Y |
Square | N | Y |
Conical (sym) | N | Y |
Conical (asym) | N | Y |
Shaped (angular) | N | Y |
Shaped (spherical) | N | Y |
Shaped (dimpled) | N | Y |
Spiral (cw) | N | Y |
Spiral (ccw) | N | Y |
Pattern
Filter
Brush
Symbol
Line Marker
References
- My post to the CREATE list on Sep 27, 2007.