Description
Is your feature request related to a problem? Please describe.
Without wanting to cross-post, I'm including the link to the related discussion on pixls.us.
The issue I'm facing is that lens information can't be added in darktable. This is a problem in all cases, where this piece of information is not inserted in the EXIF by the camera, so all manual lenses are automatically excluded. While I understand that I could, in principle, add this as a standard tag, that approach has several drawbacks. First, having f-numbers or focal lengths in tags is not standard practice. Second, lighttable
allows for filtering on all kinds of lens metadata, but only, if it comes from the EXIF, so using tags will just not cut it.
Describe the solution you'd like
One suggestion on the above-mentioned thread was to modify the EXIF data via exiftool
, but the poster also pointed out that that might corrupt the file. This is why I'd like to propose a solution, where such data could be added to the sidecar file, and could be retrieved from there, if a particular field is missing from the raw file. This approach would leave the raw file alone, and would simply be a logical extension of what is already there, namely, the sidecar already contains tags and other metadata, e.g., copyright note, title, comments and the like.
Since the sidecar file could be written to by means of an appropriate lua
script, the only thing missing from the executable is the option to read and make use of such metadata, if the EXIF is incomplete. I don't know how much effort this would require, but I'd like to explore the idea in this issue.
Alternatives
A possible alternative is writing into the raw file and modifying its EXIF fields through exiftool
.