[Digikam-devel] extragear/graphics/digikam/libs/dimg
Gilles Caulier
caulier.gilles at kdemail.net
Fri Feb 24 07:00:11 GMT 2006
Le Vendredi 24 Février 2006 07:51, Gilles Caulier a écrit :
> Le Jeudi 23 Février 2006 17:27, Marcel Wiesweg a écrit :
> > SVN commit 512791 by mwiesweg:
> >
> > digikam from trunk: HSL modifier
> > - DColor, getHSL and setRGB
> > - remove hardcoded 255.0 values
> > - fix wrong assignment of variable in setRGB
> > (use double value hue in 0..360, not int h in 0..255)
> > - HSLMOdifier
> > - use mathematically simplified version of algorithm in setLightness
> > and setSaturation, old version had integer overflows with 16 bit and
> > rounding errors - in setLightness, the value range was -200..200, while
> > it is -100..100 in setSaturation and in the widget. Changed this to use
> > range -100..100.
> > - use lround instead of truncating to int in BCGModifier, HSLModifier
> >
> > Please test if the HSL filter now has the desired effect for both 8 bit
> > and 16 bit. CCMAIL:digikam-devel at kde.org
>
> Incredible. HSL tool work fine now with 16 bits images. Great job Marcel.
> Thanks...
An i forget to say that i'm happy to see a mathematician in the team. Thanks
again Marcel.
Gilles
More information about the Digikam-devel
mailing list