Two more functions for the colorstrategy?

Boudewijn Rempt boud at valdyas.org
Wed Aug 10 14:22:45 CEST 2005


On Wednesday 10 August 2005 14:18, Casper Boemann wrote:

> If the external selection could come from anywhere we wouldn't know the
> format. And do we ever need external alphas from somewhere else. (and not
> needing to convert colorspace anyway)

Not sure -- but there is nothing in the actual function which would prevent 
it. If it's named blaSelect or blaSelection that gives the impression that we 
can only feed selections into it, while it is an 8-bit alphamask and nothing 
more.

> maskWithSelect(Q_UINT8 * pixels, Q_UINT8 * mask, Q_UINT32 nPixels)
> maskWithInverseSelect(Q_UINT8 * pixels, Q_UINT8 * mask, Q_UINT32 nPixels)

I still want to amend that to

maskAlpha8()
maskInverseAlpha8()

-- 
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/20050810/ea8418bb/attachment.pgp


More information about the kimageshop mailing list