flashraw-cli 0.1.1

The flashraw command-line tool: inspect, decode, convert and benchmark camera RAW files
# flashraw-cli

<!-- flashraw-intro -->
<p align="center"><a href="https://flashraw.ybouane.com"><img src="https://raw.githubusercontent.com/ybouane/flashraw/main/branding/readme-banner.png" alt="FlashRaw: the fast, safe camera RAW decoder" width="100%"></a></p>

**[FlashRaw](https://flashraw.ybouane.com)** is a fast, memory-safe camera RAW decoder written in Rust, with Rust, C, C++, Python and JavaScript (WebAssembly) bindings. It decodes about 40 RAW formats (CR2, CR3, NEF, ARW, RAF, DNG, RW2, ORF, PEF and more) with SIMD kernels, multithreading and an optional GPU backend, converts to display-ready RGB with ICC colour management, and runs in the browser.

**Official website and live demo: [flashraw.ybouane.com](https://flashraw.ybouane.com)** (it decodes your file locally in the browser) · [Source on GitHub](https://github.com/ybouane/flashraw) · Follow [@ybouane on X](https://x.com/ybouane)
<!-- /flashraw-intro -->

The `flashraw` command-line tool of [FlashRaw](https://github.com/ybouane/flashraw): inspect, decode,
convert and benchmark camera RAW files.

```sh
cargo install flashraw-cli                       # CPU only
cargo install flashraw-cli --features gpu,jpegxl # + GPU backend and JPEG XL DNG
```

The default build has neither the `gpu` nor the `jpegxl` feature: `--backend gpu` and JPEG XL
compressed DNG need the second command.

```sh
flashraw info photo.CR3                          # metadata summary (--json for scripts)
flashraw preview photo.CR3 preview.jpg           # embedded JPEG, no sensor decode
flashraw decode photo.CR3 out.tif --output rgb16 # develop to a 16-bit TIFF
flashraw supported                               # formats and the status of each mode
flashraw --help                                  # every command and option
```

Full reference: [README](https://github.com/ybouane/flashraw/blob/main/README.md#cli) and [docs/packages.md](https://github.com/ybouane/flashraw/blob/main/docs/packages.md).
Licence: MIT OR Apache-2.0.

<!-- flashraw-outro -->
## Built with FlashRaw

- **[LightFlow]https://lightflow.dev**: professional photo correction and colour grading, running locally in your browser with WebGPU.
- **[ImageFlow]https://imageflow.dev**: a Photoshop-class image editor in your browser.

Official website: **[flashraw.ybouane.com](https://flashraw.ybouane.com)** · Created by [@ybouane](https://x.com/ybouane) · Licence: MIT OR Apache-2.0
<!-- /flashraw-outro -->