storytold
PhotoCraft is a clean-room Rust reimplementation of Adobe Photoshop that keeps layered PSD documents editable instead of flattening them. Open an image or layered document, edit with layers, masks, type, vectors, filters and brushes, then save or export it. It also ships as a desktop app, CLI, browser build, and automation surface.
For Photoshop users needing offline editing moving to an open-source native editor, and automation developers scripting image edits
PhotoCraft makes every user-visible action a stable command with JSON parameters, allowing the UI, CLI, control channel, and MCP server to use one engine entry point. Its pure-data document engine stays independent of the egui frontend, while CPU composition provides the rendering reference.
docs/architecture.md (Goals and principles); crates/engine/src/lib.rs (Session::execute)
Command engine
Owns documents, history, command validation, and shared command execution.
crates/engine/src/lib.rs
Egui canvas
Maps tool input and document views onto the interactive canvas.
crates/ui-egui/src/canvas.rs
CPU compositor
Flattens layer trees with Photoshop-style blending, masks, groups, and adjustments.
crates/compose/src/lib.rs
Document file I/O
Maps documents to PSD, raw, layered, and flat image formats.
crates/io/src/lib.rs
Generated