Hi,
I downloaded version 0.5.12 and I sucessfully use it together with
libjpeg 6. The lack of documentation was a small problem, the API is simple
enough to implement all I need in a couple of calls. Great job.
If someone is interested I can send the code code.
I also had make some changes to compile it.
First, you have a config.h file too complex, for a so simple library. I
guess it could be simplified. I build it using cygwin, then I build one
from scratch for Visual C++ using the other as a reference. It works fine.
In fact I notice that only 2 definitions from config.h are used in the
code ENABLE_NLS and GETTEXT_PACKAGE. The first one I disable since I am not
using gettext.
Then, exif-loader.c depends on jpeg-marker.h, since I am only using
libexif code I had to copy that header. But the jpeg folder was very
usefull to help me understand the library.
Finaly the snprintf function used in exif-entry.c is not ANSI C, so it
would be nice if replaced by sprintf or other. The Visual C++ only defines
"_snprintf". I don't use the dump functions but this it will make the
library more portable.
Best,
Antonio Scuri
|