Design & creation · Product profile
photocraft
PhotoCraft: An open-source, photo editor written by scratch in pure Rust Pixels that match: a composite oracle compares our render with Photoshop's own merged image, covering gradient interpolation (Classic, Perceptual and Linear), layer effects, shape strokes, clipping and fill opacity.
The idea
What it helps you do.
- 01Faithful round trips: opening and re-saving a document renders the same for 307 of the 309 files in the psd-tools test set and 169 of 170 in our mixed ag-psd/psd-tools set (crates/io/tests/it/corpus.rs; fetch the psd-tools set with cargo xtask corpus --psd-tools), and anything we don't model yet (raw blocks, descriptors, extras) is carried over instead of being dropped. A re-saved file is not byte-identical to its source: PhotoCraft rewrites image resources, layer records and the composite. Only the standalone photocraft-psd crate, parsing and writing a file without the document model, reproduces every parseable corpus file byte for byte (crates/psd/tests/it/corpus.rs).
- 02Pixels that match: a composite oracle compares our render with Photoshop's own merged image, covering gradient interpolation (Classic, Perceptual and Linear), layer effects, shape strokes, clipping and fill opacity.
- 03Large documents: PSB, 16 and 32-bit files, and CMYK and Lab documents open natively.
- 04Engine first: a pure-data document model and a command engine, with a thin egui UI on top. Layering is enforced at build time across 24 crates.
- 05Two compositors: a CPU compositor serves as the reference oracle, and a wgpu compositor puts the canvas on the GPU. They are tested against each other.
- 06Copy-on-write tiles: 256² sparse tiles make undo cheap and huge canvases light, and effect maps are cached per layer state.
Before you begin
A few things to check.
- The directory describes the official project; deployment, maintenance and infrastructure requirements must be checked in its documentation.
- Hosted plans, commercial support, taxes and usage limits are not verified by this repository listing.
People behind the work
The connection matters.
Repository ownership is verified separately from authorship, maintenance or founding. How we verify →
Sources & verification
Suggest a correction →- api.github.comSource evidence reviewed · Oct 25, 2026
- api.github.comSource evidence reviewed · Oct 25, 2026