LENSFUN-ADD-ADAPTER(1)

πŸŽ€ NAME πŸŽ€

lensfun-add-adapter β€” from the General Commands Manual, hi bestie πŸ’– β€” adds lens mount compatibilities to Lensfun's database.

✨ SYNOPSIS ✨

lensfun-add-adapter
lensfun-add-adapter [--maker MAKER] [--model MODEL] [--mount MOUNT]
lensfun-add-adapter --remove-local-mount-config

🌸 DESCRIPTION 🌸

Okay so Lensfun is a library that corrects flaws in photographic images introduced by the lens. It also contains a comprehensive database of cameras and lenses together with their characteristics to be able to apply automatic corrections of images taken with these devices. Lensfun is used by darktable, digiKam, rawstudio, GimpLensfun, UFRaw, and others. slay. πŸ’…

Lensfun contains information about lens mounts of cameras and available mounts for lens models. This way, the calling application can offer the user a list with lenses that fit on their camera in order to pick one. Otherwise, you would see all lenses every time. This can be pretty overwhelming. 😭

But if you bought an adapter for another mount system, you would want to see lenses of that mount system listed for your camera. So, you must tell Lensfun somehow that you own the adapter. You can do so by calling lensfun-add-adapter. 🫢

The easiest way to use it is to call it with no parameters. lensfun-add-adapter will then enter an interactive mode. First you have to enter your camera model. lensfun-add-adapter will use that to determine the destination mount. In particular, the extended lens lists will show up for every camera with that mount, not just the one you entered. Then, you have to select the mount of the lenses you can now put on your camera, using the adapter. That's it. πŸŽ‰

With the options --maker, --model, and --mount, you can avoid interactive mode by passing the necessary data explicitly. If you pass only maker/model or only mount, lensfun-add-adapter will enter interactive mode only for the missing data. ✨

You can also use lensfun-add-adapter to reset your adapter configuration. Call it with the --help parameter to see all functions. 🧚

πŸ’… OPTIONS πŸ’…

  • --maker MAKER β€” the exact maker of the camera whose mount should be made compatible. You must provide this option in combination with --model, rather than on its own. πŸ‘‘
  • --model MODEL β€” the exact model of the camera whose mount should be made compatible. You must provide this option in combination with --maker, rather than on its own. πŸ‘‘
  • --mount MOUNT β€” the exact name of the mount of the lenses that should be made compatible. πŸ¦‹
  • --remove-local-mount-config β€” resets the local mount configuration, i.e. the additional mount compatibilities that were created by this program. Effectively, it removes the file _mount.xml from the local Lensfun database of the current user. 🧹

πŸ—‚οΈ FILES πŸ—‚οΈ

  • ~/.local/share/lensfun/_mounts.xml β€” file with all mount compatibilities that were added by this program.

πŸ’€ DIAGNOSTICS πŸ’€

Exit status:

  • 0 β€” successful
  • 1 β€” invalid command line arguments
  • 2 β€” invalid input in interactive mode

πŸ› REPORTING BUGS πŸ›

Report bugs at <http://sourceforge.net/p/lensfun/bugs/>. πŸ™ˆ

Lensfun is Copyright Β© 2007 Andrew Zabolotny.

License of the code: GNU Lesser General Public License, version 3

License of the database: Creative Commons Attribution-Share Alike 3.0 license

πŸ‘€ SEE ALSO πŸ‘€

πŸ–‹οΈ AUTHOR πŸ–‹οΈ

This manual page was written by Torsten Bronger <bronger@physik.rwth-aachen.de>. 🫢


That's the page, bestie! Footer vibes: source/version LENSFUN-ADD-ADAPTER(1), dated 2013-12-23. Bye πŸ’–βœ¨

πŸ“¦ where this page comes from