Re: [Inkscape-devel] [Inkscape-user] Feature Ideas | colorscheme's

On 7/10/07, Maarten van der Velde <Maarten.van-der-Velde@...1771...> wrote:
- 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)
With our coloreffect.py extension class, it's very easy to implement. I just did it.
* A new effect, Replace color in the Color submenu, simply replaces one RRGGBB-specified color to another within selection or, if there's no selection, in the entire document. As with other effects in that submenu, the replacement affects fill, stroke, and gradient colors, but not colors of bitmaps.
- 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.
Anyone can easily do this using the same extension base class, patches are welcome :)

Ted:
* A new effect, Replace color in the Color submenu, simply
replaces one RRGGBB-specified color to another within selection or, if there's no selection, in the entire document. As with other effects in that submenu, the replacement affects fill, stroke, and gradient colors, but not colors of bitmaps.
And this is an example of an effect where the "live preview" checkbox is an absolute necessity. Without it, it tries to update on any change in the color fields, so before you can see the replacement you want, you are forced to observe a whole series of weird, wrong, and incomplete replacements in your document - which is INCREDIBLY annoying. I think it's a perfect use case demonstrating that this checkbox must be there and it must be off by default.

And while at it, I also added a Replace effect for text which allows you to replace one string by another, globally or in selected text objects.
On 7/10/07, bulia byak <buliabyak@...400...> wrote:
On 7/10/07, Maarten van der Velde <Maarten.van-der-Velde@...1771...> wrote:
- 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)
With our coloreffect.py extension class, it's very easy to implement. I just did it.
* A new effect, Replace color in the Color submenu, simply
replaces one RRGGBB-specified color to another within selection or, if there's no selection, in the entire document. As with other effects in that submenu, the replacement affects fill, stroke, and gradient colors, but not colors of bitmaps.
- 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.
Anyone can easily do this using the same extension base class, patches are welcome :)
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org

On 7/15/07, bulia byak wrote:
And while at it, I also added a Replace effect for text which allows you to replace one string by another, globally or in selected text objects.
Neat!
<bitching>Is it a temporary solution until Scribus-like search'n'replace tool is implemented? ;-)</bitching>
Alexandre

On 7/10/07, bulia byak wrote:
* A new effect, Replace color in the Color submenu, simply
replaces one RRGGBB-specified color to another within selection or, if there's no selection, in the entire document. As with other effects in that submenu, the replacement affects fill, stroke, and gradient colors, but not colors of bitmaps.
"Replace color (RRGGBB hex):" and "By color (RRGGBB hex):" are not marked for translation, btw ;-)
Alexandre

"Alexandre Prokoudine" <alexandre.prokoudine@...400...> writes:
On 7/10/07, bulia byak wrote:
* A new effect, Replace color in the Color submenu, simply
replaces one RRGGBB-specified color to another within selection or, if there's no selection, in the entire document. As with other effects in that submenu, the replacement affects fill, stroke, and gradient colors, but not colors of bitmaps.
"Replace color (RRGGBB hex):" and "By color (RRGGBB hex):" are not marked for translation, btw ;-)
Fixed in SVN.
I also updated all po files to reflect the strings in the current sources.
Cheers Colin
participants (3)
-
Alexandre Prokoudine
-
bulia byak
-
Colin Marquardt