Q_UINT8 and Pixel

Leonardo Giordani leonardo.giordani at treuropa.com
Fri Mar 10 17:11:42 CET 2006


> We do that because Krita itself doesn't know about that (or any) kind of
> Pixel. All it knows about is raw, uninterpreted data, which it sees as a
> big Q_UINT8 array. Krita's core really doesn't (need to) care about what
> the individual colorspaces do with it. It is up to the colorspaces to cast
> the data Krita gives to them, to actual things they know about, like in
> this case, a Pixel.

Thanks Casper and Bart. If I understood you both say that Krita, while 
_vidualizing_ data manages them as UINT8, but when _working_ with them uses a 
colorspace and thus the Pixel object defined into this latter.

So this is a conversion between the actual colorspace to the RGB of the 
monitor, right?

Thank you (an excuse me for the trivial questions, I have to start 
somewhere...)

-- 
Leonardo Giordani

Tele-Rilevamento Europa - T.R.E. s.r.l.
a POLIMI spin-off company
Via Vittoria Colonna, 7
20149 Milano - Italia
tel.: +39.02.4343.121
fax: +39.02.4343.1230
e-mail: leonardo.giordani (at) treuropa.com
web: www.treuropa.com




More information about the kimageshop mailing list