Bug 448610 - Option to copy metadata from original image to enfused image
Summary: Option to copy metadata from original image to enfused image
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-ExpoBlending (other bugs)
Version First Reported In: 7.4.0
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-16 17:17 UTC by Clarence Risher
Modified: 2024-09-14 10:56 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Clarence Risher 2022-01-16 17:17:22 UTC
When I fuse a set of images that I've already captioned, tagged, labeled, etc, I would like to be able to automatically copy those things over to the enfused result image(s).

This could be accomplished by launching the Import Exif dialog after fusing, but I think that plugin and dialog were removed in recent versions?

This is possibly a superset of https://bugs.kde.org/show_bug.cgi?id=370471
Comment 1 Maik Qualmann 2022-01-16 21:18:45 UTC
digiKam takes the metadata of the original image into the fused image. Is their changed metadata just in the database and not written to the images?

Maik
Comment 2 Clarence Risher 2022-01-16 22:19:40 UTC
The metadata I care about are the labels (keywords, subjects, etc, the fields have many redundant names). According to exiftool they have been written to the original images, and are not present in the fused image. (This is with 7.4.0, please let me know if you need me to test with 7.6 or a source build)

$ exiftool -G enfuse-01.jpg | grep IMG
[XMP]           Enfuse Input Files              : IMG_0404.JPG ; IMG_0402.JPG ; IMG_0403.JPG
$ exiftool -G enfuse-01.png | grep IMG
[XMP]           Enfuse Input Files              : IMG_0404.JPG ; IMG_0402.JPG ; IMG_0403.JPG
$ exiftool -G IMG_0404.JPG | grep manor
[XMP]           Categories                      : <Categories><Category Assigned="1">manor</Category><Category Assigned="1">AEB</Category><Category Assigned="1">120HillSt</Category><Category Assigned="1">photoshoot</Category><Category Assigned="0">model<Category Assigned="1">CarrieBrum</Category></Category></Categories>
[XMP]           Tags List                       : manor, AEB, 120HillSt, photoshoot, model/CarrieBrum
[XMP]           Last Keyword XMP                : manor, AEB, 120HillSt, photoshoot, model/CarrieBrum
[XMP]           Hierarchical Subject            : manor, AEB, 120HillSt, photoshoot, model|CarrieBrum
[XMP]           Catalog Sets                    : manor, AEB, 120HillSt, photoshoot, model|CarrieBrum
[XMP]           Subject                         : manor, AEB, 120HillSt, photoshoot, CarrieBrum
[IPTC]          Keywords                        : manor, AEB, 120HillSt, photoshoot, CarrieBrum
$ exiftool -G enfuse-01.png | grep manor
$ exiftool -G enfuse-01.jpg | grep manor
Comment 3 Maik Qualmann 2022-01-17 07:20:41 UTC
In my case, all metadata is present in the target image, tags, title, caption, etc. It may be related to the PNG format, please set it to JPG as a test.
The thing with the original time is clear, we set the current time, currently still.

Maik
Comment 4 Clarence Risher 2022-01-17 07:42:57 UTC
My previous command line examples include fusing to JPG as well as PNG, with the same results.
Comment 5 Maik Qualmann 2022-01-17 09:06:32 UTC
I can't explain why you don't have any metadata. Please start digiKam in the terminal with the Qt Debug variable set and post the log when creating a fused image. As described here:

https://www.digikam.org/contribute/

Maik