aadm
(Alessandro Amato del Monte (aadm))
November 14, 2019, 3:39pm
1
In DT 3 we have this (copied from Release darktable 3.0.0rc1 released · darktable-org/darktable · GitHub ):
A new single-line image information display can be positioned at the top (left, right, or center) […] The specific information shown can be configured in preferences.
So what are the exif tags we can display? I have tried for example (following the nomenclature set as default) $EXIF_DATETIMEORIGINAL
but doesn’t work. Anybody has a list of the accepted information fields we can use?
1 Like
Haribo
November 15, 2019, 8:00am
2
some examples can be found here
darktable-org:master
← AlicVB:image_info
opened 04:32PM - 09 Mar 19 UTC
To display quickly important infos about the current image in darkroom.
![Captu… re d’écran_2019-03-09_17-29-30](https://user-images.githubusercontent.com/1818223/54074289-11edd080-4291-11e9-9e78-9f62fe19bc7c.png)
The goal is to have important information about the current image displayed without the need to expand the metadata view module and search in all the information.
This is a rework of an old try/idea resurrected by some comment here : https://github.com/darktable-org/darktable/issues/2041#issuecomment-459952932
The module can be positioned in 3 places (alterable in prefs) :
- on top of the navigation
- on top of the histogram
- center on the top line (between filters combobox and the G etc icons
- center on the bottom line (between styles icons and clipping icons)
template (alterable in prefs) :
- it use the same template system as used in the export lib
- I've extended the predefined variables used there, so this lib as well as export can now use : $(EXIF_EXPOSURE) $(EXIF_APERTURE) $(EXIF_FOCAL_LENGTH) $(EXIF_FOCUS_DISTANCE) $(LONGITUDE) $(LATITUDE) $(ELEVATION)
- Special chars which can be displayed (ex : ° ...) are only printed for the image info lib (not export jobs, to avoid problems)
- It support pango markup
- it support multilines by using the $(NL) variable
Also it would be good to have an option to set place to "none", but I've to find a nice way to not load libs (for now, you can set an empty template and place bottom or top center)
2 Likes
aadm
(Alessandro Amato del Monte (aadm))
November 15, 2019, 12:01pm
3
So looking through the discussion on github I understand that the only tags that can be used are:
$(EXIF_EXPOSURE)
$(EXIF_APERTURE)
$(EXIF_FOCAL_LENGTH)
$(EXIF_FOCUS_DISTANCE)
$(LONGITUDE)
$(LATITUDE)
$(ELEVATION)
From trial and error I discovered that to build the capture date I can also use $(YEAR)
, $(MONTH)
, $(DAY)
. These three tags I think reflect the DateTimeOriginal exif tag.
pk5dark
(Christian Kanzian)
November 15, 2019, 12:53pm
4
no, you can use the same tags as in the export module as written in the comments of the pull request plus the one you mentioned:
it use the same template system as used in the export lib
2 Likes
aadm
(Alessandro Amato del Monte (aadm))
November 15, 2019, 3:16pm
5
Alright Christian, thanks for the correction! Will test it later.