Merging profiles into colorspaces

Boudewijn Rempt boud at valdyas.org
Sun Sep 18 15:16:18 CEST 2005


On Sunday 18 September 2005 15:12, Casper Boemann wrote:
> On Sunday 18 September 2005 14:23, Casper Boemann wrote:
> > On Sunday 18 September 2005 14:06, Boudewijn Rempt wrote:
> > > On Sunday 18 September 2005 13:33, Casper Boemann wrote:
> > > > Some things are still diabled though. Colorspaces are always created
> > > > with no profile. I need to reprogram the registry to allow that.
> > >
> > > But no doubt you'll manage to do that before committing :-).
> >
> > yep and on irc i outlined my idea:
>
> Ok to be more precise:
>
> The ColorSpaceRegistry will be replaced by a ColorSpaceFactoryRegistry
> and every module must provide a ColorSpaceFactory
>
> So the gui gets a factory and not an actual colorspace. It should still be
> able to get the name from the factory exactly as with the old colorspace.
>
> Perhaps we should call the ColorSpaceFactoryy a ColorModel which is what it
> is.

It sounds sensible; when using the same profile for the same colormodel, Krita 
won't create an extra instance, right, but reuse the old one? Oh, and don't 
forget that a certain profile can often be used both with 8 bit and 16 bit 
channel images.

-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kimageshop/attachments/20050918/e20a1b73/attachment-0001.pgp


More information about the kimageshop mailing list