'\" t .\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "LENSFUN-ADD-ADAPTER" 1 "2013-12-23" "" .SH NAME lensfun-add-adapter \- add lens mount compatibilities to Lensfun's database .SH SYNOPSIS .nf \fBlensfun\-add\-adapter\fP \fBlensfun\-add\-adapter\fP [\fB\-\-maker\fP \fIMAKER\fP] [\fB\-\-model\fP \fIMODEL\fP] [\fB\-\-mount\fP \fIMOUNT\fP] \fBlensfun\-add\-adapter\fP \fB\-\-remove\-local\-mount\-config\fP .fi .sp .SH DESCRIPTION .sp 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. .sp 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 \fIall\fP lenses every time. This can be pretty overwhelming. .sp 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 \fBlensfun\-add\-adapter\fP\&. .sp The easiest way to use it is to call it with no parameters. \fBlensfun\-add\-adapter\fP will then enter an interactive mode. First you have to enter your camera model. \fBlensfun\-add\-adapter\fP 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\(aqs it. .sp With the options \fB\-\-maker\fP, \fB\-\-model\fP, and \fB\-\-mount\fP, you can avoid interactive mode by passing the nevcessary data explicitly. If you pass only maker/model or only mount, \fBlensfun\-add\-adapter\fP will enter interactive mode only for the missing data. .sp You can also use \fBlensfun\-add\-adapter\fP to reset your adapter configuration. Call it with the \fB\-\-help\fP paremeter to see all functions. .SH OPTIONS .INDENT 0.0 .TP .B \fB\-\-maker\fP \fIMAKER\fP \fB\-\-model\fP \fIMODEL\fP The exact maker and model of the camera the mount of which should be made compatible. You must provide these options only in combination rather than only one of them. .TP .B \fB\-\-mount\fP \fIMOUNT\fP The exact name of the mount of the lenses that should be made compatible. .TP .B \fB\-\-remove\-local\-mount\-config\fP Resets the local mount configuration, i.e. the additional mount compatibilities that were created by this program. Effectively, it removes the file \fB_mount.xml\fP from the local Lensfun database of the current user. .UNINDENT .SH FILES .INDENT 0.0 .TP .B \fB~/.local/share/lensfun/_mounts.xml\fP File with all mount compatibilities that were added by this program. .UNINDENT .SH DIAGNOSTICS .sp Exit status: .TS center; |l|l|. _ T{ 0 T} T{ successful T} _ T{ 1 T} T{ invalid command line arguments T} _ T{ 2 T} T{ invalid input in interactive mode T} _ .TE .SH REPORTING BUGS .sp Report bugs at <\fI\%http://sourceforge.net/p/lensfun/bugs/\fP>. .SH COPYRIGHT .sp Lensfun is Copyright © 2007 Andrew Zabolotny .sp License of the code: GNU Lesser General Public License, version 3 .sp License of the database: Creative Commons Attribution\-Share Alike 3.0 license .SH SEE ALSO .sp g\-lensfun\-update\-data(1), lensfun\-update\-data(1), lensfun\-convert\-lcp(1) .SH AUTHOR This manual page was written by Torsten Bronger .\" Generated by docutils manpage writer. .