Bug 224583 - MetadataEdit writes invalid EXIF data to image
Summary: MetadataEdit writes invalid EXIF data to image
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-MetadataEdit (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 07:48 UTC by Dan Fandrich
Modified: 2022-01-15 22:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Fandrich 2010-01-28 07:48:43 UTC
Version:           0.3.0 (using KDE 4.2.4)
OS:                Linux
Installed from:    Mandriva RPMs

After scanning an image with digiKam 0.10.0 using the Import->Scan Images option, the resulting JPEG file saved had an EXIF data block that was out of spec: several mandatory EXIF tags were missing. Running the 'exif' program (ver. 0.6.19) in debug mode (-d) gave this log which shows which tags were missing:

exif-content: Tag 'XResolution' is mandatory in IFD '0' and has therefore been added.
exif-content: Tag 'YResolution' is mandatory in IFD '0' and has therefore been added.
exif-content: Tag 'ResolutionUnit' is mandatory in IFD '0' and has therefore been added.
exif-content: Tag 'XResolution' is mandatory in IFD '1' and has therefore been added.
exif-content: Tag 'YResolution' is mandatory in IFD '1' and has therefore been added.
exif-content: Tag 'ResolutionUnit' is mandatory in IFD '1' and has therefore been added.
exif-content: Tag 'ExifVersion' is mandatory in IFD 'EXIF' and has therefore been added.
exif-content: Tag 'FlashPixVersion' is mandatory in IFD 'EXIF' and has therefore been added.

These tags should be written to every EXIF data block to ensure that the resulting file conforms to the EXIF specification.

I took a quick peek at the Kipi-plugins source ver. 1.0.0 and saw no sign that the problem has been fixed.
Comment 1 caulier.gilles 2010-01-28 10:00:46 UTC
Please use kipi-plugins 1.0.0 !

Also, check Exiv2 library. Last one is 0.19.0

Gilles Caulier
Comment 2 caulier.gilles 2011-04-05 10:34:10 UTC
This file is pretty old now, especially about kipi-plugins 0.3.0. kipi-plugins 1.9.0 is out. Update kipi-plugins and Exiv2 to last version and try again.

Gilles Caulier
Comment 3 caulier.gilles 2015-06-28 10:03:22 UTC
New Kipiplugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 4 caulier.gilles 2016-07-08 06:51:22 UTC
Since the tool is moved to digiKam core with 5.0.0 release, this
problem is not reproducible.

Gilles Caulier