flashraw-gpu 0.1.1

Optional wgpu/WebGPU compute backend for FlashRaw (Vulkan, Metal, DX12, WebGPU). Use the `flashraw` crate with its `gpu` feature instead.
Documentation

flashraw-gpu

FlashRaw 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 (it decodes your file locally in the browser) · Source on GitHub · Follow @ybouane on X

The optional wgpu compute backend of FlashRaw: the post-decode pipeline (unpack, normalise, demosaic, colour conversion, encode) as WGSL compute shaders for Vulkan, Metal, DX12 and WebGPU. The WGSL sources are in shaders/ inside this crate.

Do not depend on this crate directly: enable the gpu feature of flashraw and select Backend::Gpu or Backend::Auto. It has no semver guarantee of its own. Output is within rounding of the CPU path, not bit-identical. See docs/gpu.md.

Built with FlashRaw

  • LightFlow: professional photo correction and colour grading, running locally in your browser with WebGPU.
  • ImageFlow: a Photoshop-class image editor in your browser.

Official website: flashraw.ybouane.com · Created by @ybouane · Licence: MIT OR Apache-2.0