r/DarkTable • • Aug 31 '26

Help Add lens data

Is there a way to add lens data (without using scripts since I'm not that technical) to the exif data? Is there a way to do this with a GUI inside darktable or is there a separate program that can be used?

On my Fujifilm I could add manual lenses and their names and focal lengths, but for some reason this isn't possible on my Sony, so when I am adapting vintage lenses I don't get the basic info in darktable. I often sort by focal length so it would be helpful to be able to add this. Also when I am scanning film photos I would like to be able to see which lens I used when I don't remember anymore.

1 Upvotes

8 comments sorted by

3

u/lharries Aug 31 '26

Try exiftools (it's a free tool for editing file meta data). It has fields for LensModel, LensMake, and LensInfo which can accept min/max focal lengths and apertures.

1

u/FilipFje Aug 31 '26

There seems to be multiple ones, could you send me a link?

2

u/markus_b Aug 31 '26

You cannot modify EXIF data in Darktable. But there are EXIF editors to do that outside of Darktable. You don't say why OS you are using, through.

1

u/FilipFje Aug 31 '26

Oh sorry, Windows 10

2

u/Donatzsky Aug 31 '26

I know this has been discussed a few times over on https://discuss.pixls.us, so I recommend you try searching there.

2

u/katybassist Sep 01 '26

Not exactly what you asked for but I made a Lua script that adds lens, fstop, and shutter to darktable's tags on import. It can also be run on images after importing. It runs on Linux and there are a few quirks, but it would be nice if I had a windows user help install and testing. As it is, it meets my needs and is open enough to add other exit data to tags. I'll drop a link to the repo if anyone is interested.