Skip to content

LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust

NOTICE: credit PhotoCraft for the ported inpaint code; Cargo.lock version for lightcraft-inpaint

Andrew Frahne14207599852
diff --git a/Cargo.lock b/Cargo.lock
index 40a9988fc..8d5c23df1 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3293,7 +3293,7 @@ dependencies = [
[[package]]
name = "lightcraft-inpaint"
-version = "0.5.0"
+version = "0.6.0"
dependencies = [
"rayon",
]
diff --git a/NOTICE b/NOTICE
index 5fd60227f..45b08fd4e 100644
--- a/NOTICE
+++ b/NOTICE
@@ -22,6 +22,12 @@ Foundation project licensed under the Apache License 2.0, and from the CIE 1931
functions it ships (CIE, CC-BY-4.0). The matrices were fitted by the LightCraft contributors
(2026) with tools/spectral_camera_table.py. See assets/ATTRIBUTION.md.
+crates/inpaint (lightcraft-inpaint) ports the inpainting (PatchMatch completion) and Poisson membrane
+fill code of PhotoCraft (https://github.com/storytold/photocraft, crates/algo/src/inpaint.rs and
+poisson.rs), Copyright the PhotoCraft contributors, licensed under the MIT License or the Apache
+License 2.0, at your option. The port was modified by the LightCraft contributors (2026); each
+ported file says so.
+
crates/segment (lightcraft-segment) ports the SAM 3 model code of Hugging Face Transformers
(https://github.com/huggingface/transformers, src/transformers/models/sam3 and sam3_tracker),
Copyright The HuggingFace Team and Meta Platforms, Inc., licensed under the Apache License 2.0.