[digiKam-users] Deleted tags reappear

digikam at 911networks.com digikam at 911networks.com
Mon Sep 26 14:50:55 BST 2022


On Sun, 25 Sep 2022 19:22:09 -0700
Milind Joshi <mmjoshi at iitbombay.org> wrote:

> How are the tags stored for png files? I am having problem with
> deleted tags reappearing. Here's what I do. I delete a tag from the
> png file in digiKam and Write Metadata to File. However, when I
> Read Metadata From File the deleted tags reappear. What is going
> wrong?
> 
> digiKam 7.8.0, Windows 11.

I had exactly the same problem. The problem is that with DNG files,
the tags are written in the DNG file. DNG files do not use the XMPs,
some software do, some don't.

I ended up remove the tags from the DNG with exiftool.

to see the tags in the dng:

exiftool -G1 -a -s -IPTC:Keywords -XMP-dc:Subject -XMP-lr:HierarchicalSubject FILENAME.DNG

to delete the tag in the dng:

exiftool -IPTC:keywords="" -XMP-dc:Subject="" -XMP-lr:HierarchicalSubject="" FILENAME.DNG

then 

1. re-read the file in DK
2. cleanup your tags/categories


-- 
sknahT

vyS


More information about the Digikam-users mailing list