[Digikam-devel] Image Metadata extraction : implementation progress...

Gilles Caulier caulier.gilles at kdemail.net
Thu Mar 2 06:22:57 GMT 2006


Le Mercredi 1 Mars 2006 22:32, F.J.Cruz a écrit :
> El Miércoles, 1 de Marzo de 2006 17:49, Caulier Gilles escribió:
> > Le Mercredi 1 Mars 2006 17:15, F.J.Cruz a écrit :
> > > El Martes, 28 de Febrero de 2006 14:08, Gilles Caulier escribió:
> > > > Le Mardi 28 Février 2006 12:22, F.J.Cruz a écrit :
> > > > > Of course,I'm very interested on metadata support in digiKam,
> > > > > especially NEF files since I'm owner of a D50.In fact, along this
> > > > > last week I've been having a look to exiv2 code and I want to make
> > > > > you some questions:
> > > > >
> > > > > - How are you going to implement metadata infor for files that are
> > > > > not implemented in exiv2 yet?
> > > >
> > > > The better way that i have identifed to add better RAW file support
> > > > is to re-use implementation from ExifProbe project :
> > > >
> > > > http://www.virtual-cafe.com/~dhh/tools.d/exifprobe.d/exifprobe.html
> > > >
> > > > I think that only a simple exif/markernote extraction is enought in
> > > > digiKam at this moment.
> > > >
> > > > > Actually exiv2 has support only for CRW files
> > > > > (one of the two Canon RAW formats, the other one is CR2), altough
> > > > > there are files with makernotes specifications for a lot of
> > > > > manufacturers, so if I want to implement metadata extraction for
> > > > > NEF files, have I to implement the equivalent to crwimage in Exiv2?
> > > > > this can be a hard work if we have to do this for all the
> > > > > manufacturers who provide RAW format.
> > > >
> > > > The ExifProbe have a very well documentated source code about. Each
> > > > file format is separated cleanly. I think we can trying to use it.
> > > >
> > > > Each Digikam::DMetadata::loader are separate too. We can add new
> > > > image file format loader progressivly without any risk.
> > >
> > > I want to write this stuff for nef files, but I need you give me some
> > > tips about how to implement it (following the ideas  you described up)
> >
> > Well to start, i will use the code from this program :
> >
> > http://pages.quicksilver.net.nz/pepe/d70/Nikon_D70_on_Linux.html#exif
> >
> > the file http://pages.quicksilver.net.nz/pepe/d70/neftags2jpg.tar.bz2 is
> > a small c implementation witch uses exiv2 ! It's extract any tags from a
> > NEF file and contruct an Exif data container using Exiv2.
>
> I've found a first problem: Nikon has, as far i know, 3 implementations for
> NEF format, but this little program looks like  is usefull for one of them
> only.
>

Well, neftags2jpg is a wrong way...

Is ExifProbe tool work properly with 3 nef file version ?

Gilles



More information about the Digikam-devel mailing list