I posted this on Reddit last week and someone directed me to post it here. Attached is a DNG.
A little while ago worked with the Lens calibration people to create a lens profile for the DJI Mavic 3. When I use the lens profile with Affinity photo (imported the lensfun DB in), Affinity recognizes the Mavic 3 lens on DNG photos when I go to the develop workspace. When working in DarkTable, have also imported the lensfun DB in. Darktable for DNG images in the media info is correctly showing it as the below, but “lens” is empty. When try to do a “lens correction” it says “camera/lens” not found. Maker: Hasselblad
Model: L2D-20c DJI_0438.DNG (41.3 MB)
Seems like you’re using Mac or windows, which means affinity has its own lensfun db and so does darktable. Did you put your profile in darktable’s lensfun db?
Got at least the lens correction to work. I updated the camera and lens from the developer version at Lensfun. Make sure your lensdatabase version=“1” and not version 2 in the file actioncams.xml
I’ve gone ahead and in the database changed it from lensdatabase version=“2” to lensdatabase version=“1”.
That made it so now it shows some of the lens info, I had a firmware update for the photos I took today which I didn’t do, so maybe that will fix the last portion?
I use windows, so I don’t know about for OS X, but for affinity, the windows path is
“C:\ProgramData\Affinity\Photo\1.0\LensProfiles”
This doesn’t work. As I said, the update process on Windows is not trivial. Search the forum for lensfun on Windows related posts and tool by @ggbutcher
I wrote a library to allow my hack raw processor to update the lensfun database, and wrote a tiny command-line test program to shake it out. It’s that test program @kmilos is referring to, and a Windows executable can be found here:
You have to copy the .exe to a place where your PATH environment variable can find it. You have to run a command-line shell to run it. You have to run it in the directory in which you want the database to reside, so you need to know where your raw processor wants to find it.
I really intend for the code to be used in a raw processing program, so it can be accessed with menu selections, etc. But the little command line program can be useful…