[Kde-imaging] [Bug 117670] Printing is awfully slow

Tom Albers tomalbers at kde.nl
Fri Dec 30 23:49:46 CET 2005


------- 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=117670         
tomalbers kde nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From tomalbers kde nl  2005-12-30 23:49 -------
SVN commit 492745 by toma:

Patch from Anders Lund for bug: Printing using the KIPI printing wizard is nearly impossible on my system, printing a 1600x1200 image makes my system go into infinite swapping.
BUG:117670


 M  +1 -3      tphoto.cpp  


--- trunk/extragear/libs/kipi-plugins/printwizard/tphoto.cpp #492744:492745
 @ -195,9 +195,7  @
     int w  = NINT((double)layout->width() * xRatio);
     int h  = NINT((double)layout->height() * yRatio);
 
-    // We can use scaleFree because the crop frame should have the proper dimensions.
-    img = img.smoothScale(w, h, QImage::ScaleFree);
-    p.drawImage(x1 + left, y1 + top, img);
+    p.drawImage( QRect(x1 + left, y1 + top, w, h), img );
 
     if (captionType > 0)
     {


More information about the Kde-imaging mailing list