Color Spaces - RGB, CMYK, YUV
Bart Coppens
kde at bartcoppens.be
Sat Jun 4 14:55:00 CEST 2005
On Saturday 04 June 2005 14:42, Boudewijn Rempt wrote:
> Well, actually I think that the brush dabs are already in the correct
> colorspace, so that's not the problem.
As far as I know, that is indeed the case.
> It's the colorchoosers that are
> problematic, but I have long wanted to replace the use of QColor to a
> combination of a byte array and a reference to a color strategy, so every
> color chooser can deliver results in its native mode, and every client can
> use the color strategy to ask for conversion.
Indeed, that seems like the best sollution :-)
> First there was koColor, a simple union of all color models in use in one
> class. I did once have a KisColor class but it wasn't complete. But it's
> not much different from a KisPixelRO.
I hadn't thought of a KisPixelRO, but when looking at it, it has every basic
thing that we would require of a color. Of course, it should need some nice
convenience functions, and some memory management thinking, but other than
that it seems like a nice basis for it.
More information about the kimageshop
mailing list