Since I already build my own copy of darktable from the git tip, I've
decided to make a personal change to the metadata viewer to not show
stuff I don't use or want and hopefully show additional EXIF information
that I do want. Dropping fields is simple; all I have to do is #if out
or comment out stuff in src/libs/metadata_view.c. However it's not clear
to me what the best way is to get additional EXIF fields.
Image metadata is mostly retrieved through dt_metadata_get(). For
Exif. prefixed data, this calls dt_metadata_get_exif(), which winds up
retrieving data from the 'images' database table. As far as I can tell
there is no general fallback case; if the Exif information I want isn't
one of the pieces of information already stored in the images table, I'm
out of luck through dt_metadata_get().
I assume that I don't want to try to add more columns to the
images table schema. Is there a general 'retrieve information from
EXIF' function that I'm missing? Do I want to add more fields to
dt_image_t and then set them in, say, dt_exif_read_exif_data()?
Thanks in advance.
PS: I'm aware that all of this is ugly and not the right way to do it
in general. This is a personal hack for my own consumption because I
increasingly find I want some additional information while processing my
photos, and I'm willing to make reasonable code changes to get it.
- cks
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel