- LJ92 (T.81 process 14) decoder + Annex K encoder: predictors 1-7, 1-4 components, 2-16 bit, point transform, restart intervals - DNG: uncompressed (packed 1-16 bit, 16/24/32-bit float), LJ92 tiles/ strips, Deflate with predictors 2/3/34892-34895; CFA + LinearRaw; linearization, BlackLevelRepeatDim/Delta, WhiteLevel, ActiveArea, DefaultCrop; colour tags; OpcodeList1-3 parse/write/apply - DNG writer (uncompressed / LJ92 tiles) for export and round trips - demosaic: bilinear, PPG, AHD (Hirakawa-Parks), X-Trans directional - highlight clip/reconstruct; DNG colour model with dual illuminant, forward matrices, as-shot neutral -> xy, Rec.2020 transform - embedded preview extraction; malformed-input proptests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .cargo | ||
| assets/fonts | ||
| crates | ||
| xtask | ||
| .gitignore | ||
| AGENTS.md | ||
| CLAUDE.md | ||
| Cargo.lock | ||
| Cargo.toml | ||
| NOTICE | ||
| README.md | ||
| rustfmt.toml | ||
README.md
LightCraft
A fast, beautiful, open-source photo library and non-destructive raw developer — a clean-room, pure-Rust alternative to Adobe Lightroom. Runs on macOS, Windows, Linux and the web (WASM).
- Engine-first Cargo workspace; the egui UI is one swappable crate.
- Everything is a command: every menu item, slider, brush stroke and crop drag is drivable over a JSON control channel and an MCP server, so agents can cull, develop and export.
- Scene-referred, wide-gamut float pipeline; own RAW decoders; local-first catalog.
cargo run --release -p lightcraft # desktop app
cargo run --release -p lightcraft -- --control 7980 # with the automation channel
cargo run -p lightcraft-cli -- mcp # MCP server (stdio)
cargo xtask ci # fmt, clippy, tests, layering, wasm
Licence: MIT OR Apache-2.0. By the artcraft team.