[Elphel-support] Adding additional EXIF2.2 Data Fields

Andrey Filippov andrey at elphel.com
Tue May 11 07:47:43 PDT 2010


Sebastian,

in most cases Exif_template.xml is all what you need to modify (if it is
just static data), you will need to modify exif.php only if the data for the
new field should be obtained from some other parts of the camera firmware
(i.e. serial number).

And of course it is possible to add more dynamic fields - fields that are
written to at run time. That will need more changes - in addition to
template you'll need modify exifa.h headre file (
http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/os/linux-2.6-tag--devboard-R2_10-4/include/asm-cris/elphel/exifa.h?view=markup)
and add support elphel_php.c extension:
http://elphel.cvs.sourceforge.net/viewvc/elphel/elphel353-8.0/apps/php-5.2.9/ext/elphel/elphel_php.c?view=markup
The last It is not absolutely required, but it would be nice to have support
for that field in PHP in the camera)
And then your application will  need to write formatted (as in Exif itself)
data to a device driver (using the new defined tag for positioning in the
file), that data will be attached to the current (and next ones until
overwritten) frame camera is acquiring. You may look at GPS/compass
application as an example.

There is more on the matter in my older post:
http://www.mail-archive.com/support-list@support.elphel.com/msg00281.html

Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://support.elphel.com/pipermail/support-list_support.elphel.com/attachments/20100511/6012f2bf/attachment-0002.html>


More information about the Support-list mailing list