lensfun: Declaring cameras: \<camera\>

lensfun 0.3.1.0

- Main Page
- Related Pages
- Modules
- Classes
- Files
- Examples

Declaring cameras: <camera>

Possible embedded elements:

<maker>string</maker>
  Camera maker. This must be specified exactly as it is specified in camera EXIF data to allow for automatic recognition of the camera. Upper and lower case doesn't matter, though.
<model>string</model>
  Camera model. This must be specified exactly as it is specified in camera EXIF data to allow for automatic recognition of the camera. Upper and lower case doesn't matter, though.
<variant>string</variant>
  Camera variant. Sometimes makers create several cameras without changing EXIF information. Unfortunately, camera variant cannot be automatically detected so this is a manual choice item. This field can also be used to deal with cameras with more than one aspect ratio. For every available aspect ratio, make a copy of the <camera> entry, entering the aspect ratio into the <variant> field (e.g. <variant>16:9</variant>). Of course, the crop factor may have to be adapted as well.
<mount>string</mount>
  Camera mount. There can be only one such element in camera declaration. If you want to specify that it is possible to use lenses with a different mount on this camera, use the <compat> element in mount declaration.
<cropfactor>number</cropfactor>
  Camera crop factor. This is the ratio between the standard film frame diagonal (36x24mm) and camera sensor diagonal. Be accurate here. For example, no APS-C camera really has crop factor 1.5.