AfterAPro
Copyright (C) 2026 Castagnier Mickael

AfterAPro is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version. The full text is in LICENSE.

AfterAPro is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.

Each source file carries the line
SPDX-License-Identifier: GPL-3.0-or-later.

The complete corresponding source of each release, AfterAPro and
nilorea-library at the commits it was built from, is published at
https://git.nilorea.net/AfterAPro.


Trademarks
----------

AfterAPro's workflow is inspired by Corel AfterShot Pro. AfterAPro is not
affiliated with, endorsed by or sponsored by Corel Corporation or Alludo.
AfterShot is a trademark of its owner.


Code ported from other programs
-------------------------------

These are ported to C from GNU GPL programs, which is why AfterAPro is under
the GPL version 3 (DECISIONS.md D204). Each file names its origin and
copyright holders in its header.

  src/pipe/st_demosaic_amaze.c
      AMaZE demosaicing, Copyright (c) 2008-2010 Emil Martinec, optimized
      by Ingo Weyrich; ported from darktable (Copyright (C) 2011-2024
      darktable developers, GPL-3.0-or-later), itself from RawTherapee.

  src/pipe/st_demosaic_rcd.c
      RCD demosaicing, Copyright (c) 2017-2020 Luis Sanz Rodriguez and Ingo
      Weyrich; ported from RawTherapee (GPL-3.0-or-later).

  src/pipe/st_hlrebuild.c
      Inpaint opposed highlight reconstruction, from darktable (Copyright
      (C) 2022-2026 darktable developers); colour propagation from
      RawTherapee's hilite_recon, Copyright (c) 2011 Emil Martinec,
      optimized by Ingo Weyrich. Both GPL-3.0-or-later.


Libraries compiled in
---------------------

  nilorea-library, Copyright (c) 2005-2026 Castagnier Mickael, Apache
  License 2.0, with its own NOTICE. It is shipped in the source release
  under nilorea-library/.

  cJSON, Copyright (c) 2009-2017 Dave Gamble and cJSON contributors, MIT.

  LibRaw (external/LibRaw), Copyright (C) 2008-2025 LibRaw LLC, used under
  the GNU Lesser General Public License version 2.1. LibRaw is also offered
  under the CDDL 1.0; that option is not taken here. Its COPYRIGHT file
  lists the code it contains under other terms (dcraw, DCB, FBDD, X3F, DNG
  SDK pieces).

The full text of every third party licence, including those of the
libraries a package bundles, is in THIRD_PARTY_LICENSES.


Adobe DNG
---------

This product includes DNG technology under license by Adobe.


Data shipped with the program
-----------------------------

  data/dcp and data/icc
      Camera profiles from RawTherapee, public domain, RawTherapee CC0, or
      untagged and then under RawTherapee's GPL 3.0. Each file's terms are
      in the README.txt of its folder.

  data/cameras
      Colour matrices (numbers) as published by Adobe, taken from dnglab's
      table, as LibRaw's own table carries them.

  data/fonts
      DejaVu fonts, Bitstream Vera licence and public domain changes; the
      texts are in data/fonts/LICENSES.

The models the program can use are not shipped: each is fetched by the user,
when they ask, from where it is published, and runs on their computer.


Packaging adapted from Sketchr and Fissure
------------------------------------------

packaging/linux/bundle-libs.sh, packaging/linux/appimage-excludelist.txt,
packaging/linux/Dockerfile, packaging/linux/docker-build.sh and the
packaging targets of the Makefile are adapted from Sketchr and Fissure, two
programs by the same author that are not published under a free licence. Castagnier Mickael, who
holds their copyright, licenses those adapted parts, as they appear in
AfterAPro, under the GNU General Public License version 3 or later, as part
of AfterAPro.
