[Digikam-devel] reading lens description

Matthias Welwarsky matze at welwarsky.de
Wed Jan 21 11:59:45 GMT 2009


On Wednesday 21 January 2009 09:41:30 Gilles Caulier wrote:
> 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); }

Because otherwise the exposure time shows up as "40s" instead of "1/40s". 
Might be a speciality of this camera particular camera, or a bug in dcraw? 
However, ufraw does it correctly, and Marcel Wiesweg wrote:

> Thanks, but that's already fixed in SVN ;-)

So I assume it's actually a digikam bug which is already fixed.

regards,
	matthias

>
> Gilles




More information about the Digikam-devel mailing list