I would like to read EXIF metadata from JPG files. I already know the C library libexif, and the program 'jhead' that displays those metadata.
Has anybody developed something equivalent in OCaml ? Or an interface to the C library ? I only need basic functionality: to get the value for each EXIF tag.
On 04-04-2008, Sebastien Ferre <Sebastien.Fe...@irisa.fr> wrote:
> Hi,
> I would like to read EXIF metadata from JPG files. > I already know the C library libexif, and the > program 'jhead' that displays those metadata.
> Has anybody developed something equivalent in OCaml ? > Or an interface to the C library ? I only need basic > functionality: to get the value for each EXIF tag.
Once ago, i write this wrapper, using camlidl. I have still the source, but i am not sure it still compiles. Basically, this is a binding to libexif...
Sylvain Le Gall wrote: > On 04-04-2008, Sebastien Ferre <Sebastien.Fe...@irisa.fr> wrote: >> Hi,
>> I would like to read EXIF metadata from JPG files. >> I already know the C library libexif, and the >> program 'jhead' that displays those metadata.
>> Has anybody developed something equivalent in OCaml ? >> Or an interface to the C library ? I only need basic >> functionality: to get the value for each EXIF tag.
> Once ago, i write this wrapper, using camlidl. I have still the source, > but i am not sure it still compiles. Basically, this is a binding to > libexif...
> Want to have the source?
yes, please. Even if incomplete, it would be a good start.
> >> I would like to read EXIF metadata from JPG files. > >> I already know the C library libexif, and the > >> program 'jhead' that displays those metadata.
> >> Has anybody developed something equivalent in OCaml ? > >> Or an interface to the C library ? I only need basic > >> functionality: to get the value for each EXIF tag.
> > Once ago, i write this wrapper, using camlidl. I have still the source, > > but i am not sure it still compiles. Basically, this is a binding to > > libexif...
> > Want to have the source?
> yes, please. > Even if incomplete, it would be a good start.
I started such a wrapper too, but didn't complete it thinking noone would be interested by it.