[Digikam-devel] reading lens description

Matthias Welwarsky matze at welwarsky.de
Wed Jan 21 14:12:25 GMT 2009


On Wednesday 21 January 2009 14:51:17 Gilles Caulier wrote:
> 2009/1/21 Matthias Welwarsky <matze at welwarsky.de>
>
> > On Wednesday 21 January 2009 12:59:45 Matthias Welwarsky wrote:
> > > 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.
> >
> > Which reminds me of something: The aperture is also incorrectly read from
> > these RAW files. A photo was shot with f/10, but digikam reports f/32. Is
> > this
> > also fixed already, by chance?
>
> No. This is a problem in Exiv2 library which is used by digiKam to handle
> Raw metadata.

Not sure. It looks like Exiv2 doesn't at all handle Panasonics new "RW2" files 
and it falls back to using DMetadata::loadUsingDcraw(), which in turn uses 
KDcrawIface::KDcraw::rawFileIdentify().

> Which version do you use ?

Hm. Whatever ships with kubuntu 8.10. I'll have a look when I'm back home.

>
> Note : digikam do not use dcraw to play with Raw image data, but libraw.

... and libraw is based on dcraw, I know.

>
> Gilles Caulier
>
> > regards,
> >         matthias
> > _______________________________________________
> > Digikam-devel mailing list
> > Digikam-devel at kde.org
> > https://mail.kde.org/mailman/listinfo/digikam-devel




More information about the Digikam-devel mailing list