Files
luminary/THIRD_PARTY_NOTICES.md
T
bhursey f7942d0bd0 Offer SCUNet and NLM alongside the guided denoise
The AI denoise panel now picks between three bases: the existing guided
filter, non-local means and a learned SCUNet model run through
onnxruntime-node on overlapping tiles. The base is part of the render key, so
each model keeps its own cached render and switching back is instant, and jobs
report stage and tile progress instead of a bare spinner.

onnxruntime-node is pinned to 1.23.0, the last release that ships both macOS
architectures, and every Docker and desktop install skips its CUDA download
because only the CPU binaries in the package are used. The SCUNet weights and
ONNX Runtime are added to the third-party notices, the deb copyright file and
the README's denoise, API and redistribution sections.
2026-12-01 04:03:53 +00:00

187 lines
8.9 KiB
Markdown

# Third-party notices
**Luminary** — notices resolved 23 November 2026.
This file consolidates the notices for third-party software that Luminary bundles,
links, or ships in its build output and container image. `public/lens-db/NOTICE.md`
remains the notice served with the Lensfun-derived calibration data; this file does not
replace it.
The Luminary application code is licensed under the [MIT licence](LICENSE). That licence
covers only Luminary's original code: it grants no rights in the components below and
does not replace their terms.
Versions are those resolved in `package-lock.json`; the lens database pin is
`655a9c4e3e53c25bc04843c853e7e7a0121359e7` (see `public/lens-db/NOTICE.md`).
## Runtime components
| Component | Version / pin | Licence | Notice |
| --- | --- | --- | --- |
| Lensfun camera/lens database (data only) | `655a9c4` | CC BY-SA 3.0 Unported | © Lensfun contributors — https://creativecommons.org/licenses/by-sa/3.0/ |
| LibRaw (compiled into `libraw-wasm`) | via `libraw-wasm` 1.6.0 | LGPL-2.1 **or** CDDL-1.0 | © LibRaw LLC — https://github.com/LibRaw/LibRaw |
| `libraw-wasm` | 1.6.0 | ISC | Copyright holder not stated by the package — https://github.com/ybouane/LibRaw-Wasm |
| `sharp` | 0.35.5 | Apache-2.0 | https://github.com/lovell/sharp |
| libvips (bundled in `sharp` binaries) | shipped by `sharp` 0.35.5 | LGPL-2.1-or-later | © libvips contributors — https://github.com/libvips/libvips |
| `exifr` | 7.1.3 | MIT | © 2020 Mike Kovařík, Mutiny.cz — https://github.com/MikeKovarik/exifr |
| `nodemailer` | 7.0.13 | MIT-0 | © 2011-2023 Andris Reinman — https://github.com/nodemailer/nodemailer |
| `onnxruntime-node` (ONNX Runtime native libraries) | 1.23.0 | MIT | © Microsoft Corporation — https://github.com/microsoft/onnxruntime |
| SCUNet colour-denoise weights (`server/denoise/scunet_color_25.onnx`) | `scunet_color_25` | Apache-2.0 | © Kai Zhang and SCUNet contributors — https://github.com/cszn/SCUNet; ONNX export https://github.com/Heliosoph/scunet-onnx |
| React / React DOM | 18.3.1 | MIT | © Facebook, Inc. and its affiliates — https://github.com/facebook/react |
`onnxruntime-node` is pulled in only by the optional SCUNet denoise base; the Guided and
NLM bases are plain TypeScript. Its install step is skipped in the Docker image and the
desktop bundles (`ONNXRUNTIME_NODE_INSTALL=skip`), so only the CPU runtime that ships in
the package is distributed. The SCUNet model is a converted export of the upstream
Apache-2.0 weights and keeps that licence; its `.onnx` file and the external `.onnx.data`
shard are one artefact and must travel together.
The lens database is a separate asset from Luminary's code: CC BY-SA 3.0 applies to
Lensfun's calibration data, not to the correction engine that reads it. Attribution and
share-alike requirements are summarised in the README under
[Third-party attribution and licences](README.md#third-party-attribution-and-licences).
## Build tooling
Not distributed as separate runtime components, but acknowledged because they build
the shipped bundle:
| Component | Version | Licence | Notice |
| --- | --- | --- | --- |
| Vite | 5.4.21 | MIT | © 2019-present, VoidZero Inc. and Vite contributors |
| Vitest | 2.1.9 | MIT | © 2021-Present Vitest Team |
| `@vitejs/plugin-react` | 4.7.0 | MIT | see the package's `LICENSE` |
| TypeScript | 5.9.3 | Apache-2.0 | © Microsoft Corporation |
| `@types/react` / `@types/react-dom` | 18.3.31 / 18.3.7 | MIT | DefinitelyTyped contributors |
## Documentation fonts
`public/luminary-user-guide.pdf` embeds subsets of Liberation Sans and DejaVu Sans
Mono. Liberation fonts are © Red Hat and licensed under the SIL Open Font License
1.1 (https://openfontlicense.org). DejaVu fonts are © DejaVu contributors and use the
Bitstream Vera/DejaVu licence (https://dejavu-fonts.github.io/License.html). Keep
those notices with the PDF if you redistribute it.
## Licence texts
### MIT
Applies to the Lensfun WASM wrapper, utf8proc, React, React DOM, exifr, Vite and
Vitest. The copyright notices for those components are the ones listed in the tables
above:
- Copyright (c) 2026 lex
- Copyright (c) Facebook, Inc. and its affiliates.
- Copyright (c) 2020 Mike Kovařík, Mutiny.cz
- Copyright (c) 2019-present, VoidZero Inc. and Vite contributors
- Copyright (c) 2021-Present Vitest Team
- Copyright (c) utf8proc contributors
```text
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
### MIT-0
Applies to `nodemailer`, whose licence omits the attribution condition:
```text
Copyright (c) 2011-2023 Andris Reinman
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```
### zlib
Applies to tinyxml2:
```text
Copyright (c) Lee Thomason
This software is provided 'as-is', without any express or implied warranty. In
no event will the authors be held liable for any damages arising from the use
of this software.
Permission is granted to anyone to use this software for any purpose, including
commercial applications, and to alter it and redistribute it freely, subject to
the following restrictions:
1. The origin of this software must not be misrepresented; you must not claim
that you wrote the original software. If you use this software in a product,
an acknowledgment in the product documentation would be appreciated but is
not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
```
### Apache-2.0
Applies to `sharp`, TypeScript and the SCUNet denoise weights. The full text is included
verbatim in [`licenses/Apache-2.0.txt`](licenses/Apache-2.0.txt), copied from the licence
that `sharp` ships.
### ISC
`libraw-wasm` declares `ISC` in its package metadata but ships neither a licence file
nor a copyright line. The canonical ISC text is at
https://opensource.org/license/isc-license-txt. Obtain the upstream copyright notice
from the project and include it before redistributing the binding.
### Copyleft and content licences not yet bundled
Full texts for these are **not** present in this repository yet. Canonical copies:
- LGPL-3.0: https://www.gnu.org/licenses/lgpl-3.0.txt (it incorporates the GPL-3.0,
https://www.gnu.org/licenses/gpl-3.0.txt)
- LGPL-2.1: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt
- CDDL-1.0: https://opensource.org/license/cddl-1-0
- CC BY-SA 3.0: https://creativecommons.org/licenses/by-sa/3.0/legalcode
Add them, together with the corresponding source for the LGPL components, before
distributing Luminary or its container image. The README's redistribution checklist
lists the files and sources involved.
## Container image
`node:24-bookworm-slim` bundles Node.js (MIT, plus bundled dependencies), Debian
packages under their own licences, and — through `sharp` — libvips. Publishing the
image is distribution: carry this file, the Lensfun notices, and the Node.js, Debian
and libvips notices with it.
## Trademarks
Lensfun, LibRaw, libvips, sharp, ONNX Runtime, SCUNet, Microsoft, React, Node.js,
Debian, Liberation and DejaVu are the marks of their respective owners. They are used only to identify the software
involved; Luminary is not affiliated with or endorsed by any of them.