From: Jean-Philippe François <jp.francois@cy...> - 2009-06-03 07:09:41
The libexif API seems to be mainly oriented toward reading exif data.
For example :
There is a :
I am using this library to build an exif section "from scratch" and o
I find it quite helpful, but I am missing some functions, and I don't
know if I am doing things correctly.
Anyway, to write data to an ascii tag, I have to mess with the content
of the ExifEntry struct like this :
MyEntry->data = realloc(MyEntry->data, ASCII_TAG_DEFAULT_SIZE);
MyEntry->size = ASCII_TAG_DEFAULT_SIZE;
MyEntry->components = ASCII_TAG_DEFAULT_SIZE;
snprintf(MyEntry->data, MyEntry->size, "JPEG Image");
Did I miss something ?
Get latest updates about Open Source Projects, Conferences and News.