[Kde-imaging] [Bug 89720] batch convert from tif to jpg creates thumbnail and main jpeg with wrong names.

Richard Taylor rjt-kde-bugs at thegrindstone.me.uk
Tue Sep 21 23:52:12 CEST 2004


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




------- Additional Comments From rjt-kde-bugs thegrindstone me uk  2004-09-21 23:52 -------
The problem is because of the way that ImageMagik convert handles images with embedded thumbnails. The following simple patch fixes the problem for me. I guess that someone else should check that it does not break other peoples conversions.

diff -u -3 -p -r1.18 convertimagesdialog.cpp
--- kipi-plugins/batchprocessimages/convertimagesdialog.cpp     21 Sep 2004 10:33:15 -0000  1.18
+++ kipi-plugins/batchprocessimages/convertimagesdialog.cpp     21 Sep 2004 21:49:33 -0000
 @ -323,7 +323,7  @ QString ConvertImagesDialog::makeProcess

     *proc << "-verbose";

-    *proc << item->pathSrc();
+    *proc << item->pathSrc() + "[0]";

     if ( !albumDest.isNull() )   // No preview mode !
        {


Richard


More information about the Kde-imaging mailing list