About colorspaces

Boudewijn Rempt boud at valdyas.org
Tue Oct 18 22:19:26 CEST 2005


On Tuesday 18 October 2005 16:04, Cyrille Berger wrote:
> > > - what should return colorSpaceType() if lcms doesn't know about the
> > > colorspace ?
> >
> > I think 0, but take a look at what wet does.
>
> I am taking inspiration from, the rgb32f colorspace, which appears to be
> undefined in lcms too, and the lcms type is set to TYPE_BGRA_16.
> I think it would be best if we had an "unknow type" value.

Wet uses 0 for the lcms type and icMaxEnumData for the icc identifier.


-- 
Boudewijn Rempt 
http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list