Color distance and the alpha channel

Boudewijn Rempt boud at valdyas.org
Mon Jun 6 20:13:11 CEST 2005


On Monday 06 June 2005 17:21, Bart Coppens wrote:

> Now I'm wondering what's the best sollution here. Create a seperate
> function like differenceWithAlpha(), or extend the current difference
> function to difference(color1, color2, bool compareAlpha)?

The latter, I think, would be best, with a sensible default value.

-- 
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/20050606/e6cb1969/attachment.pgp


More information about the kimageshop mailing list