Remove tags from jpg using Digikam

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Remove tags from jpg using Digikam

Wolfgang Mader
Dear list,

this will be my last attempt to learn how to remove tags from pictures using
Digikam. Please note, I am running Digikam 3.5.0, so please do not tell me
that there was an error concerning tags _prior_ to 3.5.0, I have already
upgraded. With this out of the way, here is the issue.

I want to remove tags which I have attached to images in the past using
digikam. I tried
1)
right click on the image -> Remove Tags, than I selected every single tag by
itself.

2)
Image -> Metadata -> Edit all Metadata, then remove the tags and keywords
separately for exif, iptc, xmp

After both those procedures, no tags are shown any more in Digikam, but if I
hit Image->"Reread Metadata from File" they appear again. Using exiv2 on a file
which has been stripped with method 1) or 2) results in the following

exiv2 -p a image.jpg | grep Pflanzen
Xmp.MicrosoftPhoto.LastKeywordXMP            XmpSeq      1  Pflanzen/Blume
Xmp.digiKam.TagsList                         XmpSeq      1  Pflanzen/Blume
Xmp.lr.hierarchicalSubject                   XmpBag      1  Pflanzen|Blume

Here I greped for the name of a tag to give an example. As you can see, the
Xmp part is still present, and was not removed when I asked digikam to do so.
I write xmp sidecar files for every image.

Now the question: Am I doing something wrong? Is this an error in digikam?
Should I go for good old command line do remove those tags?

If this turns out to be a bug I am happy to hunt down more examples.

Thank you,
Wolfgang
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Remove tags from jpg using Digikam

tosca
Did you try the synchronization from the Tools -> Maintenance menu?
Unless I'm mistaken, this should allow you to update the files from what exist in the database.

Marie-Noëlle


2014-02-18 20:16 GMT+01:00 Wolfgang Mader <[hidden email]>:
Dear list,

this will be my last attempt to learn how to remove tags from pictures using
Digikam. Please note, I am running Digikam 3.5.0, so please do not tell me
that there was an error concerning tags _prior_ to 3.5.0, I have already
upgraded. With this out of the way, here is the issue.

I want to remove tags which I have attached to images in the past using
digikam. I tried
1)
right click on the image -> Remove Tags, than I selected every single tag by
itself.

2)
Image -> Metadata -> Edit all Metadata, then remove the tags and keywords
separately for exif, iptc, xmp

After both those procedures, no tags are shown any more in Digikam, but if I
hit Image->"Reread Metadata from File" they appear again. Using exiv2 on a file
which has been stripped with method 1) or 2) results in the following



--

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Remove tags from jpg using Digikam

Wolfgang Mader
On Tuesday 18 February 2014 20:35:27 Marie-Noëlle Augendre wrote:
> Did you try the synchronization from the Tools -> Maintenance menu?
> Unless I'm mistaken, this should allow you to update the files from what
> exist in the database.
Thanks for your answer. Unfortunately, this is not the solution. It seems to
me that digikam does not touch those fields

Xmp.MicrosoftPhoto.LastKeywordXMP            XmpSeq      1  Pflanzen/Blume
Xmp.digiKam.TagsList                         XmpSeq      1  Pflanzen/Blume
Xmp.lr.hierarchicalSubject                   XmpBag      1  Pflanzen|Blume

It is possible that digikam does not update all tag related fields in the
metadata part of the image?

Best,
Wolfgang

>
> Marie-Noëlle
>
> 2014-02-18 20:16 GMT+01:00 Wolfgang Mader <[hidden email]>:
> > Dear list,
> >
> > this will be my last attempt to learn how to remove tags from pictures
> > using
> > Digikam. Please note, I am running Digikam 3.5.0, so please do not tell me
> > that there was an error concerning tags _prior_ to 3.5.0, I have already
> > upgraded. With this out of the way, here is the issue.
> >
> > I want to remove tags which I have attached to images in the past using
> > digikam. I tried
> > 1)
> > right click on the image -> Remove Tags, than I selected every single tag
> > by
> > itself.
> >
> > 2)
> > Image -> Metadata -> Edit all Metadata, then remove the tags and keywords
> > separately for exif, iptc, xmp
> >
> > After both those procedures, no tags are shown any more in Digikam, but if
> > I
> > hit Image->"Reread Metadata from File" they appear again. Using exiv2 on a
> > file
> > which has been stripped with method 1) or 2) results in the following

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Remove tags from jpg using Digikam

Andreas Mair-2
Hi Wolfgang,

I've tried it here and it works at expected.
One thing I could imagine: Did you change the setting where you can
tell digiKam where it should save metadata?
If they had been saved to the image and to the XMP sidecar and you
later switched that setting to save them only in one of them, then
digiKam surely won't delete the tags in the other one.

Best regards,
Andreas


2014-02-18 22:04 GMT+01:00 Wolfgang Mader <[hidden email]>:

> On Tuesday 18 February 2014 20:35:27 Marie-Noëlle Augendre wrote:
>> Did you try the synchronization from the Tools -> Maintenance menu?
>> Unless I'm mistaken, this should allow you to update the files from what
>> exist in the database.
> Thanks for your answer. Unfortunately, this is not the solution. It seems to
> me that digikam does not touch those fields
>
> Xmp.MicrosoftPhoto.LastKeywordXMP            XmpSeq      1  Pflanzen/Blume
> Xmp.digiKam.TagsList                         XmpSeq      1  Pflanzen/Blume
> Xmp.lr.hierarchicalSubject                   XmpBag      1  Pflanzen|Blume
>
> It is possible that digikam does not update all tag related fields in the
> metadata part of the image?
>
> Best,
> Wolfgang
>
>>
>> Marie-Noëlle
>>
>> 2014-02-18 20:16 GMT+01:00 Wolfgang Mader <[hidden email]>:
>> > Dear list,
>> >
>> > this will be my last attempt to learn how to remove tags from pictures
>> > using
>> > Digikam. Please note, I am running Digikam 3.5.0, so please do not tell me
>> > that there was an error concerning tags _prior_ to 3.5.0, I have already
>> > upgraded. With this out of the way, here is the issue.
>> >
>> > I want to remove tags which I have attached to images in the past using
>> > digikam. I tried
>> > 1)
>> > right click on the image -> Remove Tags, than I selected every single tag
>> > by
>> > itself.
>> >
>> > 2)
>> > Image -> Metadata -> Edit all Metadata, then remove the tags and keywords
>> > separately for exif, iptc, xmp
>> >
>> > After both those procedures, no tags are shown any more in Digikam, but if
>> > I
>> > hit Image->"Reread Metadata from File" they appear again. Using exiv2 on a
>> > file
>> > which has been stripped with method 1) or 2) results in the following
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Remove tags from jpg using Digikam

jag59
In reply to this post by Wolfgang Mader
HI Wolfgang ,

I never right click to remove tags as it only removes from the database and not from the file. I always remove tags by de-selecting in the RHS  'Tags' field and clicking 'apply' to remove from file. This can be counter checked by opening later the file in gwenview.

I think, this is what you want to achieve.
Jagdeesh Deshpande.
Registered Linux user #492893