
On 2007-July-10 , at 09:10 , Maarten van der Velde wrote:
Just another idea to drive those heroic programmers of Inkscape mad, but I think it could be implemented by anyone knowing only slightly more about programming as I do:
If I had a drawing with 3 colors, I'd like a function/widget/thingy/batch-msdos-bash-script that
- can substitute all ocurances of 1 color for 1 predifinded other
color. (so, for example, I could tell it to substitue all #000000 -> #FF0000, #FF0000 -> #FFFFFF and #FFFF00 -> #0000FF, hence turning the German flag into the Dutch) 2. can either systematiccally cycle/iterate through the specified colors, or assing them randomly, creating a series of output SVG files, all with different color-schemes.
In this way, it would be easy to test quickly different color-scheme's on a drawing. Make it first in 3 greys, and then test it with vibrant, saturated colors or with dim, purple shades of green...
This kind of extension was already mentioned once on the devel list, in a discussion about some features similar to the "live trace" feature of Adobe Illustrator. See this message for example: http://thread.gmane.org/gmane.comp.graphics.inkscape.user/8162/ focus=8172 The point was to be general: take any object/group of objects/ selection and change the colors in it to fit the currently selected swatches. I think that this + easier access to swatches (with the possibility to create a new palette on the fly and such) would be a really great feature. Applying a color scheme to a drawing would then be a breeze. Volunteers?
JiHO --- http://jo.irisson.free.fr/