mirror of
https://github.com/storytold/lightcraft.git
synced 2026-12-02 20:19:40 -05:00
* CRW-LIB: decode Canon CRW through the shared craft-crw crate LightCraft decodes Canon CRW (the CIFF raws of the EOS D30, D60, 10D, 300D and the PowerShot G1/G6) through craft-libs' `craft-crw`, the clean-room decoder derived and verified on the `clean-room-crw-format-decode` branch and moved there with its frozen tables and derivation record. `crates/raw/src/vendor/crw.rs` is now the adapter: it maps the crate's header and samples onto `RawImage` (CFA, levels, active area, orientation, as-shot white balance, the make/model/time records a CRW keeps instead of Exif) and converts the capture time through chrono. The dependency is a local path (`../craft-libs/crates/crw`) until the craft-libs branch merges; then it becomes a git revision. Everything LightCraft-side from that branch comes along unchanged: `probe_bytes` fills metadata gaps from the decoder's records so CRW imports name their camera; the EOS D60 bundled camera profile and its chart-measured dual-illuminant matrices (`chart_table.rs`, `spectral::Camera` carries its illuminant pair) give the D60 a Kelvin white-balance scale; CRW joins the JPEG-fitted starting look, the catalog's raw formats and `lightcraft-cli calibrate`; `RENDER_CACHE_VERSION` 71; the CC0 CRW corpus entries for `cargo xtask corpus`; coverage, parity, gaps, raw-parity, target-app-parity and ROADMAP updates. The G5 stays preview-only (the crate refuses it with the reason) and the robustness test keeps its CRW sample. What does not come along: the decoder, its tables and `crw_oracle.rs` (now craft-crw's digest-pinned sample test) and the derivation record, which lives in craft-libs `crates/crw/clean-room/`. `clean-room/crw/` here keeps only the EOS D60 chart-calibration document and its capture list, with a README pointing at the record. Gates: fmt, clippy -D warnings (raw all targets; engine, catalog, cli), lightcraft-raw tests (475 + 134, the corpus files decoding through the adapter), catalog tests, engine lib tests (1,300 pass; the two failures, `tests_import::recursive_discovery_…` and `originals::tests::write_targets_pin_absent_paths_…`, are in files unchanged from main), `cargo xtask parity`, `assets`, `layers`, `coverage.py --check`. Co-Authored-By: Claude Fable 5.1 <[email protected]> * no message * no message * Update documentation after moving code to craft-libs * Review coment fixes * CRW: pin craft-crw f3b62ec, a truncated entropy stream is Corrupt craft-libs #472 makes craft_crw::decode refuse a stream that ends more than Limits::max_stream_end_fill (64 samples, one block) before the frame does, instead of filling the rest with predictor values and returning success. The adapter already maps craft_crw::Error::Corrupt to RawError::Corrupt; a regression test proves a truncated CRW now fails at this boundary (it decoded as a flat frame on the old pin) while its header still reads. Only craft-crw moves; craft-ui/docpath/update/window stay on c5a1cbf. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Code review comment fix * Add some tests --------- Co-authored-by: Robert Woldberg <[email protected]> Co-authored-by: Claude Fable 5.1 <[email protected]>
3.9 KiB
3.9 KiB
| 1 | # EOS D60 ColorChecker Classic captures (maintainer, local only; never committed). Names, sizes, SHA-256; no image content. Generated 2026-10-25. | ||
|---|---|---|---|
| 2 | file | bytes | sha256 |
| 3 | SunlightColorCard/CRW_2666.CRW | 7791628 | 371d8e18c12801c72754dd7b277163a866afc422c8edf6ad1ea822009e4170f8 |
| 4 | SunlightColorCard/CRW_2667.CRW | 6638578 | 188d625c31ab44475a6cf54a5dae00fd861e26aafc90f4b5d18a1905c0a3cef5 |
| 5 | SunlightColorCard/CRW_2668.CRW | 6832770 | 1189b8dc79642c57a8c9496b5629e36a1741c545d2b0b864d6e6e20d901510c1 |
| 6 | SunlightColorCard/CRW_2669.CRW | 7079102 | baf1686b27a9e0a04bf87c0b6cf55168f398d85247f8115a0af69b5e9ea1884c |
| 7 | SunlightColorCard/CRW_2670.CRW | 7225298 | 067ba3f4d3026b8009cfe4babb5e4c3b28f988d95c48024a75c6715de32afccf |
| 8 | SunlightColorCard/CRW_2671.CRW | 7504700 | cf81cbb96389624318e890b5506221d49f5fba8e2d45447d87e0f3ff3e9bdc72 |
| 9 | SunlightColorCard/CRW_2672.CRW | 7830852 | 7a59446bfb1f00d6eabd0115b8e5451c34f5d3d48f483cb27608ce9508e43ee5 |
| 10 | SunlightColorCard/CRW_2673.CRW | 8053180 | feeb8f818325d6ddb4e88b5eabe4a74f4cb5e1da9f70135ae3f85938c86695dc |
| 11 | SunlightColorCard/CRW_2674.CRW | 8312060 | 45e7402c888582adadb607599eae80644d657d61c9607b426c411ee306e42daf |
| 12 | SunlightColorCard/CRW_2675.CRW | 8565950 | be28d2fa049aa4158ae9e3ec49dd28eb56fcd0ffa7af060235b8bda0d89dfd0a |
| 13 | SunlightColorCard/CRW_2676.CRW | 7795508 | 76f7418a82e45e1034b3adacacf4bc756cb65a0d683e5bb3631992784e654f93 |
| 14 | SunlightColorCard/CRW_2677.CRW | 7747450 | a5e7bc618e6b80ea70f9bad6a1bf41ee63eadbc51df28b82d0864a73434f7964 |
| 15 | SunlightColorCard/CRW_2678.CRW | 6815054 | 28824f0f64b087488d8dc5a66a8bdf717e83a4d4e1660676d07991bf32dffb96 |
| 16 | SunlightColorCard/CRW_2679.CRW | 7050606 | b5c915fa89542265deb4fa16da3ca7ffda01b1d961903836b0059d024316673a |
| 17 | SunlightColorCard/CRW_2680.CRW | 7231410 | a5780dfe99a2df2a3ed9de1888e91baa614b2e009a2b6e0a84d442b6bf1af9fd |
| 18 | SunlightColorCard/CRW_2681.CRW | 7438088 | eb4475919c2770f816d47787656ab7ecb5396f30d2c03628c3ab167ebbc47c65 |
| 19 | SunlightColorCard/CRW_2682.CRW | 7584262 | a6fe417b90ce41b03552963dee6b21e4f02b59a5c51148edc04af7224e8c59e9 |
| 20 | SunlightColorCard/CRW_2683.CRW | 7811474 | 5402ad40e2689d78ade083d8855ecced5caea9368b9d77ecc4a61a16dc55aa36 |
| 21 | SunlightColorCard/CRW_2684.CRW | 8043372 | bbef5da457c0b6d6c45c74a99f3e318e6c80a7d3a0ad5c7cb7e13d24205f64fa |
| 22 | SunlightColorCard/CRW_2685.CRW | 8242344 | 8d68d592a5c8933f0f35630114fe7017be808b007867beaf1a8d6d2bd1441f70 |
| 23 | SunlightColorCard/CRW_2686.CRW | 8462380 | 79f7db32b18a834d5408500185c65d316387d1440aa61e26a11be85883fcc382 |
| 24 | SunlightColorCard/CRW_2687.CRW | 7690732 | 0333d8d18390e77128f186239e6de71c0432ab6ee9669a71c210255e4d915d19 |
| 25 | TungstonColorChart/CRW_2688.CRW | 6269390 | d9c4334edfe3636a8a7e69f29c1d1e89f820b7b704697684d7996faee41f5d43 |
| 26 | TungstonColorChart/CRW_2689.CRW | 6001348 | 1e8b47645d76a71fd9fb4111c4dce805d6dcd41ac82e6b4ce52debbf71565455 |
| 27 | TungstonColorChart/CRW_2690.CRW | 6114056 | f63fe49a9ed13af33ddb8d8ed8d75de4e304a3bc2c1f1d4275ba7edbc4f459f3 |
| 28 | TungstonColorChart/CRW_2691.CRW | 6299730 | ad8a2844c00965fb6a12e8fc85a6e8bfbdf1924e6d1a68b55472701cb8ffa115 |
| 29 | TungstonColorChart/CRW_2696.CRW | 6169684 | 105ee515c94da78dedc1f8d777982c4a1e62781b160428524fbe922f62b3ef5c |
| 30 | TungstonColorChart/CRW_2697.CRW | 5565982 | 327eebf702185127feb8a5f4bfac5d7ebad5532f7417b302997b19b97d7ff4a8 |
| 31 | TungstonColorChart/CRW_2698.CRW | 5709092 | f0fca20f8dcd51046e53bebf9fb9f624677ee674ad739622cdb2578977669705 |
| 32 | TungstonColorChart/CRW_2699.CRW | 5873492 | 57724a1ff507cf4e78c80a34cd4e0b77eac397322228d32e5215fc3869853dd1 |
| 33 | TungstonColorChart/CRW_2700.CRW | 5988146 | 6c97ae2c72114034e2fbe6aed0ef97f475696e43b56ed62273eccbfbba4cbaa0 |
| 34 | TungstonColorChart/CRW_2701.CRW | 6202756 | c4032e46b753a718d8748e269a9da5d124891d07912542368ea867529143aa62 |
| 35 | TungstonColorChart/CRW_2702.CRW | 6409582 | 89b65c1c07e0685841046db85923b0bf80e747fed141ddf0335ba12dc75f3f3c |
| 36 | TungstonColorChart/CRW_2703.CRW | 6407270 | 50179d0a330c967a74d76bc8342eea1052689c5c544aa1a913769b241ac6f736 |
| 37 | TungstonColorChart/CRW_2704.CRW | 6483154 | 6bac4d8229a8d0fff1445d212ca63e53911dc7bda988743215009257b87787fa |
| 38 | TungstonColorChart/CRW_2705.CRW | 7170488 | 629f94131e7f598964d2635e3039a20c441563201c4f3cbf177d83ad6b061f78 |
| 39 | TungstonColorChart/CRW_2706.CRW | 6383026 | 67657e7a21f6fd8580012fccd2210afccf285e747bc4d39b8ea775811528ce83 |