* Prepare dormant PhotoCraft release-ref nightly callers
* Keep dormant nightly callers lintable and guarded
* Refresh dormant nightly policy and shared-source pin
* Pin the dormant nightly callers to merged craft-common-actions main
craft-common-actions #330 merged as 077d4657. Both reusable workflows keep the
same inputs and secrets; the callers stay literally off.
* Finish the Nightly session in the app's exit hook
On macOS every quit (Cmd+Q, the close button, File > Quit, app.quit) leaves
through craft::quit, which sends -[NSApplication terminate:]. winit's
applicationWillTerminate: delivers LoopExiting, eframe runs the app's
on_exit, and AppKit then ends the process, so eframe::run_native never
returns there and the controlled-return code after it (the Nightly
session finish) never ran: every Mac Nightly start reported the previous
session as unclean.
Services gets an at_exit hook that on_exit runs once, last. The desktop
app finishes the shared Nightly session there, and again after run_native
for the paths that create no window (renderer failure), where the second
call is a no-op.
* Add the Apple-silicon Nightly build, signing and verification scripts
packaging/macos/nightly.sh compiles the GUI-only PhotoCraft Nightly.app
for aarch64 with no signing material (it refuses any) and writes the
unsigned photocraft-<version>-macos-aarch64-nightly.zip: the nightly-common
source and identity checks, nightly_plist.py's Info.plist, the Nightly icon
and notices, no CLI, DMG or document types, zipped without xattrs. It no
longer runs the bundle before signing.
packaging/macos/nightly-sign.sh is the trusted step the shared signer calls
(--arch aarch64 --input <unsigned zip> --output <final zip>). It requires
all six release secrets, imports the Developer ID with import-cert.sh into
a private keychain it deletes on exit, signs inside-out with the hardened
runtime, timestamp and entitlements, notarizes with notarytool, staples the
ticket into the bundle, and checks the final archive as the Launcher
unpacks it (signature, team, ticket, Gatekeeper) before writing it without
replacing anything. It never compiles or runs the payload.
packaging/macos/nightly-verify.sh runs in a job without secrets (it refuses
any): the same archive checks, then the bundle's --version with an empty
environment, for the signed feed artifact or the unsigned compile output.
nightly-common.sh splits the compile from the version query; Linux keeps
both. The new suite runs the scripts against stand-in Apple tools.
* Build the unsigned macOS Nightly in pull-request CI
A hosted macos-15 job, with no secrets or environment, builds the
aarch64 Nightly bundle with packaging/macos/nightly.sh when a pull
request changes the Mac Nightly packaging or flavor, and checks it with
nightly-verify.sh --expect unsigned, including the bundle's version.
* Add the Linux row to the dormant nightly callers
The single unsigned producer job lists linux-x86_64 beside windows-x86_64:
one producer run builds both platforms for one all-or-nothing release, and
the release-ref signer admits platforms from the protected policy, so there
is no separate Linux job and nightly-sign.yml is unchanged. The pinned shared
revision has no platforms input or Linux leg yet; the callers must be
re-pinned to a reviewed commit that defines them before activation. Every
job stays literally off.
The policy example moves to v3 with a per-platform map; each platform keeps
only its own trust anchor and every authority value stays null.
Packaging lint path filters now cover the files the contract tests read: the
policy example, the installed policy and Linux key paths, and the Sonar
properties.
* Cap the failure-only notarization log in nightly-sign.sh
The shared signer bounds a step's output at 256 KiB; notarytool's log on a
rejected submission is the one large output, now cut at 128 KiB.
* Add the macOS row and stable trust anchors to the dormant nightly callers
The single producer job now lists windows-x86_64, linux-x86_64 and
macos-aarch64, so one producer run builds all three platforms for one
all-or-nothing release. The signer caller still has no platform input; the
release-ref signer admits platforms from the protected v3 policy and reads
signing secrets from the release environment, so neither caller forwards
secrets.
Both callers pin a placeholder for the unmerged multi-platform shared
signer. It must be replaced with the reviewed merged commit before this is
published or activated. Every job stays literally off with no schedule.
The v3 policy example now carries each platform's fixed
nightly-unsigned-<platform> artifact kind and stable's public identities:
the Windows Authenticode subject, the Linux release key fingerprint and the
Apple Developer ID team DJ6XS33FX8 (read from the v0.23.1 macOS code
signature). Other authority values stay null and no policy is installed.
.github/nightly-linux-signing-key.asc is the v0.23.1 release-signing-key.asc
byte for byte. The contract tests check that it holds exactly one public
primary key matching the policy fingerprint, that every platform row names its
artifact kind and identity, and that both callers share one pin.
* Address review: macOS-only exit hook, clean-tree recheck, wider refusals
- The Nightly exit hook is installed only on macOS; Linux and Windows keep
finishing the session after run_native returns.
- nightly_build_gui checks the tree is still clean after --version (Linux).
- nightly_refuse_signing_env also refuses the Windows, Azure and Linux
signing names release.yml passes.
- nightly-sign.sh drops the single spctl run before the retried final check.
- nightly-macos.yml also runs for Cargo.toml, Cargo.lock and the text and
ui-egui build scripts.
* List the macOS Nightly signing tests as tests for Sonar
packaging/macos/nightly_sign_tests.py is a fixture runner like the other
nightly suites; without this Sonar counts it as production code.
* Run the macOS Nightly PR build only with the full-ci label
macOS runners are shared with release builds: no path filters, and a pull
request runs the job only when it carries full-ci (a labeled event only
when the added label is full-ci). ci.yml's concurrency pattern keeps other
labels from running or cancelling a run. workflow_dispatch stays.
* Pin the nightly callers to the merged multi-platform shared signer
Both callers now name craft-common-actions a4f6fd51e854773de8b24b4f92e1ad7e770c08d7, the main
commit that merged #342 (policy v3, the platforms input and the Linux and
macOS legs, all switched off), in uses and tooling-revision. The contract
test now also requires a full 40-character commit for the shared pin.
Every job stays literally off with no schedule.
* Keep the unsigned macOS Nightly archive as a short-lived artifact
Seven-day retention, unsigned zip only, no secrets. It lets keyless signer tests and hand
testing use the exact verified build.
* Keep unlabelled events out of the macOS build's concurrency group
A push to a full-ci PR and the label event arrive together; the event that would be skipped
was sharing the group and cancelling the real build.
* Stop the macOS Nightly scripts' --help at their header comment
* Answer the Launcher's profile-form version query before startup (#16559)
`PhotoCraft --launch-profile nightly-v1 --profile-root <dir> --version`,
the shared producer's smoke, was refused by the strict launch-profile
parser (no `--`), and the refusal opens a native dialog on macOS, which
never returns on a headless runner: the hosted run did not exit in 180 s.
A Nightly build now treats exactly the selector/root pair followed by
`--version` or `-V` as a version query: the same line as plain
`--version`, exit 0, before root validation, process identity, IPC or any
window. Only parse()'s lexical checks apply; every other refusal is
unchanged and `-- --version` stays a file name.
nightly-verify.sh checks both forms, each within 15 seconds and with
nothing on standard error, so the PR's Mac build covers the smoke.
* Harden the Mac Nightly signing helpers (review of #16559)
- nightly_publish_archive runs python3 -I: nightly-sign.sh calls it with
the signing secrets loaded, so no module from the working directory or
user site may be imported.
- nightly-sign.sh and nightly-verify.sh list the archive's entries before
unpacking (python3 -I, zipfile) and refuse absolute paths, `..`, empty
or backslash components, entries outside PhotoCraft Nightly.app, links
and special files. The check after unpacking stays.
- The signature check matches the Identifier line literally (grep -F).
* Describe the three-platform nightly and the two signing entities
releasing.md now covers Windows, Linux and macOS and names the macOS signing
scripts and the Linux public key in the release trust review. The preparation
guide lists `platforms` among the unsigned inputs and states the exact macOS
Developer ID leaf (Learning Machines LLC, team DJ6XS33FX8). The Windows
certificate names Learning Machines Inc, and only the team ID is enforced on
macOS.
* Enable the PhotoCraft nightly for supervised manual runs
The producer and release-ref signer callers drop their literal off-guard and
keep only their exact context guards. Both run only when dispatched by the
reviewed manual actor, skylartaylor, who is listed in the producer's
manual-actors and in the policy. nightly-dispatch.yml stays off and there is
no schedule.
.github/nightly-signing-policy.json installs the v3 policy from values read
at their sources: the repository ID, the callers' shared pin, CI's workflow
and jobs, the SonarCloud project, gate and open vulnerabilities, and the
stable v0.23.1 platform identities. producer_workflow_id stays null until
nightly.yml is registered on main, so the shared validator refuses the policy
until that ID is committed.
The contract tests check the guards, the manual actor, the policy's ties to
the callers, Sonar properties and CI triggers. The preparation guide lists
each value's source.
* Pin the nightly callers to craft-common-actions #339
Both callers and the policy's tooling revisions move from a4f6fd51 (#342) to
605d58766e8f536564da8fc81d3676ac86816dea, the main commit that merged #339:
bounded lineage compares, an unresolved-issue reread at the end of candidate
admission and a 1024-character Windows subject bound at policy validation.
Neither callee's inputs nor the policy fields change.
* Let every release manager who can push start nightly runs by hand
The producer's manual-actors and the policy's manual_actors are now the five
members of the release-managers team (id 19837241) with push access:
bflatastic, dylanmtaylor, echelon, FredApps and skylartaylor, sorted the same
way in both. echelon-robot only has read access and is left out. There is
still no automatic signer, no schedule, and the dispatcher stays off.
The contract test requires that exact list in both places and refuses an
actor outside it, a reordered list or a case change.
* Fill in the producer workflow ID now that nightly.yml is on main
producer_workflow_id is 428462603, read from
gh api repos/storytold/photocraft/actions/workflows/nightly.yml (path
.github/workflows/nightly.yml, state active). The shared validator at the
callers' pin now accepts the policy as committed, and the contract test
requires a real numeric ID.
* Bring the nightly guide in line with the enabled callers
The guide no longer says the manual-actor lists are empty or the policy is
unpopulated: the producer and the installed policy both list the five
release managers. The test description now says only the dispatcher must
stay explicitly off, while the enabled producer and signer are checked for
their exact guards. The Windows subject bound is 1024 characters, as
validated since #339, and the remaining "dormant" wording is gone.
* Accept main's current Sonar vulnerabilities as debt for the first run
The policy's Sonar debt is now exactly main's 15 open VULNERABILITY issues,
re-read live from SonarCloud at analysis 19880b44-8bb0-4538-a124-437045a56be2
(commit 27c629f789): the 8 pinned before plus 7 new
pythonsecurity:S8707 issues in scripts/engine_split. The gate conditions are
unchanged. The epoch names the new analysis, and the guide records it.
* Move the nightly signer to the dedicated nightly-signer branch
nightly-sign.yml now runs only on refs/heads/nightly-signer, the dispatcher
(still off) targets that full ref, and the policy's release_branch names it,
so nightly signer files never need a stable release sync.
The contract tests add the trust-closure scan for that branch: no app
workflow binds an environment, only nightly-sign.yml calls nightly-release.yml
and it pins a full SHA, and the only caller of the shared stable release.yml
is release.yml. The guides describe the branch, its advance procedure and its
trust closure (all of .github/ and packaging/, including packaging/env.sh).
The shared pin is unchanged here; the shared signer at the current pin only
accepts release, so this needs the re-pin to the shared nightly-signer change.
* Pin the nightly callers to the shared signer-branch change
Both callers' uses and tooling-revision and the policy's tooling revisions
and producer_workflow_ref move to craft-common-actions 00ad6b9b691ff642feabde191c4fab678ebbddde,
which signs on the policy's signer branch (release or nightly-signer) and is
stacked on #363. nightly-sign.yml passes app-name: photocraft, which #363
makes required. Re-pin to the merge commit once the shared PR lands.
* Pin the nightly callers to the merged signer-branch change (#364)
Both callers' uses and tooling-revision, the policy's two tooling revisions
and producer_workflow_ref, and the guide move from 00ad6b9b to
88148a57ef09ef407d73c0f385e04cc7f4c2720a, the craft-common-actions main commit that
merged #364 (on top of #363). app-name: photocraft, the nightly-signer guard
and the policy's signer branch are unchanged.
* Read workflow keys properly in the nightly-signer trust-closure scan
The scan matched only an unquoted `environment:` at a line start, so a quoted
"environment": release key slipped through. It now reads every mapping key
with a narrow reader (no YAML parser ships with the runner's Python): plain,
single- and double-quoted keys in block and simple one-line flow mappings,
skipping block scalar bodies. It refuses the forms that could still hide a
key: escaped double-quoted keys, explicit keys, merge keys, anchors,
aliases, tags, tabs and nested or multi-line flow.
New refusal cases cover each form, and the accepted tree stays clean.
* Take every key the nightly-signer scan inspects from the workflow reader
The caller checks still found `uses:` with a regex over the raw text, so a
copied signer caller under a quoted "uses": key slipped past while the real
signer still satisfied the count. workflow_entries() now returns each entry's
one-line value and whether it continues over several lines, and
trust_closure_problems reads environment and uses only from it. A uses value
that is escaped, a block scalar or continued is refused, the shared owner and
repository match case-insensitively, and the signer count comes from the
same entries.
New refusal cases cover double- and single-quoted uses keys, a quoted value,
a flow mapping, a differently cased owner, folded and continued values, and a
quoted second signer call; the accepted tree stays clean.
* Make the nightly-signer workflow reader fail closed on quoting
A `#` inside a quoted flow scalar was cut off as a comment, so
`{name: "a} # b", ..., environment: release}` hid the binding. Comments are
now stripped with a quote-aware scan (a quote opens only where a scalar
starts, as in YAML). The reader refuses any line with an unterminated or
multi-line quoted scalar, any flow mapping whose quoted scalars contain
#, {, }, [, ] or a comma, and any flow mapping with an environment or uses
key, which must be block style. ci.yml's matrix rows still read cleanly.
New refusal cases cover the reported mapping, a single-quoted hash, a comma
or bracket in a quoted flow scalar, an unterminated quote, and environment or
uses in any flow mapping.
PhotoCraft
Image editing; an open-source, clean-room reimplementation of Adobe Photoshop, rebuilt in pure Rust.
Layers, masks, adjustment layers, layer styles, type, vectors, brushes and real PSD files,
in a native app written entirely in Rust. Open source, offline, and yours.
PhotoCraft on getartcraft.com · ArtCraft · All Crafting Apps
A caption card with a drop shadow, live type, and Vibrance and Curves adjustment layers, with the Curves editor open.
The Great Wave off Kanagawa, Katsushika Hokusai, c. 1831
Note
ArtCraft is a community of artists from all walks of life. Digital, generative, music, games — if you make things, you're one of us. Come say hi on Discord.
Features · Everything in the box · PSD · Agents · Under the hood · Get started · Downloads · Crafting Apps · Discord
🎛️ Familiar by designThe menus, shortcuts, panels and tools are where your hands expect them, from ⌘J to ⇧⌘D. If you know Photoshop, you already know PhotoCraft. |
⚡ Native and fastA GPU compositor on wgpu (Metal, Vulkan, DX12, WebGPU), copy-on-write tiles and multithreaded filters. No Electron, no web view, no waiting. |
🗂️ Real PSD filesOpen, edit and save layered Photoshop documents. Re-saving keeps the render of 307 of the 309 psd-tools test files. |
🤖 Agent-readyEvery action is a command, so you can drive the same engine from the UI, the CLI, a JSON control channel or an MCP server. |
Features
Every screenshot here is the real app at work on public-domain art, rendered offscreen through its control channel.
Levels and Vibrance adjustment layers, with the live Histogram panel. Impression, Sunrise, Claude Monet, 1872 Edit without regretAdjustment layers keep every edit live. Stack Levels, Curves, Vibrance, Hue/Saturation and a dozen more, mask them to an area, reorder them, or turn them off, and your original pixels never change.16 adjustment layers that also apply directly to pixels, including Curves with per-channel editing, Levels with a live histogram, Black & White, Channel Mixer, Gradient Map, Photo Filter, Selective Color and Color Lookup (.cube, .3dl, .look). Plus Shadows/Highlights, Replace Color, Match Color, HDR Toning, Desaturate and Equalize. |
Outer Glow and Stroke on a live type layer, in the Layer Style dialog. Earthrise, William Anders / NASA, 1968 Styles that sell the shotDrop Shadow, Inner Shadow, Outer and Inner Glow, Bevel & Emboss, Satin, Stroke, and Color, Gradient and Pattern Overlay, live on any layer, including type. Patterns come from a library (built-ins, Edit › Define Pattern,.pat import/export) and PSD Patt blocks.
Copy and paste styles between layers, hide all effects at once, and open styles straight from your PSDs, rendered to match Photoshop. |
An elliptical selection becomes the mask of a Hue/Saturation layer, so only the face keeps its color. Girl with a Pearl Earring, Johannes Vermeer, c. 1665 Selections that understand your imageMarquees, lassos and the Magic Wand for precision; Quick Selection, Object Selection and Select Subject when you want the computer to do the tracing; Select and Mask to refine hair-fine edges.Feather, expand, contract, smooth, grow, reselect. Turn any selection into a layer mask, a vector path or a shape. Smart selection runs on your machine, with no cloud and no account. |
A headline edited in place, with a byline and a paragraph of body text. Among the Sierra Nevada, California, Albert Bierstadt, 1868 Type that sets beautifullyPoint and paragraph text, edited right on the canvas, with full Character and Paragraph controls: font, weight, size, leading, tracking, alignment and colour. The full Type Color Picker also supports screen sampling with a pixel loupe.Type layers stay editable, take layer styles, and round-trip through PSD. |
A badge made of shape layers: a gradient-filled lotus, a star and a dotted ring. Water Lilies, Claude Monet, 1906 Pixel-perfect vectorsRectangle, Ellipse, Triangle, Polygon, Line and the Pen, Freeform Pen and Curvature Pen tools, with resolution-independent shape layers, gradient fills, and dashed, aligned strokes.Combine shapes (unite, subtract, intersect, exclude), keep paths in the Paths panel, use them as vector masks, or stroke and fill them. 116 of 116 shape layers in our PSD corpus match Photoshop's pixels. |
Twirl previews live on the canvas, only inside the selection. The Starry Night, Vincent van Gogh, 1889 See it before you commitEvery filter dialog previews live on the canvas, through your selection. Blurs (Gaussian, Box, Motion, Radial, Surface, Smart, Lens, Shape, and the Blur Gallery: Tilt-Shift, Iris, Field, Spin, Path), sharpening, Reduce Noise, distortions (Twirl, Wave, Ripple, Displace, Shear, Zig Zag…), Pixelate, Stylize (Oil Paint, Wind, Extrude…), Render (Clouds, Fibers, Lens Flare, Lighting Effects) and more.Run filters on a smart object and they stay editable: change, hide, reorder or mask them at any time. Large-radius blurs use running-sum box passes across all cores: a radius-180 Gaussian on 3.6 MP takes under a second. |
Free Transform on a rotated print, with every step listed in History. The Tetons and the Snake River, Ansel Adams, 1942 Shape it any way you likeFree Transform with scale, rotate, skew, distort and perspective; exact 90° and 180° rotations and flips; Transform Again. Layers, type, shapes, masks and selections all transform together.Full history, Toggle Last State and the History Brush mean every step can be undone, even one brush stroke at a time. |
Export As in the light theme, with a preview and a file-size estimate. The Kiss, Gustav Klimt, 1907–1908 Ship it anywhereExport As with format, quality, transparency and scale, plus a preview and an instant file-size estimate. Quick Export to PNG in one click.Choose a dark Pro theme, the airy Studio themes, or a Classic look. |
Everything in the box
🧰 70 toolsMove · Artboard · Rectangular and Elliptical Marquee · Single Row Marquee · Single Column Marquee · Lasso · Polygonal Lasso · Magnetic Lasso · Object Selection · Quick Selection · Magic Wand · Crop · Perspective Crop · Slice · Slice Select · Frame · Eyedropper · Color Sampler · Ruler · Note · Count · Remove · Spot Healing Brush · Healing Brush · Patch · Content-Aware Move · Red Eye · Brush · Pencil · Mixer Brush · Color Replacement · Clone Stamp · Pattern Stamp · History Brush · Art History Brush · Eraser · Background Eraser · Magic Eraser · Gradient · Paint Bucket · Blur · Sharpen · Smudge · Adjustment Brush · Dodge · Burn · Sponge · Pen · Freeform Pen · Curvature Pen · Add Anchor Point · Delete Anchor Point · Convert Point · Horizontal and Vertical Type · Horizontal and Vertical Type Mask · Path Selection · Direct Selection · Rectangle · Ellipse · Triangle · Polygon · Star · Line · Custom Shape · Hand · Rotate View · Zoom |
🖌️ A real brush engineShape Dynamics, Scattering, Texture, Dual Brush, Color Dynamics, Transfer, Brush Pose, Wet Edges, Build-up and Smoothing (including Pulled String), driven by pen pressure, tilt, rotation and direction. Brush presets, Define Brush from Selection, and deterministic, replayable strokes. |
🗃️ Layers, done properlyGroups, clipping masks, pixel and vector masks, fill layers (solid, gradient and pattern), adjustment layers, live smart objects with smart filters and lossless transforms and warps, multi-layer selection with align, distribute and link, alpha channels and Quick Mask, 27 Photoshop blend modes plus six Paint.NET variants, opacity and fill, locks, colour labels, a layer kind filter, merge, flatten, rasterize, Layer via Copy/Cut, Paste Into. |
🎨 Any colour, any depthRGB, Grayscale, CMYK and Lab documents at 8, 16 and 32 bits per channel. Bit depth and colour model are runtime data, so every tool works at every depth.Real ICC colour management in pure Rust: embedded profiles, Assign and Convert to Profile with all four rendering intents and black point compensation, soft proofing (⌘Y) and Gamut Warning (⇧⌘Y) on the GPU. |
🗂️ FormatsPSD and PSB, layered TIFF (Photoshop's layer data in the TIFF, read and written in either byte order), Paint.NET PDN3 (read, with editable layers and all 14 blend modes), OpenRaster (read and write, with layers, groups and blend modes, for Krita, MyPaint and GIMP), GIMP XCF (read, with layers, groups, masks, blend modes, channels and the selection), Krita .kra (read, with paint layers, groups, blend modes and transparency masks), SVG (opens as shape layers, places as a vector Smart Object), plus flat PNG, JPEG, TIFF, WebP (lossy and lossless), GIF, BMP, TGA, ICO, QOI, PNM, OpenEXR, Radiance HDR and FITS (astronomy images: 8/16-bit and 32-bit float, gray or RGB, header kept), and the native.pcraft format. Flat formats retain the depths they support: PNG keeps 8/16-bit samples, TIFF keeps 8/16-bit and 32-bit float samples, and OpenEXR keeps half/float samples; JPEG, WebP and the other 8-bit formats reduce higher-depth samples with an export warning. See the codec capability matrix for each format. HEIC photos from iPhone and Mac are read-only (included in official builds; optional --features heif for source builds). AVIF is write-only with the optional avif build feature; AVIF decoding and JPEG XL are unavailable. Affinity documents (.af, .afdesign, .afphoto, .afpub) open natively, read only, with artboards, layers, vectors, text, images and masks; effects, adjustments and other unsupported parts are listed in a warning, and Affinity export is unavailable.
|
🪄 The everyday essentialsAuto Tone, Contrast and Color · Equalize · Image and Canvas Size · Crop and Trim · Reveal All · Edit › Fill and Stroke · Copy Merged · Paste in Place · guides, rulers, grid and snapping · Actions record and replay · a command palette (⌘F). |
PSD without compromise
PhotoCraft's PSD support is a standalone crate written from Adobe's public specification and tested against a corpus of real-world files.
- Faithful 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 withcargo 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 standalonecraft-psdcrate, parsing and writing a file without the document model, reproduces every parseable corpus file byte for byte (craft-psd/tests/it/corpus.rs). - 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.
- Large documents: PSB, 16 and 32-bit files, and CMYK and Lab documents open natively.
Built for agents
Every menu item, tool and dialog runs a command from one registry of 500+ commands. The UI, the CLI, the JSON control channel and the MCP server all call the same commands, so anything you can click, a script or an AI agent can do too.
# Headless: open, edit, save
photocraft-cli run wave.psd \
--cmd filter.sharpen.smartSharpen --params '{"amount":80}' \
--cmd layer.newAdjustmentLayer.curves --params '{"points":[[0,0],[64,48],[192,212],[255,255]]}' \
--out wave-final.png
# Apply one action list to a folder of images
photocraft-cli batch --actions grade.json --in ./raw --out ./graded
# Every subcommand explains itself
photocraft-cli batch --help
# Let an agent drive it over MCP (headless, or bridged to the running app)
photocraft-cli mcp
The desktop app also offers an authenticated, loopback-only control channel (photocraft --control) for inspecting UI state, driving tools with pointer events, and taking offscreen screenshots. Every image in this README was rendered that way. See docs/control-protocol.md.
Under the hood
- Engine 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.
- Two 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.
- Copy-on-write tiles: 256² sparse tiles make undo cheap and huge canvases light, and effect maps are cached per layer state.
- Runs in the browser: the whole engine and UI compile to WebAssembly.
- Clean-room: implemented from public specs and observed behaviour only. No proprietary code, shaders or assets.
- Tested: more than 1,700 tests, including PSD round trips, synthetic generators, compositor oracles and multi-depth checks.
Get started
git clone https://github.com/storytold/photocraft
cd photocraft
cargo run --release -p photocraft -- image.psd # the desktop app
cargo test --workspace # the test suite
Japanese fonts for the UI and Type tool come from craft-fonts, an optional build input (desktop release builds always include it). Without it PhotoCraft uses your system's CJK fonts:
git clone https://github.com/storytold/craft-fonts ../craft-fonts
CRAFT_FONTS_DIR="$PWD/../craft-fonts" cargo run --release -p photocraft
New contributors and AI agents: start with AGENTS.md, then docs/.
Installers for macOS, Windows, Linux, FreeBSD and the web are attached to each GitHub release. On Linux you can pick an AppImage, a .deb, an .rpm, a tarball or a Flatpak bundle. The bundle needs the freedesktop runtime from Flathub, which flatpak offers to install along with it:
flatpak install --user photocraft-<version>-linux-x86_64.flatpak # or -linux-aarch64
flatpak run ai.storyteller.photocraft
The Flatpak prints through the host's CUPS socket (File › Print talks IPP to it directly, no lp needed); without CUPS, or without a printer, File › Print opens the system print dialog through the print portal. See printing.
The AppImage needs no install: the first run registers its launcher icon and menu entry in ~/.local/share so the dock shows PhotoCraft's icon on Wayland. Set PHOTOCRAFT_NO_DESKTOP_INTEGRATION=1 to skip that, and see docs/releasing.md › Linux to undo it.
To use the bundled CLI, run ./photocraft-<version>-linux-x86_64.AppImage --cli --help, or --cli mcp to start the MCP server on stdio. CLI launches skip desktop integration. A symlink named photocraft-cli also selects the CLI; see docs/development.md.
On a Wayland session, files dropped on the window don't open yet: winit 0.30, the windowing library under egui, has no Wayland drag and drop (#386). Use File › Open, or copy the image in your file manager and paste it with Ctrl+V. To drag and drop, start PhotoCraft under XWayland: WAYLAND_DISPLAY= photocraft, WAYLAND_DISPLAY= ./photocraft-<version>-linux-x86_64.AppImage, or flatpak run --nosocket=wayland --socket=x11 ai.storyteller.photocraft. On Wayland, PhotoCraft shows the command for your install in a notice until you dismiss it. Preferences › Performance › Linux display server = X11 does the same on every launch. With a fractional display scale (125%, 150%, 175%) an XWayland window is drawn at a lower resolution and enlarged by the compositor, so the interface is blurred there; native Wayland stays sharp (#1072).
On macOS, the command-line tool comes as photocraft-cli-<version>-macos-universal.zip. The binary is signed with the same Developer ID as the app and notarized by Apple. A bare binary can't carry a stapled notarization ticket the way the DMG does, so the first time you run it macOS checks the notarization online. You can confirm it yourself:
ditto -x -k photocraft-cli-<version>-macos-universal.zip .
spctl --assess --type install -vv photocraft-cli-<version>-macos-universal/photocraft-cli
# ... accepted, source=Notarized Developer ID
On FreeBSD 14 (x86_64), the release has a tarball laid out like /usr/local. Install the runtime libraries, then unpack it there:
pkg install libxkbcommon wayland libX11 libXcursor libXrandr libXi libxcb mesa-libs vulkan-loader gtk3 fontconfig freetype2 alsa-lib
tar -xzf photocraft-<version>-freebsd-x86_64.tar.gz --strip-components 1 -C /usr/local
photocraft
Maintainers: docs/releasing.md explains how releases are built, signed and published.
Important
Status: PhotoCraft is in early alpha, and we want to be straight about where it stands: much of Photoshop's feature surface exists in some form, but it is not yet a Photoshop replacement for daily professional work. The biggest gaps are AI/generative features, 15 missing tools, depth in typography and pro workflows, and plug-in compatibility. Every Photoshop menu item is wired to a command (
docs/parity-checklist.md), but that measures wiring, not behaviour. The honest, dimension-by-dimension picture and where we're going next are in the roadmap and parity assessment. Expect rough edges, and please file issues (include your OS, document size, layer count and a screenshot). You can also tell us what broke on Discord.
Community packages
These installers are maintained by community members, not by the PhotoCraft team.
On Gentoo, the ::snakebyte overlay packages the Linux release as media-gfx/photocraft-bin:
eselect repository add snakebyte git https://github.com/switch87/snakebyte-overlay.git
emaint sync -r snakebyte
echo 'media-gfx/photocraft-bin ~amd64' >> /etc/portage/package.accept_keywords/photocraft
emerge --ask media-gfx/photocraft-bin
Documentation
Developer, architecture, automation, format, and security documentation is maintained in the PhotoCraft documentation book.
To self-host the browser version with Docker, see Docker web hosting.
Security
Security architecture, threat modeling, parser hardening, fuzzing, and vulnerability reporting are covered in the security documentation and the repository security policy.
Test corpora
PhotoCraft is tested against real files: our own Photoshop-authored oracle PSDs in
photocraft-corpus plus the psd-tools, ag-psd and PngSuite sets, pinned and
sha256-verified. Fetch them with cargo xtask corpus --all and run the tests with
cargo xtask test-corpus (details in docs/development.md).
Downloads
New to PhotoCraft? Download it from the PhotoCraft page on getartcraft.com. That's the easiest way to install it.
Want a specific build or format? On GitHub, the latest release has every build listed below, and all releases have earlier versions and their notes. <ver> in the file names is the version number, and SHA256SUMS.txt lists a checksum for every file.
Windows
| Build | Installer | Portable |
|---|---|---|
| x64 (64-bit Intel/AMD) | photocraft-<ver>-windows-x64.msi |
photocraft-<ver>-windows-x64-portable.zip |
| arm64 (Snapdragon and other ARM PCs) | photocraft-<ver>-windows-arm64.msi |
photocraft-<ver>-windows-arm64-portable.zip |
Installers and executables are code-signed.
macOS
| Build | File | Notes |
|---|---|---|
| App, universal (Apple silicon + Intel) | photocraft-<ver>-macos-universal.dmg |
Signed and notarized |
| Command-line tool, universal | photocraft-cli-<ver>-macos-universal.zip |
Signed and notarized |
Linux
| Format | x86_64 | aarch64 (ARM64) | Notes |
|---|---|---|---|
| AppImage | photocraft-<ver>-linux-x86_64.AppImage |
photocraft-<ver>-linux-aarch64.AppImage |
Runs anywhere; updates itself with AppImageUpdate (.zsync files) |
| Flatpak | photocraft-<ver>-linux-x86_64.flatpak |
photocraft-<ver>-linux-aarch64.flatpak |
Sandboxed; flatpak install --user <file> |
| Debian/Ubuntu | photocraft-<ver>-linux-x86_64.deb |
photocraft-<ver>-linux-aarch64.deb |
|
| Fedora/RHEL/openSUSE | photocraft-<ver>-linux-x86_64.rpm |
photocraft-<ver>-linux-aarch64.rpm |
|
| Tarball | photocraft-<ver>-linux-x86_64.tar.gz |
photocraft-<ver>-linux-aarch64.tar.gz |
Unpack anywhere |
RISC-V (riscv64): photocraft-<ver>-linux-riscv64.tar.gz only, built against Ubuntu 24.04 (needs glibc 2.39+).
FreeBSD
| Build | File |
|---|---|
| x86_64 | photocraft-<ver>-freebsd-x86_64.tar.gz |
Web (WebAssembly)
| Build | File | Notes |
|---|---|---|
| Static site | photocraft-web-<ver>.zip |
Runs in a modern browser; host it on any static server |
The Crafting Apps
PhotoCraft is one of the Crafting Apps: free, open-source creative tools from the ArtCraft team, each written from scratch in Rust and each able to stand on its own.
| App | What it's for | Code | Learn more | |
|---|---|---|---|---|
| PhotoCraft | Image editing: layers, masks, type and real PSD files | GitHub | Website | |
| VectorCraft | Vector illustration | GitHub | Website | |
| FilmCraft | Video editing, color and sound | GitHub | Website | |
| LightCraft | Photo library and raw development | GitHub | Website | |
| PdfCraft | Reading, organizing and protecting PDFs | GitHub | Website | |
| EffectCraft | Motion graphics and visual effects | GitHub | Website | |
| DesignCraft | Page layout and publishing | GitHub | Website | |
| FigCraft | Interface design and prototyping | GitHub | Website | |
| WordCraft | Word processing and documents | GitHub | Website | |
| SoundCraft | Audio recording and editing | GitHub | Website | |
| DeckCraft | Presentations and slide decks | GitHub | Website | |
| CADCraft | Computer-aided design | GitHub | Website | |
| GridCraft | Spreadsheets and data | GitHub | Website | |
| TextureCraft | 3D texture painting | GitHub | Website | |
| Craft Anything | See how any software works, then build your own | GitHub | Website | |
| SolidCraft | Parametric 3D CAD by Tangency Labs (community app) | GitHub |
And ArtCraft itself, our AI image and video studio for artists who want real control.
The Crafting Apps share the same conventions: clean-room and pure Rust, native on macOS, Windows and Linux, in the browser via WebAssembly, and fully drivable by agents.
Come make things with us
Our Discord is where artists of every kind hang out: people who paint, shoot, draw, cut film, set type, and people still figuring out what they like to make. Share what you're working on, ask for help, tell us what's broken, or tell us what you wish these tools could do. Whatever your medium and however long you've been at it, you're welcome here.
discord.gg/artcraft · getartcraft.com · The Crafting Apps · PhotoCraft
License and credits
PhotoCraft is dual-licensed under MIT or Apache-2.0, at your option. Copyright (c) 2026 ArtCraft Team and the PhotoCraft contributors. Required notices are in NOTICE.
Bundled fonts, icons, images and other assets keep their own open licenses; each one is listed with its author, source and license in ATTRIBUTION.md.
Every artwork shown is in the public domain (Wikimedia Commons, NASA, U.S. National Archives); sources are listed in docs/images/SOURCES.md.
The ArtCraft name, wordmark and logos in docs/brand/ are trademarks of the
ArtCraft Team and are not covered by this license. They may be used only unmodified, and only as
part of this repository and PhotoCraft, under docs/brand/LICENSE-brand.txt.
Forks and modified versions must remove them.
Adobe, Photoshop, Illustrator, Premiere Pro, Lightroom, Acrobat, After Effects and InDesign are trademarks or registered trademarks of Adobe Inc. in the United States and/or other countries. PhotoCraft is an independent, open-source project and is not affiliated with, sponsored by or endorsed by Adobe Inc.; these names are used only to describe the workflows it is compatible with.
Made by the ArtCraft team and community.







