Bug 392451

Summary: Write Artist information into EXIF tag using Metadata template in addition to IPTC and XMP
Product: [Applications] digikam Reporter: Taras <oxdef+kde>
Component: Metadata-TemplateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 5.8.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.9.0
Sentry Crash Report:

Description Taras 2018-03-28 12:39:30 UTC
Steps to reproduce:
1. Import image without artist/author/creator information
2. Make metadata template with setted field Author Names to "Vasya Pupkin"
3. Apply this template to the imported image

Current result:
1. Artist information exists **only** in IPTC and XMP tags

$ exiv2 -pa dsc_0125.jpg | grep Pup
Iptc.Application2.Byline                     String     12  Vasya Pupkin
Xmp.tiff.Artist                              XmpSeq      1  Vasya Pupkin
Xmp.dc.creator                               XmpSeq      1  Vasya Pupkin

2. Yes, in Metadata templates settings we also see warning "Note: these information are used to set XMP and IPTC tag contents..."

Expected result:
It will be great to write this information into EXIF tags, too. Canon cameras do it same way and use Exif.Image.Artist tag for it.
Comment 1 Maik Qualmann 2018-03-29 18:44:04 UTC
Gilles,

is there a reason the template can only be applied to IPTC and XMP? Although not all needed EXIF tags are available. But the possible could be filled out.

Maik
Comment 2 caulier.gilles 2018-03-29 20:16:35 UTC
The reason is simple : IPTC and XMP are the standard to store template info as copyright. This is typically info post processed on the computer in these metadata.

Exif is the camera area. This is not the first place to store these information. But few pro camera permit to store copyright info directly at shot time. This is why some Exif makernotes exists now.

So Iptc and XMp have been the first choice to store these info. Using Exif is not a problem technically, if standard tags are used. For makernotes, it's more complicated, as these depend of camera type used to shot the image. We will not store copyright into nikon section to an image shot with a Canon device.

Makernotes are also problematic with XMP as the support is not supported. Makernotes are closed tags make by camera constructor without documentation.

Gilles
Comment 3 caulier.gilles 2025-12-20 12:06:14 UTC
Git commit b97b498abfdd8a3787f104b292bbfe1d3d115296 by Gilles Caulier.
Committed on 20/12/2025 at 12:03.
Pushed by cgilles into branch 'master'.

Add support 2 Exif tags in the Template Workflow:
- Exif.Image.Artist
- Exif.Image.Copyright
As Exif support only a single string without information sequenence structure as XMP, dat written in Exif are simplified.
FIXED-IN: 8.9.0

M  +33   -0    core/libs/metadataengine/dmetadata/dmetadata_template.cpp

https://invent.kde.org/graphics/digikam/-/commit/b97b498abfdd8a3787f104b292bbfe1d3d115296