mirror of
https://github.com/storytold/lightcraft.git
synced 2026-10-15 03:36:57 -04:00
A raw without colour matrices of its own now gets DNG ColorMatrix1/2 and ForwardMatrix1/2 for its model when the model is one of the 52 cameras in rawtoaces-data (Academy Software Foundation, Apache-2.0): 22 Canon, 11 Nikon, 11 Sony, 3 Fujifilm and 5 others, plus the other names its alias list gives (Rebel T3i and Kiss X5 for the EOS 600D; bodies it lists as sharing a sensor). tools/spectral_camera_table.py fits, under Standard Illuminant A and D65, a white-preserving 3x3 to the measured spectral sensitivities over rawtoaces-data's 190 training reflectances and writes crates/raw/src/spectral_table.rs. No number comes from Adobe or from a raw decoder. lightcraft_raw::spectral looks a camera up by Exif make and model; the DNG colour model does the rest. camera_preview::starting_colour takes the first available of: the file's own matrices, a camera profile for the model (fitted to the JPEG for tone), the spectral matrices, the file-local JPEG fit, the neutral fallback. A profiled model whose profile fit fails takes its spectral matrices. White balance stays relative to the as-shot look for every raw without matrices of its own, so Photo::relative_wb and the controls are unchanged; calibrate still pools covered models. Tests: one per precedence step (synthetic), the table's lookup, aliases and DNG shape, and a corpus test of the order on ILCE-7M4 (profile), EOS 5D Mark III and D5100 (spectral), EOS 7D (own fit) and a DNG. The ILCE-7RM2 and GFX100S corpus tests now expect the spectral matrices. Attribution in assets/ATTRIBUTION.md and NOTICE. RENDER_CACHE_VERSION 23. Co-Authored-By: Claude Opus 5.5 <[email protected]>
7.0 KiB
7.0 KiB
Asset attribution
Every asset shipped in this repository is listed here (see the asset rules in AGENTS.md). No asset may come from
Adobe products. Add an entry in the same commit as the asset.
cargo xtask assets (part of cargo xtask ci) fails if any image, icon, font, sound, video, raw file or colour profile
in the repository is not matched by a path pattern in the first column (* = any characters except /; a trailing /
covers a whole directory), or if a licence file referenced in the Licence column is missing.
| Path | Asset | Creator | Source | Licence | Added | Modifications |
|---|---|---|---|---|---|---|
assets/fonts/Inter-*.ttf (Regular, Medium, SemiBold) |
Inter | Rasmus Andersson | https://github.com/rsms/inter | SIL Open Font License 1.1 (assets/fonts/OFL-Inter.txt) |
2026-09-30 | none |
assets/app-icon/ (lightcraft.svg and the PNG/ICNS/ICO/SVG files derived from it) |
LightCraft app icon (lynx) | LightCraft project owner (drawn in ArtCraft) | original work (vectorised from the owner's drawing; see assets/app-icon/README.md) |
MIT OR Apache-2.0 (assets/app-icon/LICENSE.txt) |
2026-10-02 | vectorised to SVG; rendered to PNG/ICNS/ICO by packaging/icons.sh |
assets/camera-profiles/*.json |
Camera colour profiles (matrix + hue/saturation/value table), built into LightCraft | ILCE-7M4: Harald Hoyer | original work: fitted by lightcraft-cli calibrate to the contributor's own raw photos and their in-camera JPEGs (597 ILCE-7M4 photos, 2026); aggregate colour statistics only, no image content; no Adobe or third-party profile data |
MIT OR Apache-2.0 | 2026-10-07 | none |
packaging/macos/dmg/ (background.svg, the background.tiff rendered from it by generate.py, and the dmg-layout.DS_Store layout file) |
LightCraft macOS DMG window background | @XusBadia | original work for this repository, derived from the LightCraft app icon (assets/app-icon/lightcraft.svg, referenced via <image>, not copied); text is outlined Inter / JetBrains Mono glyph paths |
MIT OR Apache-2.0 | 2026-10-08 | none (original); used for the Finder window of the macOS DMG, packaging/macos/dmg/generate.py renders it to background.tiff |
assets/camera-profiles/X-H2S.json, assets/camera-profiles/X-T4.json |
Fujifilm camera colour profiles (matrix + hue/saturation/value table), built into LightCraft | LightCraft contributors; source photographs supplied by Sebastian Pfluegelmeier | original work: fitted by lightcraft-cli calibrate to 201 X-H2S and 545 X-T4 RAFs and their in-camera JPEGs; aggregate colour statistics only, no image content; no Adobe or third-party profile data |
MIT OR Apache-2.0 | 2026-10-08 | none |
crates/raw/src/spectral_table.rs |
Camera colour matrices (DNG ColorMatrix1/2 and ForwardMatrix1/2 for Standard Illuminant A and D65) for 52 camera models, and the model alias list | Derived by LightCraft contributors from rawtoaces-data (Academy Software Foundation): camera spectral sensitivities measured by Weta Digital (44 cameras), scitech (7) and Jonathon Irons at the National Physical Laboratory (Nikon D5100); training reflectances; CIE 1931 colour-matching functions (CIE, CC-BY-4.0, as shipped in rawtoaces-data) | https://github.com/AcademySoftwareFoundation/rawtoaces-data, tag v1.1.0, commit 5cfa53707b053594b2d0d48e8019fb56e6582d6c | Apache-2.0 (LICENSE-APACHE); the colour-matching functions CC-BY-4.0 |
2026-10-08 | generated by tools/spectral_camera_table.py: a 3×3 matrix per illuminant fitted to the spectral data (no measurement copied verbatim); aliases copied from data/aliases.json; no Adobe or third-party camera matrix |
crates/scenes/ (generated images) |
Procedural demo photographs | LightCraft contributors | original work (generated at runtime, no source imagery) | MIT OR Apache-2.0 | 2026-09-30 | n/a |
crates/ui-egui/src/icons.rs |
UI icons drawn as vector paths in code | LightCraft contributors | original work | MIT OR Apache-2.0 | 2026-09-30 | n/a |
docs/images/*-tetons.jpg, docs/images/grid-pd.jpg (screenshots containing it) |
"The Tetons and the Snake River" | Ansel Adams (1942), U.S. National Archives | https://commons.wikimedia.org/wiki/File:Adams_The_Tetons_and_the_Snake_River.jpg | Public domain (U.S. federal government work) | 2026-09-30 | developed in LightCraft; shown inside app screenshots |
docs/images/*-migrant-mother.jpg, docs/images/grid-pd.jpg |
"Migrant Mother" | Dorothea Lange (1936), Farm Security Administration / Library of Congress | https://commons.wikimedia.org/wiki/File:Lange-MigrantMother02.jpg | Public domain (U.S. federal government work) | 2026-09-30 | developed in LightCraft; shown inside app screenshots |
docs/images/*-earthrise.jpg, docs/images/grid-pd.jpg |
"Earthrise" (AS08-14-2383) | NASA / Bill Anders, Apollo 8 (1968) | https://commons.wikimedia.org/wiki/File:NASA-Apollo8-Dec24-Earthrise.jpg | Public domain (NASA) | 2026-09-30 | developed in LightCraft; shown inside app screenshots |
docs/images/*-blue-marble.jpg, docs/images/grid-pd.jpg |
"The Blue Marble" (AS17-148-22727) | NASA, Apollo 17 crew (1972) | https://commons.wikimedia.org/wiki/File:The_Earth_seen_from_Apollo_17.jpg | Public domain (NASA) | 2026-09-30 | developed in LightCraft; shown inside app screenshots |
docs/images/*.jpg (UI) |
LightCraft application screenshots | LightCraft contributors | original work (captured with docs/showcase/) |
MIT OR Apache-2.0 | 2026-09-30 | n/a |
docs/brand/ (artcraft-logo and artcraft-mark, SVG and PNG) |
ArtCraft wordmark and mark | ArtCraft Team | original work (https://getartcraft.com/) | ArtCraft trademark, see docs/brand/LICENSE-brand.txt (not open source) |
2026-10-01 | none |
| craft-fonts: optional build input, not files in this repository | BIZ UDPGothic (Regular, Bold), BIZ UDMincho Regular, Shippori Mincho Regular, Noto Sans CJK SC Regular | Morisawa Inc. / The BIZ UDGothic and BIZ UDMincho Project Authors; The Shippori Mincho Project Authors; Google and Adobe (Noto Sans CJK, maintainer-approved exception; see AGENTS.md) (per craft-fonts' attribution) | https://github.com/storytold/craft-fonts/blob/main/ATTRIBUTION.md | SIL Open Font License 1.1 (each font's OFL.txt in craft-fonts; release packages ship it as OFL-.txt) | 2026-10-06 | none; native builds made with CRAFT_FONTS_DIR embed the manifest fonts (all official releases); the web build embeds BIZ UDPGothic Regular and ships Noto Sans CJK SC Regular as a separate font file |
Notes
- Fonts authored or published by Adobe (Source Sans/Serif/Code, Source Han, …) are not used, even though some are OFL-licensed: the asset rule excludes anything from Adobe. Source Sans 3 was removed on 2026-09-30 and replaced by Inter.
- CJK fonts (BIZ UDPGothic, BIZ UDMincho, Shippori Mincho, Noto Sans CJK SC) are not in this repository. They live in
storytold/craft-fonts, with their licences and attribution in its
ATTRIBUTION.md, and are embedded only in builds made with the optionalCRAFT_FONTS_DIRbuild input (all official releases). Never commit font files here; add new fonts to craft-fonts (craftrulesstandards/fonts.md).