Alpha fixed to float (0-1), was: is alpha fixed to 8bit unsigned

Boudewijn Rempt boud at valdyas.org
Thu Jun 16 12:49:01 CEST 2005


On Thursday 16 June 2005 12:34, Casper Boemann wrote:
> On Thursday 16 June 2005 12:12, Boudewijn Rempt wrote:
> > On Thursday 16 June 2005 12:11, Casper Boemann wrote:
> > > That would only work one way wouldn't it?
> >
> > True... Back to the drawing board?
>
> I'm not so sure. Perhabs your idea is ok. If we only use it to set a single
> KisColor and then user that KisColor to propagate to everywhere else.
>
> I think that by being a litlle bit clever it could be ok.
>
> The float would be mostly used for ui, and there a uint8 [0;255] would be
> enough. Perhabs we don't even need a float. We still need you function
> though (just with Q_UINT8 instead of float)

Okay, let's start with that.

-- 
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/20050616/93ce4a16/attachment.pgp


More information about the kimageshop mailing list