[Digikam-devel] reading lens description

Gilles Caulier caulier.gilles at gmail.com
Wed Jan 21 08:41:30 GMT 2009


2009/1/20 Matthias Welwarsky <matze at welwarsky.de>

> On Tuesday 20 January 2009 06:24:19 Gilles Caulier wrote:
> > Matthias,
> >
> > Where are you set this tag in code? give us a patch against svn please...
>
> I've downloaded the current beta release, so I've attached a patch against
> that one. Note that it contains also a change to correctly read the
> exposure
> time from RAW files.
>
> >
> > When you said that code is not executed, in which conditions exactly ?
>
> When displaying the EXIF content in the "Metadata" or "Properties"
> sidepanel,
> and when updating the metadata database of all Albums from the "Tools"
> menu.
>
> Regards,
>        matthias
>

ok. your new lens descriptio ntag for panasonic camera is recorded to
DMetadata.

Question : why you have set this change :

+++ digikam-0.10.0-beta8/libs/dmetadata/dmetadata.cpp    2009-01-19
21:47:42.000000000 +0100
@@ -105,7 +105,7 @@

         if (identify.exposureTime != -1.0)
         {
-            convertToRational(1/identify.exposureTime, &num, &den, 8);
+            convertToRational(identify.exposureTime, &num, &den, 8);
             setExifTagRational("Exif.Photo.ExposureTime", num, den, false);
         }

Gilles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20090121/9eb72ace/attachment.html>


More information about the Digikam-devel mailing list