flashraw
Fast, safe camera RAW decoding in Rust: DNG, CR2, CR3, NEF, ARW, RAF, RW2, ORF, PEF and more, with
bounds-checked parsing, configurable Limits for untrusted files, multithreaded CPU decoding, an
optional GPU backend and the same API compiled to WebAssembly, Python and C.
[]
= "0.1"
use ;
Of the 2,016 files in the raw.pixls.us corpus, 1,980 decode (98.2%); the other 36 are valid files in formats that are not supported yet (28 Nikon High Efficiency NEF, Light L16, Casio CAM, JPEG-in-DNG), see docs/formats.md.
- API documentation: https://docs.rs/flashraw (feature table on the crate page)
- Guide, benchmarks, CLI, Python, JavaScript and C bindings: README, docs/packages.md
- MSRV 1.85. Licence: MIT OR Apache-2.0.