[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-imaging
Subject:    [Kde-imaging] kdeextragear-libs-1/kipi-plugins/batchprocessimages
From:       Gilles Caulier <caulier.gilles () free ! fr>
Date:       2005-01-27 8:46:22
Message-ID: 20050127084622.80A741C460 () office ! kde ! org
[Download RAW message or body]

CVS commit by cgilles: 

BugFix in BatchResizeImages kipi plugin: using ImageMagick "composite" do not \
preserve Exif informations per default. Need to use "-profile" option for resolve \
                this problem. 
Note: ImageMagick "Convert" program preverve it!
CCMAIL: kde-imaging@kde.org, digikam-devel@lists.sourceforge.net


  M +31 -21    resizeimagesdialog.cpp   1.30


--- kdeextragear-libs-1/kipi-plugins/batchprocessimages/resizeimagesdialog.cpp  \
#1.29:1.30 @@ -408,4 +408,9 @@ QString ResizeImagesDialog::makeProcess(
           *proc << item->pathSrc() + "[0]";
 
+          // ImageMagick composite program do not preserve exif data from original. 
+          // Need to use "-profile" option for that.
+          
+          *proc << "-profile" << item->pathSrc();
+          
           Temp2 = "xc:rgb(" + Temp.setNum(m_bgColor.red()) + ",";
           Temp2.append(Temp.setNum(m_bgColor.green()) + ",");
@@ -530,4 +535,9 @@ QString ResizeImagesDialog::makeProcess(
           *proc << Temp2;
 
+          // ImageMagick composite program do not preserve exif data from original. 
+          // Need to use "-profile" option for that.
+          
+          *proc << "-profile" << item->pathSrc();
+
           *proc << "-resize" << targetBackgroundSize + "!";
 


_______________________________________________
Kde-imaging mailing list
Kde-imaging@kde.org
https://mail.kde.org/mailman/listinfo/kde-imaging


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic