High-level pixel access methods

Boudewijn Rempt boud at valdyas.org
Sun Feb 15 13:18:49 CET 2004


On Sunday 15 February 2004 13:02, Patrick Julien wrote:

> It doesn't mean that fillRect uses all of them, it still uses the depth of
> the image.

Doesn't it allocate memory for that many bytes?

> MAX_CHANNELS means: This is the maximum number of channels an image sample
> can have.  So MAX_CHANNELS might be 10, 100 or whatever, but if fillRect is
> working on a RGB image, it's still only going to use 3 channels.

If it doesn't have an adverse effect on memory usage, I'd like to bump it up 
to, say 255, to have a bit of room to play with.

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list