The manifold meanings of 'depth'

Boudewijn Rempt boud at valdyas.org
Wed Feb 2 15:29:35 CET 2005


We're currently using the word 'depth' for:

* The size of a pixel in bytes
* The number of channels in a pixel
* The number of colour channels in a pixel.

I want to reserve 'size' for the first meaning, 'depth' for the second, and 
'nColorChannels' for the third. In some places I've already made this 
consistent, and I'm working to do the same in the rest of Krita.

And I intend to make the colour strategy leading in this respect.
-- 
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/20050202/99aac585/attachment.pgp


More information about the kimageshop mailing list