Keramik style and colorizing (was: Re: kde 3.1 -- make Keramik default?)

Allan Sandfeld Jensen snowwolf at
Wed Jun 12 10:32:59 BST 2002

Oh well. I might as well post it.

Yes I know, this is The Wrong Way(TM), but it is proff of concept and it 

Apparently it is this line that break color schemes:
if ( hue >= 0 && h >= 0 ) h = ( h + 144 + hue ) % 360;

(There is no way grey + white should give light blue as it does now)

I have no ksnapshot at the moment so screenshots will have to wait.


On Wednesday 12 June 2002 02:12, Allan Sandfeld Jensen wrote:
> Actually to be a little more constuctive, I have looked into what puts the
> colors off. It apparently happens in converting between hsv and rgb + it
> doesnt use the same formula for colorizing as kiconeffects.
> I have made a patch that uses the formula from kiconeffects.cpp to
> calculate the hue and still the keramik formula for sat and val. It works
> okey, the biggest problem is that the base pixmaps should be recolored as
> they are way to light if you respect color schemes. (The KDE default color
> schemes is grey, when applying light pixmaps this becomes very white'ish).
> OTOH dark color schemes look great with keramik now, especially atlas looks
> really cool.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrong.patch
Type: text/x-diff
Size: 2420 bytes
Desc: not available
URL: <>

More information about the kde-core-devel mailing list