RapidRAW is a rare example of a lightweight, cross-platform RAW image editor that uses GPU compute to handle real-time image processing. At under 20MB, it aims to provide an alternative to heavyweight commercial tools like Adobe Lightroom, but under the hood it’s doing the heavy lifting with WGPU/WGSL shaders running on your GPU. This approach allows it to deliver interactive framerates during complex RAW workflows including demosaicing, tone mapping, and AI-powered masking.
What rapidraw does and how it is built
RapidRAW is an open-source image editor focused on RAW photo processing with a non-destructive editing pipeline. It supports Windows (10+), macOS (Ventura+), Linux (Ubuntu 22.04+ or compatible), and Android. The project is built primarily with TypeScript for the frontend and Rust for the core processing engine.
The key architectural highlight is its use of WGPU, a cross-platform graphics and compute abstraction layer that supports Vulkan, Metal, DirectX12, and OpenGL backends. The image processing pipeline itself is implemented with WGSL shaders (WebGPU Shading Language), which run compute operations on the GPU.
This means tasks like demosaicing (converting RAW sensor data into full-color images), tone mapping, HDR merging, and applying non-destructive adjustment layers are all accelerated on the GPU. This is uncommon in open-source RAW editors, where CPU-bound pipelines are more typical.
Additional advanced features include AI-powered masking using depth estimation and subject detection, lens correction through Lensfun integration, and LaMa inpainting for image repair. The codebase is actively maintained with frequent commits improving rendering performance, masking algorithms, and export pipelines.
The gpu compute pipeline and tradeoffs
The standout technical feature is the WGPU/WGSL compute pipeline that handles the core processing steps. Using GPU compute shaders for RAW processing involves writing shader code that runs on the GPU’s parallel cores. This lets RapidRAW perform heavy operations like demosaicing and tone mapping at interactive framerates even with large RAW files.
The pipeline also uses region-of-interest (ROI) rendering and least-recently-used (LRU) caching strategies to optimize performance. By only re-processing parts of the image that changed and caching intermediate results, it minimizes GPU and memory load.
The tradeoff here is that RapidRAW is demanding on hardware. The project recommends 16GB or more of RAM and a dedicated GPU from 2015 or newer. Older GPUs or integrated graphics often struggle, leading to crashes or visual glitches. This hardware requirement limits its audience to users with relatively modern machines.
The code quality appears solid with Rust used for performance-critical parts and TypeScript for UI logic. The GPU shaders are concise and well-organized, reflecting deep understanding of GPU compute programming. However, the codebase is evolving rapidly, so some parts may still be in flux.
Non-destructive editing is handled elegantly using adjustment layers that apply on top of the RAW data without altering originals. This preserves image quality and editing flexibility. AI masking features are a notable plus, integrating depth and subject detection to create masks that speed up selective edits.
Getting started with rapidraw
RapidRAW provides straightforward installation options across platforms:
1. Download the latest release (recommended)
- Windows and macOS users can grab pre-built installers or app bundles from the Github Releases page.
- Linux users can install via Flatpak from Flathub, or use .deb packages for Debian-based distros, or the
rapidraw-binpackage from Arch User Repository (AUR).
2. Build from source
- Requires Rust and Node.js installed.
The minimum system requirements are Windows 10 or newer, macOS 13 (Ventura) or newer, or Ubuntu 22.04+ on Linux.
Hardware-wise, 16GB RAM or more is highly recommended to handle high-res RAW files and undo history without slowdowns. A dedicated GPU is essential for stable GPU-accelerated processing.
If you experience crashes when opening images or entering edit mode, the docs suggest switching the GPU backend from “Auto” to a specific supported backend (e.g., Vulkan, DirectX12, OpenGL, or Metal) in the application settings.
This advice highlights the complexity of GPU abstraction layers and the need for users to sometimes intervene manually for stable operation.
who rapidraw is for and final thoughts
RapidRAW is well suited to photographers and advanced users who want a lightweight, open-source RAW editor that can keep up with real-time, GPU-accelerated workflows. Its architecture using WGPU/WGSL shaders is a strong technical differentiator and offers a glimpse at where performant cross-platform image editing is headed.
The tradeoff is hardware requirements: users with older or integrated GPUs will struggle. The project is still evolving, so expect occasional rough edges and active development.
If your photo editing workflow demands responsive, non-destructive RAW processing with AI masking and lens correction, and you have a modern GPU-equipped system, RapidRAW is worth exploring. For casual users, or those on older hardware, more traditional CPU-based editors may be a better fit.
Overall, RapidRAW is a practical, well-engineered example of how GPU compute can be harnessed outside gaming or 3D rendering — pushing real-time photo editing forward in an open-source package.
Related Articles
- Deep-Live-Cam: Real-time face swapping optimized across diverse hardware with ONNX Runtime — Deep-Live-Cam offers real-time face swapping and deepfake video generation using ONNX Runtime with multiple execution pr
- ComfyUI: modular visual workflows for diffusion model experimentation — ComfyUI offers a graph/node interface for building complex diffusion model workflows offline, blending modularity with f
→ GitHub Repo: CyberTimon/RapidRAW ⭐ 6,664 · TypeScript