[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Colorspaces names scheme
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2005-12-31 18:48:40
Message-ID: 200512311948.53503.boud () valdyas ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic