On Sat, Sep 19, 2020, at 05:38, Dakin White wrote: > > Let me see if I have the issue with the lens correct. > So I have the exiv2 lens name and the lensfun name not matching. if > they match then programs like darktable would show the correct lens name > instead of ID 173?
Lensfun doesn't get involved until/unless the lens correction module is activated, at which point darktable has already set its own lens name value from whatever exiv2 gave it. This is the string that is passed to Lensfun for matching (which is fuzzy enough to deal with minor differences in punctuation and formatting). So the fact that darktable is getting an untranslated lens ID from exiv2, for whatever reason, has nothing to do with Lensfun. If you read the information linked to previously, you have some idea of the headaches involved for the exiv2 maintainers re: mapping lens IDs to names. That said, if the exiv2 tool is showing a proper lens name *somewhere* in its output, then it's possible that darktable could improve its use of the API to make sure it gets the best name string available. If you create a feature request issue for this on the darktable github tracker, it would be good to include a file which demonstrates that condition (the name being available, but not used by darktable). > I have created an .exiv2 file in my home directory but this doesn't > appear to do anything. It matches 173 to the lensfun lensname. Odd, that should work, if exiv2 knows the lens ID (for exiv2 v0.26 and later). > I've even tried altering the lensfun database name to match the exiv2 > one but only get ID 173 displayed in the exif data in darktable. For that workaround, you would need to actually change the model name to whatever darktable is displaying in the image info module... "173" in this case. It's not a pretty hack, but should make the matching magic happen. Just remember to discard the change if/when the problem gets fixed upstream. > Now I can manually assign the lens correctly, but making a panorama from > multiple images means each image needs to be treated separately. It'd > be nice to get it working as it did with another camera and lens I owned. Well, that's one case where you should be ok just doing a copy/paste from one image to all the others, assuming that all use the same lens at the same focal length (and aperture, if vignetting correction is involved)... for whatever that's worth. -- jys ____________________________________________________________________________ darktable user mailing list to unsubscribe send a mail to [email protected]
