Colorspaces names scheme

Boudewijn Rempt boud at valdyas.org
Sat Dec 31 19:48:40 CET 2005


On Saturday 31 December 2005 18:56, Cyrille Berger wrote:
> Hi,
> I have notice some problems with the way or colorspace are named, currently
> we have : RGBA, RGBA16, CMYK, CMYKA16, LABA (etc...)
>
> Some thoughts about it :
> 1) CMYK should be named CMYKA
> 2) LABA is a 16bits channels whereas all other colorspaces without numbers
> are 8bits
>
> I suggest that in the name we allways include the depth meaning RGBA should
> be renamed RGBA8 and LABA renamed LABA16 (etc...). And we have also a
> difference between colorspaces which used unsigned (U), signed (I) or float
> (F), I think it might be a good idea to add the type of the channel then
> RGBA become RGBA8U LABA -> LABA16U etc... (I know it can become even more
> complicated in the future, when colorspaces will have different data type
> for each channel, but maybe someone will have a better idea)
>
> any opinions ? If you agree I will do the change during next week.

In principle I agree -- however, we should not start depending on the names
for recoginizing the properties of the colorspace in code.

-- 
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/20051231/5a43f216/attachment.pgp


More information about the kimageshop mailing list