Bug 103618 - save as: EXIF information not saved
Summary: save as: EXIF information not saved
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: DImg-FileIO (show other bugs)
Version: 0.7.2
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-10 19:54 UTC by Dik Takken
Modified: 2022-02-04 06:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dik Takken 2005-04-10 19:54:01 UTC
Version:           0.7.2 (using KDE KDE 3.3.2)
Installed from:    Gentoo Packages
OS:                Linux

When you save your edited photo to a new file, the EXIF information is not saved.
Comment 1 Renchi Raju 2005-04-11 13:43:05 UTC
are both original and new files jpeg images? does the original file have exif info? also, start digikam from a terminal and check for any messages on the terminal, when you save the file
Comment 2 Dik Takken 2005-04-11 20:02:13 UTC
> are both original and new files jpeg images?

Yes.

> does the original file have exif info?

Yes.

> start digikam from a terminal and check for any messages on the terminal, when you save the file

Digikam is completely silent when executed from a terminal. Also no messages when opening images / saving images.
Comment 3 Renchi Raju 2005-04-12 18:20:12 UTC
CVS commit by pahlibar: 



if format is empty, assume same format as source file. this fixes the exifrestorer
to write out exif of original file to new file
BUGS: 103618


  M +7 -0      imagewindow.cpp   1.99


--- kdeextragear-3/digikam/utilities/imageeditor/imagewindow.cpp  #1.98:1.99
@@ -986,4 +986,11 @@ void ImageWindow::slotSaveAs()
     m_newFile = imageFileSaveDialog->selectedURL();
     QString format = KImageIO::typeForMime(imageFileSaveDialog->currentMimeFilter());
+    if (format.isEmpty())
+    {
+        // if the format is empty then file format is same as that of the
+        // original file
+        format = QImageIO::imageFormat(m_urlCurrent.path());
+    }
+    
     delete imageFileSaveDialog;