From: Dan Fandrich <dan@co...> - 2007-11-25 09:45:03
Right now, there appears to be no way for the exif command-line tool to
display all tags that exist in a file. Instead, the tags unknown to libexif
are simply ignored because of the call to
exif_data_set_option (data, EXIF_DATA_OPTION_IGNORE_UNKNOWN_TAGS);
in exif_data_new_mem (which is called by exif_loader_get_data). To add
such an option to exif (or any other app) requires the app to supply its
own version of exif_loader_get_data that sets the flags the way it wants
before calling exif_data_load_data. This breaks encapsulation.
This could be fixed by adding a new entry point:
ExifData * exif_loader_get_data_options (ExifLoader *loader, unsigned options)
where options are the complete set of desired options ORred together by the
caller. This is a bit ugly, too, because exif_data_* provides only _set and
_unset functions and no way to initialize them all at once, and besides,
these are data flags and not loader flags.
Any better suggestions?
http://www.MoveAnnouncer.com The web change of address service
Let webmasters know that your web site has moved
Get latest updates about Open Source Projects, Conferences and News.