Decode assembled Kitty payloads into RGBA bitmaps, bounded and safe. Priority: P1 | Area: rich | Labels: feat,area:rich,P1 | Milestone: v0.1.0 | Task: CTX-0247 ## Scope `crates/bitty-rich/src/kitty_decode.rs` (new) + `lib.rs` wiring + `png = 0.18` edge. Intake (`kitty.rs`), present/render (CTX-0248), and parser/APC wiring untouched. ## Acceptance - [x] f=100 PNG, f=24 RGB, f=32 RGBA decode to RGBA8 + (w,h); others fail closed - [x] Bounds before allocation (8192/side, 4096^2 px area, 64 MiB RGBA) - [x] Malformed input fails closed, no panic; truncation + garbage fuzz-shape tests - [x] Deterministic (same bytes -> same bitmap) - [x] Decoder-crate justification documented (minimal `png` over `image`; zero new supply-chain surface) Implements CTX-0247 under epic CTX-0246.
Activity