Bug 370443

Summary: jp2 metadata: Unrecognized UUID EXIF box
Product: [Applications] digikam Reporter: herb <herb.k>
Component: Metadata-ExifAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: caulier.gilles
Priority: NOR    
Version: 5.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.3.0

Description herb 2016-10-11 08:50:25 UTC
Hello,

I work with digiKam and ShowFoto 5.2.0 on a Win 7 system.

In order to come to know ShowFoto I played with it. So I also opened a *.jpg (with Exif metadata) image and stored it as *.jp2.

Now Exiftool cannot read the Exif metadata written by ShowFoto. It reports : Unrecognized UUID EXIF box.
Also XnViewMP - which uses an Adobe toolkit for metadata - does not read the metadata of *.jp2 file.

I asked Phil Harvey, the developer of Exifttol, and he stated:
"Digikam has apparently written a JPEG EXIF header in front of the TIFF header (six extra bytes: "Exif\0\0"), so ExifTool gives the warning and can't process the EXIF.

From interoperability point of view this is a very bad situation.
Because Exiftool and XnViewXP write a "common format" of the uuid tag, I guess the problem could be on digiKam side.

Please help to solve the major interoperability problem.
Thanks in advance
Best regards
Herb 

Reproducible: Always
Comment 1 caulier.gilles 2016-10-11 09:01:29 UTC
digiKam do not write metadata directly. All is delegate to Exiv2 shared library.

Please report this problem to Exiv2 bugzilla.

Gilles Caulier
Comment 2 caulier.gilles 2021-04-07 21:25:08 UTC
I just tested to export a JPEG to JP2 including Exif using image editor. File is read properly with Exiftool and Exif are there.

Configuration: digiKam 7.3.0 + Exiv2 0.27.3