Graphics and Art

Alpha Blending for KDE?

Dot Categories: 

From Rik Hemsley: "I hacked KIconLoader to allow me to get a QImage instead of a QPixmap, which was quite easy, because it uses QImage internally and only converts to QPixmap just before returning a processed pic. I also wrote a very fast blend function that takes 2 QImages and blends the first over the second, honouring the alpha channel. I couldn't find anything in Qt or KDE to do this, so I had to hand-roll it.