[Kde-imaging] [Bug 123499] raw images are rotated wrong

Gilles Caulier caulier.gilles at free.fr
Mon May 1 23:09:30 CEST 2006


------- 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=123499         




------- Additional Comments From caulier.gilles free fr  2006-05-01 23:09 -------
SVN commit 536339 by cgilles:

JPEGLossLess kipi plugin : disable Qt API method to rotate/flip/convertB&W non JPEG files else RAW/TIFF/PNG 16 bits images are broken ! This is want mean that only JPEG files will be processed by this plugin. 

To solve this problem, Image Magick API need to be used in this place instead Qt API.

Nota : this B.K.O file can be toggle from critic to normal.

CCMAIL: kde-imaging kde org
CCBUGS: 123499

 M  +3 -1      convert2grayscale.cpp  
 M  +3 -1      imageflip.cpp  
 M  +3 -1      imagerotate.cpp  


--- trunk/extragear/libs/kipi-plugins/jpeglossless/convert2grayscale.cpp #536338:536339
 @ -67,7 +67,9  @
     }
     else
     {
-        if (!image2GrayScaleQImage(src, tmp, err))
+    // TODO : B.K.O #123499 : using Image Magick API here instead QT API 
+    // else RAW/TIFF/PNG 16 bits image are broken!
+//        if (!image2GrayScaleQImage(src, tmp, err))
             return false;
     }
 
--- trunk/extragear/libs/kipi-plugins/jpeglossless/imageflip.cpp #536338:536339
 @ -68,7 +68,9  @
     }
     else
     {
-        if (!flipQImage(src, tmp, action, err))
+    // TODO : B.K.O #123499 : using Image Magick API here instead QT API 
+    // else RAW/TIFF/PNG 16 bits image are broken!
+//        if (!flipQImage(src, tmp, action, err))
             return false;
     }
 
--- trunk/extragear/libs/kipi-plugins/jpeglossless/imagerotate.cpp #536338:536339
 @ -69,7 +69,9  @
     }
     else
     {
-        if (!rotateQImage(src, tmp, angle, err))
+    // TODO : B.K.O #123499 : using Image Magick API here instead QT API 
+    // else RAW/TIFF/PNG 16 bits image are broken!
+//        if (!rotateQImage(src, tmp, angle, err))
             return false;
     }


More information about the Kde-imaging mailing list