# Offer of source: LibRaw 0.22.1

Cherry links to LibRaw dynamically, through the rawpy wheel, as a separate and
replaceable shared library, under the GNU Lesser General Public License
version 2.1 (the text is in `LICENSE.LibRaw` beside this file). The LibRaw
version bundled in this build is **0.22.1**, as reported by
`rawpy.libraw_version` in the build environment.

The complete corresponding source for that exact version is the upstream
LibRaw 0.22.1 release, unmodified. It is published by the LibRaw project at:

- https://www.libraw.org/data/LibRaw-0.22.1.tar.gz (the project's own download;
  1,682,411 bytes when checked on 2026-08-22)
- https://github.com/LibRaw/LibRaw/releases/tag/0.22.1 (the tagged release on
  GitHub; source archive at
  https://github.com/LibRaw/LibRaw/archive/refs/tags/0.22.1.tar.gz)

All three URLs were checked to resolve on 2026-08-22. Should they ever stop
resolving, the source for this version is available on request from the
Cherry team, for at least three years from the date of this distribution, at
no charge beyond the cost of physically performing the distribution.

Cherry does not modify LibRaw. The library shipped is the one built and
packaged by the rawpy maintainer in the rawpy 0.27.0 wheel, which excludes
the GPL-licensed demosaic packs; only the LGPL/CDDL-licensed LibRaw proper
is present.

Replacing the library: because it is a separate file in the installed
directory, a user may replace it with a compatible build of LibRaw of their
own, which is the relinking freedom LGPL-2.1 section 6 requires to remain
available.
