Project

General

Profile

WatermarkPlugIn

Variables

This is the list of variables that darktable expands in watermarks and example values:

  • $(DARKTABLE.NAME) -- darktable
  • $(DARKTABLE.VERSION) -- 2.0.4
  • $(WATERMARK_TEXT) -- see the usermanual
  • $(WATERMARK_FONT_FAMILY) -- see the usermanual
  • $(WATERMARK_FONT_STYLE) -- see the usermanual
  • $(WATERMARK_FONT_WEIGHT) -- see the usermanual
  • $(WATERMARK_COLOR) -- see the usermanual
  • $(IMAGE.ID) -- 1234
  • $(IMAGE.EXIF) -- a string with exposure time, aperture, focal length and ISO
  • $(EXIF.DATE) -- the complete date/time string in the standard Unix format
  • $(EXIF.DATE.SECOND) -- 00..60
  • $(EXIF.DATE.MINUTE) -- 00..59
  • $(EXIF.DATE.HOUR) -- 00..23
  • $(EXIF.DATE.HOUR_AMPM) -- 01..12
  • $(EXIF.DATE.DAY) -- 01..31
  • $(EXIF.DATE.MONTH) -- 01..12
  • $(EXIF.DATE.SHORT_MONTH) -- Jan, Feb, ... , Dec, localized
  • $(EXIF.DATE.LONG_MONTH) -- January, February, ..., December, localized
  • $(EXIF.DATE.SHORT_YEAR) -- 13
  • $(EXIF.DATE.LONG_YEAR) -- 2013
  • $(DATE) --_current date_
  • $(DATE.SECOND) -- 00..60
  • $(DATE.MINUTE) -- 00..59
  • $(DATE.HOUR) -- 00..23
  • $(DATE.HOUR_AMPM) -- 01..12
  • $(DATE.DAY) -- 01..31
  • $(DATE.MONTH) -- 01..12
  • $(DATE.SHORT_MONTH) -- Jan, Feb, ... , Dec, localized
  • $(DATE.LONG_MONTH) -- January, February, ... , December, localized
  • $(DATE.SHORT_YEAR) -- 13
  • $(DATE.LONG_YEAR) -- 2013
  • $(EXIF.MAKER) -- camera maker
  • $(EXIF.MODEL) -- camera model
  • $(EXIF.LENS) -- lens name
  • $(IMAGE.FILENAME) -- original file name
  • $(IMAGE.BASENAME) -- original file name without file extension
  • $(Xmp.dc.creator) -- metadata as set in lighttable
  • $(Xmp.dc.publisher) -- metadata as set in lighttable
  • $(Xmp.dc.title) -- metadata as set in lighttable
  • $(Xmp.dc.description) -- metadata as set in lighttable
  • $(Xmp.dc.rights) -- metadata as set in lighttable
  • $(GPS.LATITUDE) -- N 51° 30.048'
  • $(GPS.LONGITUDE) -- W 000° 08.553'
  • $(GPS.ELEVATION) -- 42.23 m above sea level
  • $(GPS.LOCATION) -- N 51° 30.048', W 000° 08.553', 42.23 m above sea level

Note: some cameras write user-specified text at shoot time to exif field 0x9286 a.k.a. 37510 or "User Comment" ("Exif.Photo.UserComment" as per exif2). At image import time, darktable copies content from that field to Xmp.dc.description, so use $(Xmp.dc.description) in your watermark text (svg or text input box) to render that text in the watermark.

Also available in: PDF HTML TXT