[Kde-imaging] kdeextragear-libs-1/kipi-plugins/batchprocessimages

Gilles Caulier caulier.gilles at free.fr
Thu Feb 10 13:20:41 CET 2005


CVS commit by cgilles: 

Added EPS image file format support in kipi batchconvertimage plugins.
BUGS:99020
CCBUGS:99020
CCMAIL:kde-imaging at kde.org,digikam-devel at lists.sourceforge.net


  M +8 -3      convertimagesdialog.cpp   1.26
  M +1 -1      convertimagesdialog.h   1.8


--- kdeextragear-libs-1/kipi-plugins/batchprocessimages/convertimagesdialog.cpp  #1.25:1.26
@@ -3,5 +3,5 @@
 //    CONVERTIMAGESDIALOG.CPP
 //
-//    Copyright (C) 2003-2004 Gilles Caulier <caulier dot gilles at free.fr>
+//    Copyright (C) 2003-2005 Gilles Caulier <caulier dot gilles at free.fr>
 //
 //    This program is free software; you can redistribute it and/or modify
@@ -96,4 +96,5 @@ ConvertImagesDialog::ConvertImagesDialog
     m_Type->insertItem("BMP");
     m_Type->insertItem("TGA");
+    m_Type->insertItem("EPS");
     m_Type->setCurrentText("JPEG");
     whatsThis = i18n("<p>Select here the target image file format.<p>");
@@ -126,4 +127,8 @@ ConvertImagesDialog::ConvertImagesDialog
                                  "TGA supports colormaps, alpha channel, gamma value, postage stamp image, "
                                  "textual information, and developer-definable data.");
+    whatsThis = whatsThis + i18n("<p><b>EPS</b>: the  Adobe Encapsulated PostScript image file format. An EPS file "
+                                 "is a PostScript language program describing the appearance of a single page. "
+                                 "Usually, the purpose of the EPS file is to be embedded inside another PostScript "
+                                 "language page description.");
 
     QWhatsThis::add( m_Type, whatsThis );
@@ -159,5 +164,5 @@ void ConvertImagesDialog::slotHelp( void
 void ConvertImagesDialog::slotTypeChanged(int type)
 {
-    if ( type == 3 || type == 4 ) // PPM || BMP
+    if ( type == 3 || type == 4 || type == 6 ) // PPM || BMP || EPS
        m_optionsButton->setEnabled(false);
     else

--- kdeextragear-libs-1/kipi-plugins/batchprocessimages/convertimagesdialog.h  #1.7:1.8
@@ -3,5 +3,5 @@
 //    CONVERTIMAGESDIALOG.H
 //
-//    Copyright (C) 2003-2004 Gilles CAULIER <caulier dot gilles at free.fr>
+//    Copyright (C) 2003-2005 Gilles CAULIER <caulier dot gilles at free.fr>
 //
 //    This program is free software; you can redistribute it and/or modify




More information about the Kde-imaging mailing list