lightcraft/xtask/src
Brandon Thomas 33a84b8427 Issue #148: Raw: read white balance, black level and crop of pre-2017 Sony ARWs
Sony bodies from before ~2017 (RX100–RX100M5, RX10, NEX, SLT, ILCE-6000,
A7/A7II/A7RII, ...) write no plain 0x7313/0x7310/0x74c7 tags in the raw IFD,
so the decoder used unit WB multipliers (strong green cast, e.g. the CC0
DSC-RX100M3 sample), black 512 (800 on 1-inch sensors), and kept padding
columns at the right edge.

- White balance: WB_RGBLevels from the maker note's enciphered Tag2010
  block (layouts per ExifTool's Tag2010a..i tables; byte substitution
  p^3 mod 249 checked black-box on 15 CC0 files: SonyISO matches Exif ISO,
  ILCE-7M3 levels match its plain 0x7313).
- Black level: recovered from the encrypted SR2SubIFD by known-plaintext
  analysis (constant key in every file; RX100M6/ILCE-7M3 plain 0x7310 as
  plaintext; 8 keystream bytes at offset 2510, plausibility-checked).
- Crop: DNG DefaultCrop or the maker note's FullImageSize.
- "12-bit uncompressed" ARWs hold 14-bit-scale data: black/white follow it.
- Render cache version bumped; corpus manifest + corpus test, unit tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-06 15:27:33 -04:00
..
assets.rs M0.1: enforce the asset rule in CI (cargo xtask assets); replace Adobe-published Source Sans 3 with Inter 2026-09-30 23:52:33 -04:00
bench.rs M5.7: cargo xtask bench — render benchmark history + CPU-time regression check 2026-10-01 09:25:13 -04:00
ico.rs app icon: lynx (owner's ArtCraft drawing), Dock/taskbar/launcher wiring, palette docs 2026-10-02 09:37:06 -04:00
layers.rs Never crash: move the one unsafe FFI call into crates/sysmem 2026-10-05 02:06:08 -04:00
main.rs Issue #148: Raw: read white balance, black level and crop of pre-2017 Sony ARWs 2026-10-06 15:27:33 -04:00
parity.rs ROADMAP: parity estimate by feature count and by effort; xtask parity prints weighted completion 2026-10-02 07:43:35 -04:00
stats.rs M0.1/M0.2: workspace, xtask (layers/wasm/ci/stats), geom, color, raster 2026-09-30 10:04:12 -04:00
version.rs KEY-SLIDER-NUDGE + KEY-FLAGADVANCE: slider nudges, ⇧Z pick and advance, Missing Photos source 2026-10-02 16:27:35 -04:00
web.rs M0.14: web bundle size — fat LTO, size-optimized glue, precompressed output 2026-10-01 09:02:15 -04:00