[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-06 Thread MarcP
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #38 from MarcP  ---
It seems to working fine now, thank you!

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-05 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

Maik Qualmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #37 from Maik Qualmann  ---
Fixed with commit:

https://invent.kde.org/graphics/digikam/-/commit/64ca995715dec9b74033ab8339322645e8713673

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-05 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #36 from Maik Qualmann  ---
Git commit ef606592329b3b734c1f6c295b422239730c85cf by Maik Qualmann.
Committed on 05/12/2021 at 11:04.
Pushed by mqualmann into branch 'master'.

fix remove face metadata completely from image

M  +2-29   core/libs/metadataengine/dmetadata/dmetadata_faces.cpp
M  +1-1core/libs/metadataengine/engine/metaengine.h
M  +9-2core/libs/metadataengine/engine/metaengine_xmp.cpp

https://invent.kde.org/graphics/digikam/commit/ef606592329b3b734c1f6c295b422239730c85cf

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #35 from Maik Qualmann  ---
Metadata outside of XMP-mwg-rs can be changed without problems. It is not
possible to delete or change the face metadata.

I guess now that although we have registered the namespace "apple-fi", Exiv2
cannot do anything with the content and produces a wrong XML structure.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #34 from caulier.gil...@gmail.com ---
Perhaps while writing, ExiV2 try to merge old values with new values. Try to
remove old values before to update contents...

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #33 from Maik Qualmann  ---
This message comes when you write. When reading, there is no error message, the
unknown namespace "apple-fi" error message is gone.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #32 from caulier.gil...@gmail.com ---
This message is printed while reading metadata from file ?

If yes, well the expected structure from XMP container is badly encoded or is
not recognized by exiv2. Perhaps the XMP SDK included in Exiv2 is not enough
up-to-date or not complete (as i know that not all SDK is included as well in
the library). If i remember Exiv2 has a compilation option to use an external
version of XMP SDK.

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

Maik Qualmann  changed:

   What|Removed |Added

 Resolution|FIXED   |---
 Ever confirmed|0   |1
 Status|RESOLVED|REOPENED

--- Comment #31 from Maik Qualmann  ---
The error message is now:

digikam.metaengine: Exiv2 ( 3 ) :  Fehler des XMP-Werkzeugsatzes 102: Requested
and existing composite form mismatch
digikam.metaengine: Exiv2 ( 3 ) :  Failed to encode XMP metadata.

I am sure that I had tested it with a clean test sample image. I'm at a loss at
the moment ...

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-04 Thread MarcP
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #30 from MarcP  ---
Hi, I think this bug is still present in Build date: 4/12/21 10:27 (target:
Debug) Rev.: 2e6caaade79584a2df7c6839d2084c5bcbd35715. I cannot save keywords
on XMP metadata for iPhone pictures if they already contain a face region.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-02 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

Maik Qualmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/grap
   ||hics/digikam/commit/1c55756
   ||47139ee20665e8b15e00ba59455
   ||c04fad
   Version Fixed In||7.4.0
 Status|REPORTED|RESOLVED

--- Comment #29 from Maik Qualmann  ---
Git commit 1c5575647139ee20665e8b15e00ba59455c04fad by Maik Qualmann.
Committed on 02/12/2021 at 19:51.
Pushed by mqualmann into branch 'master'.

register Apple face info (apple-fi) namespace
Related: bug 446350
FIXED-IN: 7.4.0

M  +2-2NEWS
M  +2-0core/libs/metadataengine/engine/metaengine.cpp

https://invent.kde.org/graphics/digikam/commit/1c5575647139ee20665e8b15e00ba59455c04fad

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #28 from caulier.gil...@gmail.com ---
Maik,

if i remember, Exiv2 do it automatically at end :

https://invent.kde.org/graphics/digikam/-/blob/master/core/libs/metadataengine/engine/metaengine.cpp#L100

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-02 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #27 from Maik Qualmann  ---
Thanks Gilles, I think I don't need to do unregister the namespace. I took a
look at the Exiv2::terminate() code and all namespaces should be deleted.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #26 from caulier.gil...@gmail.com ---
Hi Maik,

Look in ExifTool source code from github :

https://github.com/exiftool/exiftool/blob/9ceb6432cb71f892bdd1073599f8dfb7f373537d/lib/Image/ExifTool/XMP.pm#L182

==> 'apple-fi' => 'http://ns.apple.com/faceinfo/1.0/'

Gilles

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #25 from Maik Qualmann  ---
I have registered the "apple-fi" namespace in the code as a test. Then
everything works without any problems. I just don't know the correct namespace
URI at the moment.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-12-01 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #24 from Maik Qualmann  ---
*** Bug 446350 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-11-01 Thread MarcP
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #23 from MarcP  ---
Hi,

I'm not sure of the status of this bug, or if it's the same thing I have
experienced (I mentioned it in the mailing list about a month ago). Basically
what I see is that some pictures taken from an iPhone have defective or
corrupted metadata, which appears in digikam as a "flat" tag list, instead of
seeing the keywords on a tree. On top of that, this issue seems to be limited
to those pictures with people in it.

And I have observed that the same problematic pictures are displayed correctly
(with a hierarchical tag tree) in Digikam 7.3, but the problem appears if you
see them in Digikam 7.4. Could it be some change between these two versions
that changed how metadata is interpreted? Some of the pictures I'm seeing with
this problem now are some that I took years ago and worked fine until now.

For now on, the only solution I have for this problem is placing the
problematic pictures in a folder and run the following to fix the metadata:
exiftool -XMP:All -TagsFromFile @ -XMP:all *.JPG

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-09-29 Thread MarcP
https://bugs.kde.org/show_bug.cgi?id=436286

MarcP  changed:

   What|Removed |Added

 CC||iwannaber...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #22 from caulier.gil...@gmail.com ---
Git commit 067a15c4ed14d75eb2ce3cc725fcba709131392e by Gilles Caulier.
Committed on 17/05/2021 at 03:57.
Pushed by cgilles into branch 'master'.

DPlugin interface; add new method to be able to open an host application setup
dialog page from a plugin.
DNGWriter: add ExifTool error view to settings Widget. If ExifTool is not
available, show error view and allow
Related: bug 134486, bug 170693, bug 219856, bug 237504, bug 264210, bug
309341, bug 325458, bug 326408, bug 377622, bug 384092, bug 406540, bug 416516,
bug 421464, bug 381967
to customize installation from configuration panel.

M  +1-1core/app/main/digikamapp.cpp
M  +1-0core/app/main/digikamapp_p.h
M  +28   -0core/dplugins/bqm/convert/converttodng/converttodng.cpp
M  +1-1core/dplugins/bqm/convert/converttodng/converttodng.h
M  +20   -1core/libs/database/utils/ifaces/dbinfoiface.cpp
M  +2-0core/libs/database/utils/ifaces/dbinfoiface.h
M  +5-1core/libs/dngwriter/dngsettings.cpp
M  +4-4core/libs/dngwriter/dngwriter_postprocess.cpp
M  +4-1core/libs/dplugins/iface/dinfointerface.cpp
M  +13   -0core/libs/dplugins/iface/dinfointerface.h
M  +1-1core/libs/metadataengine/exiftool/exiftoolparser.cpp
M  +6-6core/libs/widgets/metadata/exiftool/exiftoolconfpanel.cpp
M  +1-1core/libs/widgets/metadata/exiftool/exiftoollistview.cpp
M  +1-0core/showfoto/CMakeLists.txt
M  +1-1core/showfoto/main/showfoto.cpp
M  +2-1core/showfoto/main/showfoto_p.h
A  +66   -0core/showfoto/main/showfotoinfoiface.cpp [License: GPL
(v2+)]
A  +51   -0core/showfoto/main/showfotoinfoiface.h [License: GPL (v2+)]
M  +2-2core/tests/metadataengine/exiftool/exiftoolmulticore_cli.cpp
M  +14   -1core/utilities/queuemanager/dplugins/dpluginbqm.cpp
M  +7-0core/utilities/queuemanager/dplugins/dpluginbqm.h
M  +1-0core/utilities/queuemanager/main/queuemgrwindow.h
M  +10   -0core/utilities/queuemanager/manager/batchtoolsfactory.cpp
M  +3-0core/utilities/queuemanager/manager/batchtoolsfactory.h

https://invent.kde.org/graphics/digikam/commit/067a15c4ed14d75eb2ce3cc725fcba709131392e

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #21 from caulier.gil...@gmail.com ---
Git commit 8f332525788359d2c13c3e029bfb1b956dd5a4d2 by Gilles Caulier.
Committed on 16/05/2021 at 10:09.
Pushed by cgilles into branch 'master'.

DNGWriter : include ExifTool Error View in Settings Widget.
Fix API to check ExifTool program availability.
Factoring codes.
Related: bug 134486, bug 170693, bug 219856, bug 237504, bug 264210, bug
309341, bug 325458, bug 326408, bug 377622, bug 384092, bug 406540, bug 416516,
bug 421464, bug 381967

M  +29   -5core/libs/dngwriter/dngsettings.cpp
M  +6-0core/libs/dngwriter/dngsettings.h
M  +3-10   core/libs/metadataengine/exiftool/exiftoolparser.cpp
M  +4-1core/libs/metadataengine/exiftool/exiftoolparser.h
M  +31   -21   core/libs/metadataengine/exiftool/exiftoolprocess.cpp
M  +2-0core/libs/metadataengine/exiftool/exiftoolprocess.h

https://invent.kde.org/graphics/digikam/commit/8f332525788359d2c13c3e029bfb1b956dd5a4d2

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #20 from caulier.gil...@gmail.com ---
Git commit 5507cb4c7779f42321d751d3788ee18562df6c9d by Gilles Caulier.
Committed on 15/05/2021 at 15:14.
Pushed by cgilles into branch 'master'.

ExifToolParser: new command to copy tags from source file to a destination
file.
Related: bug 134486, bug 170693, bug 219856, bug 237504, bug 264210, bug
309341, bug 325458, bug 326408, bug 377622, bug 384092, bug 406540, bug 416516,
bug 421464, bug 381967

M  +7-0core/libs/metadataengine/exiftool/exiftoolparser.h
M  +64   -0core/libs/metadataengine/exiftool/exiftoolparser_command.cpp
M  +17   -1core/libs/metadataengine/exiftool/exiftoolprocess.h

https://invent.kde.org/graphics/digikam/commit/5507cb4c7779f42321d751d3788ee18562df6c9d

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #19 from caulier.gil...@gmail.com ---
Git commit 2ef074a3f5c239bf4674c4cdda5bf99f511d8ae0 by Gilles Caulier.
Committed on 09/05/2021 at 13:04.
Pushed by cgilles into branch 'master'.

ExifTool support: add new method to apply list of changes operated on metadata.
A temporary EXV file constainer is computed with the list of changes to
operated on Exif, Iptc, and Xmp.
This EXV file is processed with ExifTool to patch metadata.
Add new CLI test tool to try apply changes with EXV constainer. Here the file
is patched with DMetadata::setImageDateTime()
which change or add new tags in Exif, Iptc, and Xmp

Exemple of changes processed to a CR3 raw image:

CR3 ORIGINAL:

exiftool -G:0:1:2:4 -exif:all -xmp:all
2020-09-22_21-27-23_0C4A1060.CR3_original
[EXIF:IFD0:Image] Image Width   : 8192
[EXIF:IFD0:Image] Image Height  : 5464
[EXIF:IFD0:Image] Bits Per Sample   : 8 8 8
[EXIF:IFD0:Image] Compression   : JPEG (old-style)
[EXIF:IFD0:Camera] Make : Canon
[EXIF:IFD0:Camera] Camera Model Name: Canon EOS R5
[EXIF:IFD0:Image] Orientation   : Rotate 90 CW
[EXIF:IFD0:Image] Resolution Unit   : inches
[EXIF:IFD0:Author] Artist   : kdmurray
[EXIF:IFD0:Author] Copyright:
[EXIF:ExifIFD:Image] Exposure Time  : 1/200
[EXIF:ExifIFD:Image] F Number   : 10.0
[EXIF:ExifIFD:Camera] Exposure Program  : Manual
[EXIF:ExifIFD:Image] ISO: 400
[EXIF:ExifIFD:Image] Sensitivity Type   : Recommended Exposure Index
[EXIF:ExifIFD:Image] Recommended Exposure Index : 400
[EXIF:ExifIFD:Image] Exif Version   : 0231
[EXIF:ExifIFD:Time] Date/Time Original  : 2020:09:22 21:27:23
[EXIF:ExifIFD:Time] Offset Time : +10:00
[EXIF:ExifIFD:Time] Offset Time Original: +10:00
[EXIF:ExifIFD:Time] Offset Time Digitized   : +10:00
[EXIF:ExifIFD:Image] Components Configuration   : Y, Cb, Cr, -
[EXIF:ExifIFD:Image] Shutter Speed Value: 1/197
[EXIF:ExifIFD:Image] Aperture Value : 9.9
[EXIF:ExifIFD:Camera] Flash : On, Fired
[EXIF:ExifIFD:Camera] Focal Length  : 90.0 mm
[EXIF:ExifIFD:Image] User Comment   :
[EXIF:ExifIFD:Time] Sub Sec Time: 59
[EXIF:ExifIFD:Time] Sub Sec Time Original   : 59
[EXIF:ExifIFD:Time] Sub Sec Time Digitized  : 59
[EXIF:ExifIFD:Image] Flashpix Version   : 0100
[EXIF:ExifIFD:Image] Exif Image Width   : 8192
[EXIF:ExifIFD:Image] Exif Image Height  : 5464
[EXIF:ExifIFD:Camera] Focal Plane X Resolution  : 5773.079634
[EXIF:ExifIFD:Camera] Focal Plane Y Resolution  : 5769.799366
[EXIF:ExifIFD:Camera] Focal Plane Resolution Unit: inches
[EXIF:ExifIFD:Image] Custom Rendered: Normal
[EXIF:ExifIFD:Camera] Exposure Mode : Manual
[EXIF:ExifIFD:Camera] Scene Capture Type: Standard
[EXIF:ExifIFD:Image] Serial Number  : 035021000124
[EXIF:ExifIFD:Image] Lens Info  : 90mm f/0
[EXIF:ExifIFD:Image] Lens Serial Number : 00
[EXIF:GPS:Location] GPS Version ID  : 2.3.0.0
[EXIF:GPS:Location] GPS Altitude Ref: Above Sea Level
[EXIF:GPS:Location] GPS Satellites  :
[EXIF:GPS:Location] GPS Status  : Unknown ()
[EXIF:GPS:Location] GPS Measure Mode: Unknown ()
[XMP:XMP-xmp:Image] Rating  : 0

*EXV constainer generated:

exiftool -G:0:1:2:4 -exif:all -xmp:all 2020-09-22_21-27-23_0C4A1060_changes.exv
[XMP:XMP-x:Document] XMP Toolkit: XMP Core 4.4.0-Exiv2
[XMP:XMP-exif:Time] Date/Time Original  : 2021:05:09 15:02:43
[XMP:XMP-exif:Time] Date/Time Digitized : 2021:05:09 15:02:43
[XMP:XMP-tiff:Time] Date/Time Modified  : 2021:05:09 15:02:43
[XMP:XMP-xmp:Time] Create Date  : 2021:05:09 15:02:43
[XMP:XMP-xmp:Time] Metadata Date: 2021:05:09 15:02:43
[XMP:XMP-xmp:Time] Modify Date  : 2021:05:09 15:02:43

*CR3 PATCHED:

exiftool]$ exiftool -G:0:1:2:4 -exif:all -xmp:all
2020-09-22_21-27-23_0C4A1060.CR3
[EXIF:IFD0:Image] Image Width   : 8192
[EXIF:IFD0:Image] Image Height  : 5464
[EXIF:IFD0:Image] Bits Per Sample   : 8 8 8
[EXIF:IFD0:Image] Compression   : JPEG (old-style)
[EXIF:IFD0:Camera] Make : Canon
[EXIF:IFD0:Camera] Camera Model Name: Canon EOS R5
[EXIF:IFD0:Image] Orientation   : Rotate 90 CW
[EXIF:IFD0:Image] Resolution Unit   : inches
[EXIF:IFD0:Author] Artist   : kdmurray
[EXIF:IFD0:Author] Copyright:
[EXIF:ExifIFD:Image] Exposure Time  : 1/200
[EXIF:ExifIFD:Image] F Number   : 10.0

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #18 from caulier.gil...@gmail.com ---
Git commit 2cb42fd246428932edd2049c59def826dcc9a420 by Gilles Caulier.
Committed on 09/05/2021 at 08:13.
Pushed by cgilles into branch 'master'.

ExifTool support: now export the list of tags changes from Exif, Iptc, and Xmp
in a temporary EXV file.
We will pass later this file to ExifTool to patch target file.
Related: bug 134486, bug 170693, bug 219856, bug 237504, bug 264210, bug
309341, bug 325458, bug 326408, bug 377622, bug 384092, bug 406540, bug 416516,
bug 421464

M  +0-186  core/libs/metadataengine/engine/metaengine.cpp
M  +8-5core/libs/metadataengine/engine/metaengine.h
M  +196  -0core/libs/metadataengine/engine/metaengine_fileio.cpp
M  +4-4core/tests/metadataengine/CMakeLists.txt
R  +5-4core/tests/metadataengine/exportchanges_cli.cpp [from:
core/tests/metadataengine/dmetadatadiff_cli.cpp - 082% similarity]

https://invent.kde.org/graphics/digikam/commit/2cb42fd246428932edd2049c59def826dcc9a420

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #17 from caulier.gil...@gmail.com ---
Git commit 434f065e74282cbb9335c2cc4db256007ca2ae5d by Gilles Caulier.
Committed on 08/05/2021 at 16:46.
Pushed by cgilles into branch 'master'.

ExifTool support: add new method to get list of changes operated on metadata.
The goal is to make a temporary EXV file to pass later to ExifTool to patch
target file.
Related: bug 134486, bug 170693, bug 219856, bug 237504, bug 264210, bug
309341, bug 325458, bug 326408, bug 377622, bug 384092, bug 406540, bug 416516,
bug 421464

M  +162  -0core/libs/metadataengine/engine/metaengine.cpp
M  +5-0core/libs/metadataengine/engine/metaengine.h
M  +0-1core/libs/metadataengine/engine/metaengine_p.cpp

https://invent.kde.org/graphics/digikam/commit/434f065e74282cbb9335c2cc4db256007ca2ae5d

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #16 from Maik Qualmann  ---
The metadata viewer has a filter button at the top left next to the search
line, where "no filter" should be selected in order to see all XMP metadata.
The image sample from Comment 10 does not contain any face regions. I can
easily add some. If this was not the case with you, then you have not activated
the writing of face metadata in the digiKam settings. In order for face
metadata to be written, both tags and facial metadata must be activated.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #15 from tryme...@tutanota.com ---
I looked on the right panel Properties, right panel Metadata -> XMP and I added
the Edit Metadata button to the top panel and looked in that under XMP and
cannot find anything for face tags.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #14 from tryme...@tutanota.com ---
(In reply to Maik Qualmann from comment #13)
> Rereading the metadata doesn't solve the problem? Are the face metadata
> available in the XMP metadata viewer?
> 
> Maik

Where is the XMP metadata viewer?

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-04 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #13 from Maik Qualmann  ---
Rereading the metadata doesn't solve the problem? Are the face metadata
available in the XMP metadata viewer?

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-04 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #12 from tryme...@tutanota.com ---
(In reply to Maik Qualmann from comment #11)
> The image from comment 10 shows no problems with writing or reading face
> regions and tags.
> 
> Maik

I am using DigiKam 7.2.0 AppImage on Linux Mint. When I add a face tag to the
image from comment 10 with the face tags setting enabled to write to the file
it will show it works. Then I uninstall DigiKam by deleting the 4 database
files in my Pictures folder and deleting the /home/user/.local/share/digikam
folder and delting the /home/user/.cache/digikam folder. When I relaunch the
appimage and add the folder of the pictures to my collection it shows the image
saves the people tag but the face tag is no present on the image, no box around
the faces

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-03 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #11 from Maik Qualmann  ---
The image from comment 10 shows no problems with writing or reading face
regions and tags.

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-05-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #10 from tryme...@tutanota.com ---
Created attachment 138127
  --> https://bugs.kde.org/attachment.cgi?id=138127=edit
face tag wont remain image

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-04-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #9 from tryme...@tutanota.com ---
I found a solution thanks to StarGeek on the exiftool forum. Maybe digikam can
use this to fix this issue but this is a soltution for others who want to fix
this with their iphone pictures until digikam fixes this.

https://exiftool.org/forum/index.php?topic=12432.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-04-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #8 from tryme...@tutanota.com ---
(In reply to caulier.gilles from comment #7)
> In ExifTool command line, you can use condition rules. Look in documentation
> :
> 
> https://exiftool.org/exiftool_pod.html#Advanced-formatting-feature
> 
> Just check the availability of apple-fi metadata group in image before to
> process.
> 
> You can also use digiKam Batch Queue Manager to call Exiftool with bach on
> preselected items from your collection. The tool is named "User Shell
> Script" from Custom Tools section.
> 
> Gilles Caulier

I am not good with using terminal application which is why I use digikam over
exiftools. Could you please tell me what the terminal command will be to do
this

exiftool . -xmp:all= -tagsfromfile @ -xmp:all -overwrite_original

but only to files with the apple-fi metadata in the current directory. I know
how to change the directory with "cd" command.

Thanks in advanced.

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-04-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #7 from caulier.gil...@gmail.com ---
In ExifTool command line, you can use condition rules. Look in documentation :

https://exiftool.org/exiftool_pod.html#Advanced-formatting-feature

Just check the availability of apple-fi metadata group in image before to
process.

You can also use digiKam Batch Queue Manager to call Exiftool with bach on
preselected items from your collection. The tool is named "User Shell Script"
from Custom Tools section.

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-04-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #6 from tryme...@tutanota.com ---
I am using bash if that helps

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-04-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

--- Comment #5 from tryme...@tutanota.com ---
(In reply to Maik Qualmann from comment #4)
> With this command you can repair the image:
> 
> exiftool facetagsdonotwork.jpg -xmp:all= -tagsfromfile @ -xmp:all
> -overwrite_original
> 
> Maik

This does work for each individual images. Is there a way to modify this
command to have it do an entire directory but ingore the non apple images?

I tried this by replacing the file name with a dot but it also deletes the face
tags on non-apple images.

exiftool . -xmp:all= -tagsfromfile @ -xmp:all -overwrite_original

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 436286] Cannot embed face tags into JPG image with Exiv2 and "apple-fi" XMP namespace. Use ExifTool instead

2021-04-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=436286

caulier.gil...@gmail.com changed:

   What|Removed |Added

Summary|Cannot embed face tags into |Cannot embed face tags into
   |JPG image   |JPG image with Exiv2 and
   ||"apple-fi" XMP namespace.
   ||Use ExifTool instead
 CC||caulier.gil...@gmail.com
  Component|Metadata-Xmp|Metadata-ExifTool

-- 
You are receiving this mail because:
You are watching all bug changes.