How to read author and copyright metadata written by DigiKam

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

How to read author and copyright metadata written by DigiKam

Yuri Galachyants
Hi!

Could anyone please explain how can I get the subject metadata, which have been written by Digikam into an image, using alternative software such as exiv2/exiftool/etc?

Best regards, Yuri.

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

Re: How to read author and copyright metadata written by DigiKam

Gilles Caulier-4
this information are stored in XMP metadata.

exiv2 -px myimage.jpg

... will display XMP values.

Just grep the right XMP tag

Gilles Caulier

2010/11/11 Yuri Galachyants <[hidden email]>:

> Hi!
>
> Could anyone please explain how can I get the subject metadata, which have
> been written by Digikam into an image, using alternative software such as
> exiv2/exiftool/etc?
>
> Best regards, Yuri.
>
> _______________________________________________
> 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: How to read author and copyright metadata written by DigiKam

Marcel Wiesweg
In reply to this post by Yuri Galachyants

We are using the iptc4xmpcore specification to write this information to
metadata. The mentioned legacy IPTC values will also be written.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to read author and copyright metadata written by DigiKam

Photonoxx
In reply to this post by Yuri Galachyants
Basically, I thing exiv2 and exiftool should return all the metadata in an  
image if you just enter the file as "argument". there should be some  
options to display the precise XMP/IPTC path and name of each entry, and  
with that, you'll be able to determine how get the information you want I  
guess.

man exiftool can give you some info.

If you make exiftool -G -S yourfile

It should return all the metadatas sorted by group and with the group and  
shortname for each tag.

So in this output you look which tag interest you and you get its name.  
The subject is output among others as this :

[XMP] Subject : subject1, subject2, etc...

If you want to gey this tag, you just have to do this in terminal :

exiftool -XMP:Subject yourfile

Le Thu, 11 Nov 2010 05:04:41 +0100, Yuri Galachyants <[hidden email]> a  
écrit:

> Hi!
>
> Could anyone please explain how can I get the subject metadata, which  
> have
> been written by Digikam into an image, using alternative software such as
> exiv2/exiftool/etc?
>
> Best regards, Yuri.


--
--
Nicolas Boulesteix
Photographe chasseur de lueurs
http://www.photonoxx.fr
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to read author and copyright metadata written by DigiKam

Yuri Galachyants
Hi,

Thanks all for advices.

It seems my Digikam does not write all the metadata I need into image
header (or just I can't read it). What I look for is the metadata from
a Caption/Tags->Description tab. There is a number of fields
on Rights, Location, Contact, and Subjects. And none of these fields
are in the output of either exiv2 or exiftool, even after I'm doing
force Image->"Write Metadata to Image" in Digikam. If an export of
these metadata into images is implemented, I tend to suppose there is
either a sort of Digikam incompatibility with a version of exif
libraries or the problem with the metadata readers I'm using. Could
you provide me a clue which versions I need to get the
functionality desired?

A screenshot with the Digikam tab I'm talking about as well
as a dummy image where these data should be (but it's not there
according to my exiftool and exiv2 outputs) could be found here:

ftp://yuragal.dyndns.org/photos/tmp/Screenshot-digiKam.png
ftp://yuragal.dyndns.org/photos/tmp/IMG_2836.jpg

Here is my software spec:
$ uname -a
Linux yuragal-desktop 2.6.32-25-generic-pae #45-Ubuntu SMP Sat Oct 16
21:01:33 UTC 2010 i686 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"

$ digikam -v
Qt: 4.6.2
KDE Development Platform: 4.4.2 (KDE 4.4.2)
digiKam: 1.2.0

$exiftool -ver
7.89

$ exiv2 -V
exiv2 0.19

Best regards, Yuri.

>
>
> On Thu, Nov 11, 2010 at 5:02 PM, Photonoxx <[hidden email]> wrote:
>>
>> Basically, I thing exiv2 and exiftool should return all the metadata in an
>> image if you just enter the file as "argument". there should be some
>> options to display the precise XMP/IPTC path and name of each entry, and
>> with that, you'll be able to determine how get the information you want I
>> guess.
>>
>> man exiftool can give you some info.
>>
>> If you make exiftool -G -S yourfile
>>
>> It should return all the metadatas sorted by group and with the group and
>> shortname for each tag.
>>
>> So in this output you look which tag interest you and you get its name.
>> The subject is output among others as this :
>>
>> [XMP] Subject : subject1, subject2, etc...
>>
>> If you want to gey this tag, you just have to do this in terminal :
>>
>> exiftool -XMP:Subject yourfile
>>
>> Le Thu, 11 Nov 2010 05:04:41 +0100, Yuri Galachyants <[hidden email]> a
>> écrit:
>>
>> > Hi!
>> >
>> > Could anyone please explain how can I get the subject metadata, which
>> > have
>> > been written by Digikam into an image, using alternative software such as
>> > exiv2/exiftool/etc?
>> >
>> > Best regards, Yuri.
>>
>>
>> --
>> --
>> Nicolas Boulesteix
>> Photographe chasseur de lueurs
>> http://www.photonoxx.fr
>> _______________________________________________
>> 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: How to read author and copyright metadata written by DigiKam

Marcel Wiesweg

Yes you're right it's not in the metadata.
You have checked the option to write the "template" to metadata in Settings-
>Metadata? (I agree the wording may be a bit misleading)
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: How to read author and copyright metadata written by DigiKam

Yuri Galachyants
Thanks a lot, Marcel! That did the trick.

Best regards, Yuri.



On Fri, Nov 12, 2010 at 4:43 PM, Marcel Wiesweg <[hidden email]> wrote:
>
> Yes you're right it's not in the metadata.
> You have checked the option to write the "template" to metadata in Settings-
>>Metadata? (I agree the wording may be a bit misleading)
> _______________________________________________
> 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