steps towards colorspace independence

Boudewijn Rempt boud at valdyas.org
Sat Jun 4 22:31:05 CEST 2005


On Saturday 04 June 2005 22:25, Casper Boemann wrote:

> This is my step-by-step plan towards colorspace independence:

Excellent!

> 3) create a testbed colorstrategy that exposes problems regarding both size
> and interpretation.

Use the template -- it makes life easy :-).

> 5) removing every occurence of QUANTUM by refactoring to use *Q_UINT8 or
> KisSelection::Type. I'm heavily comtemplating creating a KisPixelPtr to use
> instead of *Q_UINT8. This should however not be confused with a pointer to
> KisPixel.

I'm not sure about this. The nice thing about *Q_UINT8 is that everywhere you 
see it you know you're not talking about something highlevel, but rather 
about a chunk of data that needs interpreting. So, as long as KisPixelPtr is 
synonymous to *Q_UINT8, let's keep it *Q_UINT8.

-- 
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/20050604/0cc52eb2/attachment.pgp


More information about the kimageshop mailing list