[Kde-graphics-devel] Descriptions of new stuff

Michael Thaler michael.thaler at physik.tu-muenchen.de
Wed Dec 15 16:47:25 CET 2004


Hi,

> The Imlib2 and Qt algorithms produce around the same quality, and are 
> optimized more for speed, so if your not happy with Qt's you probably won't 
> want to use Imlib's either. I assume you don't like the jaggies when 
scaling 
> up. I wouldn't be against having two separate methods: The imlib2 port as  
> replacement for Qt::smoothScale for quick, reasonable quality smoothscaling 
> and ImageMagick stuff when you need better results. 

There is also smooth-scale code in Krita which works quite well. It is based 
on a algorithm from Graphic Gems 3 available under public domain. The code is 
not very nice, it still uses malloc/free and it should be cleaned up and it 
is quite slow right now (but the reason is not the scaling algorithm, but the 
way pixels are accessed). If someone wants to improve it, speed it up, I 
would be very glad to see that. I hope I'll find some time to work on it 
during Christmas holidays.

Michael


More information about the Kde-graphics-devel mailing list