Fwd: Re: Hi! A question about http://ninedegreesbelow.com/photography/monitor-profile-calibrate-confuse.html

Boudewijn Rempt boud at valdyas.org
Wed Jun 20 08:05:20 UTC 2012


On Wednesday 20 June 2012 Jun, Cyrille Berger wrote:
> On Wed, 20 Jun 2012 09:32:26 +0200, Boudewijn Rempt <boud at valdyas.org>
> wrote:
> > I'm a bit out of depth here -- why did we chose to use this tag for the
> > icc profile name? Does anyone remember?
> 
> I had a quick look at the code, and I would say it is an API bug.
> KoColorProfile::name()
> correspond to what we usually call "id" and KoColorProfile::description()
> correspond to
> what we usually call "name".
> 
> So when we implemented the profile selection dialog we used ::name()
> instead of ::description().

Hm... And then we use the name everywhere to actually create the colorspaces. Maybe it would be easier to replace the description with the name and vice versa in the icc profile container?

-- 
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl


More information about the kimageshop mailing list