Yes! Here is the desaturation code: https://github.com/Elv13/blind/blob/master/common/drawing.lua#L264
If you don't want to resize part of that function, just remove it. It add padding around the icon so it looks better. You can see the result of that function in the "alt+tab" dialog on screen 2 of that screenshot: https://raw.githubusercontent.com/Elv13/radical/master/screenshot/all.png On 14 October 2014 09:05, Daniel <[email protected]> wrote: > I'm currently manipulating program's icons with a hook. I grayscale/modulate > the icons using external convert(1). Recently external call has begun to take > too long time. Seconds. Which hangs awesome... Is it possible to toh > this image manipulation internally with cairo, lua, or something like > that? > > > -- > To unsubscribe, send mail to [email protected]. -- To unsubscribe, send mail to [email protected].
