GPU photo editing in Rust, native and on the web
- Role
- Design, engineering
- Platforms
- Windows and macOS (native)
- Web (desktop and mobile)
- XenForo 2.x add-on
- Stack
- Status
- LiveXenForo integration testing
Overview
BEZEL (Browser-Embeddable Zoom, Edit & Label) is a Lightroom-style photo editor written in Rust. It runs natively on Windows and macOS, and the same editor compiles to WebAssembly for the web, on desktop and mobile.
Built for speed
Edits run on the GPU. Heavy filters are split across frames, so sliders stay smooth while the photo renders. Benchmarked on real hardware at 120 fps across every control, on both WebGPU and WebGL2.
Raw and library
Raw files develop on the GPU. The library opens in about 400 ms with thumbnails already in place, and a photo starts loading as soon as the pointer rests on it.
Editing tools
Film Print looks built on LUTs, content-aware remove, and automatic text and face blur. Detection runs on the device, on an ONNX interpreter written in pure Rust. Fills and detection run off the interface thread.
Export
Desktop export encodes on every CPU core: 40 full-size 14 MP photos to JPEG in 4 seconds or less. Metadata is kept and GPS location is stripped.
Rendering
Desktop rendering uses wgpu on Vulkan, Direct3D 12 and Metal. On the web it is WebGPU with a WebGL2 fallback, and the browser downloads only the engine it uses.
On the web
A tiny embed script, with the editor loaded on demand. The engine is built with full link-time optimisation, WebAssembly SIMD and wasm-opt.
XenForo add-on
Brings the editor into forum posts. In testing on Omega Forums.