Comment 2 for bug 171589

Revision history for this message
Fishb8 (fishb8) wrote : Re: Color Tools

Well the concept is the same as color tools in raster
programs, And I think the math involved would be similar as
well. It's just that instead of adjusting the colors of a
bunch of pixels, you would be adjusting the colors chosen
for fills, strokes, gradients, (others?).

Imagine if you would that of the objects you select, each
fill color, stroke color, and gradient key color, is a
"vector pixel". The color tools would manipulate and scale
these "vector pixels" in relation to each other in the same
way that raster tools do with the color of pixels in raster
images. You would use the exact same type of controls. (And
you could even have it work with alpha values as well!)

With this type of paradigm, you could probably borrow
algorithms from GIMP's color tools and apply it to "vector
pixels" without too much work.

>it might also help if you could be more specific and maybe
help developer decide what they should work on first.

The order probably doesn't matter. The four that I listed
are IMO the most useful in adjusting images as a whole.
There are other color tools available in raster programs,
but I don't think they are used nearly as much as these four.