1LENSFUN-ADD-ADAPTER(1) LENSFUN-ADD-ADAPTER(1)
2
3
4
6 lensfun-add-adapter - add lens mount compatibilities to Lensfun's data‐
7 base
8
10 lensfun-add-adapter
11 lensfun-add-adapter [--maker MAKER] [--model MODEL] [--mount MOUNT]
12 lensfun-add-adapter --remove-local-mount-config
13
14
16 Lensfun is a library that corrects flaws in photographic images intro‐
17 duced by the lens. It also contains a comprehensive database of cam‐
18 eras and lenses together with their characteristics to be able to apply
19 automatic corrections of images taken with these devices. Lensfun is
20 used by darktable, digiKam, rawstudio, GimpLensfun, UFRaw, and others.
21
22 Lensfun contains information about lens mounts of cameras and available
23 mounts for lens models. This way, the calling application can offer
24 the user a list with lenses that fit on their camera in order to pick
25 one. Otherwise, you would see all lenses every time. This can be
26 pretty overwhelming.
27
28 But if you bought an adapter for another mount system, you would want
29 to see lenses of that mount system listed for your camera. So, you
30 must tell Lensfun somehow that you own the adapter. You can do so by
31 calling lensfun-add-adapter.
32
33 The easiest way to use it is to call it with no parameters. lens‐
34 fun-add-adapter will then enter an interactive mode. First you have to
35 enter your camera model. lensfun-add-adapter will use that to deter‐
36 mine the destination mount. In particular, the extended lens lists
37 will show up for every camera with that mount, not just the one you en‐
38 tered. Then, you have to select the mount of the lenses you can now
39 put on your camera, using the adapter. That's it.
40
41 With the options --maker, --model, and --mount, you can avoid interac‐
42 tive mode by passing the nevcessary data explicitly. If you pass only
43 maker/model or only mount, lensfun-add-adapter will enter interactive
44 mode only for the missing data.
45
46 You can also use lensfun-add-adapter to reset your adapter configura‐
47 tion. Call it with the --help paremeter to see all functions.
48
50 --maker MAKER --model MODEL
51 The exact maker and model of the camera the mount of which
52 should be made compatible. You must provide these options only
53 in combination rather than only one of them.
54
55 --mount MOUNT
56 The exact name of the mount of the lenses that should be made
57 compatible.
58
59 --remove-local-mount-config
60 Resets the local mount configuration, i.e. the additional mount
61 compatibilities that were created by this program. Effectively,
62 it removes the file _mount.xml from the local Lensfun database
63 of the current user.
64
66 ~/.local/share/lensfun/_mounts.xml
67 File with all mount compatibilities that were added by this pro‐
68 gram.
69
71 Exit status:
72
73 ┌──┬────────────────────────────┐
74 │0 │ successful │
75 ├──┼────────────────────────────┤
76 │1 │ invalid command line argu‐ │
77 │ │ ments │
78 ├──┼────────────────────────────┤
79 │2 │ invalid input in interac‐ │
80 │ │ tive mode │
81 └──┴────────────────────────────┘
82
84 Report bugs at <http://sourceforge.net/p/lensfun/bugs/>.
85
87 Lensfun is Copyright © 2007 Andrew Zabolotny
88
89 License of the code: GNU Lesser General Public License, version 3
90
91 License of the database: Creative Commons Attribution-Share Alike 3.0
92 license
93
95 lensfun-update-data(1)
96
98 This manual page was written by Torsten Bronger <bronger@physik.rwth-
99 aachen.de>
100
101
102
103
104 2013-12-23 LENSFUN-ADD-ADAPTER(1)