Lensfun lens-correction database
================================

The files named `lensfun-*.xml` in this folder are the calibration database of
the Lensfun project — https://lensfun.github.io/ — redistributed unchanged
except for the `lensfun-` prefix added to each file name (see README.md for the
exact command that produced them).

The Lensfun DATABASE (the XML files) is licensed under the

    Creative Commons Attribution-ShareAlike 3.0 Unported licence
    (CC BY-SA 3.0) — https://creativecommons.org/licenses/by-sa/3.0/

Copyright (C) the Lensfun project and its many contributors: every profile in
these files was measured and submitted by a photographer who then gave it away.

What this means for us, in plain words:

  • ATTRIBUTION. Lensfun has to be credited wherever the correction is used.
    This file ships inside the application bundle and the "Lens Corrections"
    section of the Camera Raw editor names Lensfun in its row; that is the
    attribution.
  • SHARE-ALIKE. If these XML files are MODIFIED and redistributed, the
    modified files must go out under CC BY-SA 3.0 as well. We therefore do not
    edit them: a new or corrected profile belongs upstream
    (https://github.com/lensfun/lensfun/issues), not in a private fork.
  • The share-alike applies to the DATABASE, not to the application that reads
    it: the code in `SkiaRaw/IBLensDatabase.*` is ours and is not a derivative
    work of the data.

The Lensfun LIBRARY (LGPL-3.0) is NOT used here and no part of it is
distributed: `IBLensDatabase.cpp` is an independent reader and an independent
implementation of the published distortion / TCA / vignetting models.
