Reread Metadata from Images not importing EXIF "Image Description" as caption.

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

Reread Metadata from Images not importing EXIF "Image Description" as caption.

Gerrit Holl-2
Hi.

In Digikam 1.2.0, I used "Reread Metadata from Images". The EXIF field
"Image Description" is set and recognised by Digikam in the "Image
Information" tab, but not set as caption in Digikams database after
using "Reread Metadata from Images". Is there  a way to have this set
as caption from within digikam, or would this take some external
script that edits the database directly? I had such a script years
ago, but I'm sure it'd take rewriting as I assume Digikams database
structure has changed in the past couple of years.

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

Re: Reread Metadata from Images not importing EXIF "Image Description" as caption.

Marcel Wiesweg


> In Digikam 1.2.0, I used "Reread Metadata from Images". The EXIF field
> "Image Description" is set and recognised by Digikam in the "Image
> Information" tab, but not set as caption in Digikams database after
> using "Reread Metadata from Images". Is there  a way to have this set
> as caption from within digikam, or would this take some external
> script that edits the database directly? I had such a script years
> ago, but I'm sure it'd take rewriting as I assume Digikams database
> structure has changed in the past couple of years.

We currently do not read this property. We read a good choice of other
properties - three XMP values, Exif UserComment, IPTC Caption -  but this one
may have slipped attention.

Gilles:
Exif.Image.ImageDescription, 270 / 0x10e
Should we add this to DMetadata::getImageComments() ?

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

Re: Reread Metadata from Images not importing EXIF "Image Description" as caption.

Gilles Caulier-4
2010/6/1 Marcel Wiesweg <[hidden email]>:

>
>
>> In Digikam 1.2.0, I used "Reread Metadata from Images". The EXIF field
>> "Image Description" is set and recognised by Digikam in the "Image
>> Information" tab, but not set as caption in Digikams database after
>> using "Reread Metadata from Images". Is there  a way to have this set
>> as caption from within digikam, or would this take some external
>> script that edits the database directly? I had such a script years
>> ago, but I'm sure it'd take rewriting as I assume Digikams database
>> structure has changed in the past couple of years.
>
> We currently do not read this property. We read a good choice of other
> properties - three XMP values, Exif UserComment, IPTC Caption -  but this one
> may have slipped attention.
>
> Gilles:
> Exif.Image.ImageDescription, 270 / 0x10e
> Should we add this to DMetadata::getImageComments() ?

yes it can :

0x010e 270 IFD0 Exif.Image.ImageDescription Ascii A character
string giving the title of the image. It may be a comment such as
"1988 company picnic" or the like. Two-bytes character codes cannot be
used. When a 2-bytes code is necessary, the Exif Private tag
<UserComment> is to be used.

But not in priority. other tags which support UTF-8 must be checked in first.

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

Re: Reread Metadata from Images not importing EXIF "Image Description" as caption.

Gilles Caulier-4
2010/6/1 Gilles Caulier <[hidden email]>:

> 2010/6/1 Marcel Wiesweg <[hidden email]>:
>>
>>
>>> In Digikam 1.2.0, I used "Reread Metadata from Images". The EXIF field
>>> "Image Description" is set and recognised by Digikam in the "Image
>>> Information" tab, but not set as caption in Digikams database after
>>> using "Reread Metadata from Images". Is there  a way to have this set
>>> as caption from within digikam, or would this take some external
>>> script that edits the database directly? I had such a script years
>>> ago, but I'm sure it'd take rewriting as I assume Digikams database
>>> structure has changed in the past couple of years.
>>
>> We currently do not read this property. We read a good choice of other
>> properties - three XMP values, Exif UserComment, IPTC Caption -  but this one
>> may have slipped attention.
>>
>> Gilles:
>> Exif.Image.ImageDescription, 270 / 0x10e
>> Should we add this to DMetadata::getImageComments() ?
>
> yes it can :
>
> 0x010e  270     IFD0    Exif.Image.ImageDescription     Ascii   A character
> string giving the title of the image. It may be a comment such as
> "1988 company picnic" or the like. Two-bytes character codes cannot be
> used. When a 2-bytes code is necessary, the Exif Private tag
> <UserComment> is to be used.
>
> But not in priority. other tags which support UTF-8 must be checked in first.
>

In fact, KExiv2::getExifComment() must be patched. this tag must be
checked after Exif.Photo.UserComment of course

I think that we can write comment into this tag too, through
KExiv2::setExifComment()

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users