[Digikam-devel] [Bug 152192] resize really bad qualitatively

Gilles Caulier caulier.gilles at gmail.com
Tue Nov 13 14:46:21 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152192         




------- Additional Comments From caulier.gilles gmail com  2007-11-13 14:46 -------
Fabien, 

the algorithm to resize image come from imlib2 and have been ported to digiKam core by Renchi Raju (he have added 16 bits color depth support and removed all assembler code to be more portable). 

This code is also used in Gwenview as well, without removing assembler code. If i remember Krita have planed to do it. 

Few portion of code have been also ported by Mosfet originally to Qt...

Code is very complex... but very fast to render image on screen. Look here :

http://websvn.kde.org/branches/extragear/kde3/graphics/digikam/libs/dimg/dimgscale.cpp?revision=675631&view=markup

This code is used everywhere to render zoom and resizement. There is no plan to replace it. To have tried to understand how it's work, it's not simple.

Of course, we can use another algorithm _only_ for image editor resize tool. 

I'm waiting your proposals for the better one (url to source code will be very appreciate)

Gilles


More information about the Digikam-devel mailing list