From kde-kimageshop Tue Oct 18 20:19:26 2005 From: Boudewijn Rempt Date: Tue, 18 Oct 2005 20:19:26 +0000 To: kde-kimageshop Subject: Re: About colorspaces Message-Id: <200510182219.26129.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=112966677928598 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 _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop