Jean-Philippe François | 3 Jun 2009 09:09

How to write tags ?

Hi,

The libexif API seems to be mainly oriented toward reading exif data.
For example :
There is a :
  exif_entry_get_value() function,

but no
  exif_entry_set_value() function

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 :

     exif_entry_initialize(MyEntry, EXIF_TAG_IMAGE_DESCRIPTION);
     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 ?

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
(Continue reading)

Translation Project Robot | 3 Jun 2009 18:52

New Danish PO file for 'libexif' (version 0.6.17)

Hello, gentle maintainer.

This is a message from the Translation Project robot.

A revised PO file for textual domain 'libexif' has been submitted
by the Danish team of translators.  The file is available at:

    http://translationproject.org/latest/libexif/da.po

(We can arrange things so that in the future such files are automatically
e-mailed to you when they arrive.  Ask at the address below if you want this.)

All other PO files for your package are available in:

    http://translationproject.org/latest/libexif/

Please consider including all of these in your next release, whether
official or a pretest.

Whenever you have a new distribution with a new version number ready,
containing a newer POT file, please send the URL of that distribution
tarball to the address below.  The tarball may be just a pretest or a
snapshot, it does not even have to compile.  It is just used by the
translators when they need some extra translation context.

The following HTML page has been updated:

    http://translationproject.org/domain/libexif.html

If any question arises, please contact the translation coordinator.
(Continue reading)

Translation Project Robot | 15 Jun 2009 23:07

New Danish PO file for 'libexif' (version 0.6.17)

Hello, gentle maintainer.

This is a message from the Translation Project robot.

A revised PO file for textual domain 'libexif' has been submitted
by the Danish team of translators.  The file is available at:

    http://translationproject.org/latest/libexif/da.po

(We can arrange things so that in the future such files are automatically
e-mailed to you when they arrive.  Ask at the address below if you want this.)

All other PO files for your package are available in:

    http://translationproject.org/latest/libexif/

Please consider including all of these in your next release, whether
official or a pretest.

Whenever you have a new distribution with a new version number ready,
containing a newer POT file, please send the URL of that distribution
tarball to the address below.  The tarball may be just a pretest or a
snapshot, it does not even have to compile.  It is just used by the
translators when they need some extra translation context.

The following HTML page has been updated:

    http://translationproject.org/domain/libexif.html

If any question arises, please contact the translation coordinator.
(Continue reading)

Translation Project Robot | 17 Jun 2009 20:52

New Danish PO file for 'libexif' (version 0.6.17)

Hello, gentle maintainer.

This is a message from the Translation Project robot.

A revised PO file for textual domain 'libexif' has been submitted
by the Danish team of translators.  The file is available at:

    http://translationproject.org/latest/libexif/da.po

(We can arrange things so that in the future such files are automatically
e-mailed to you when they arrive.  Ask at the address below if you want this.)

All other PO files for your package are available in:

    http://translationproject.org/latest/libexif/

Please consider including all of these in your next release, whether
official or a pretest.

Whenever you have a new distribution with a new version number ready,
containing a newer POT file, please send the URL of that distribution
tarball to the address below.  The tarball may be just a pretest or a
snapshot, it does not even have to compile.  It is just used by the
translators when they need some extra translation context.

The following HTML page has been updated:

    http://translationproject.org/domain/libexif.html

If any question arises, please contact the translation coordinator.
(Continue reading)


Gmane