Skip to content

PhotoCraft: An open-source, photo editor written by scratch in pure Rust

docs: add user docs in docs/user (#3951)

Fabio Lussic6fd71241d80
diff --git a/docs/user/AGENTS.md b/docs/user/AGENTS.md
new file mode 100644
index 000000000..dd791ea1f
--- /dev/null
+++ b/docs/user/AGENTS.md
@@ -0,0 +1,60 @@
+# User docs: rules for agents and contributors
+
+Everything in this folder (except this file, CLAUDE.md and README.md) is published at
+https://getartcraft.com/docs/photocraft. The file path is the URL:
+`troubleshooting/taskbar-turns-black.md` → `/docs/photocraft/troubleshooting/taskbar-turns-black`.
+Renaming a file breaks links, so add the old path to `redirect_from` when you rename.
+
+## Who reads this
+
+Artists using PhotoCraft, Discord mods answering them, and AI assistants looking things up for
+either. Write for an artist, not a developer.
+
+## Page rules
+
+- One question or problem per page. Lead with the answer or the fix in the first two lines.
+- Plain words, short sentences, numbered steps for anything the reader does.
+- Start the body at `##`. The page title comes from frontmatter.
+- Link to other pages instead of repeating them. Use relative links to the `.md` file:
+ `[Install PhotoCraft](../getting-started/install.md)`.
+- No marketing copy, no "simply", no claims you have not checked in the code or a release.
+- Call the product "PhotoCraft", as the app, its downloads and getartcraft.com do.
+- Name UI labels exactly as the app shows them, in **bold**. Menu paths read `File › Open…`.
+- Troubleshooting pages: `## Symptoms`, `## Fix`, `## Why this happens` (optional),
+ `## Still stuck?` (link the issue tracker or Discord).
+
+## Frontmatter
+
+ ---
+ title: Export an image as PNG or JPEG
+ description: One sentence for search results, link previews and AI summaries.
+ order: 10 # optional, sorts within the folder (lower first)
+ verified: 0.7.0 # optional, app version you last checked this page against
+ redirect_from: [old/path] # optional, old URLs (relative to /docs/photocraft)
+ ---
+
+Only `key: value` and `key: [a, b]` lines work. Quote values that start with a quote or contain ` #`.
+
+Set `verified` to the latest release (the newest release tag) after checking the page against that tag with `git show <tag>:<path>`. Pages describe the latest release users download, not unreleased code on main.
+
+## Folders
+
+- `getting-started/` install and first run
+- `guides/` how to do one thing
+- `troubleshooting/` symptom → fix
+- `faq/` short answers
+- `reference/` lists and settings
+
+A folder's `index.md` names the folder in the sidebar. Files or folders starting with `_` are
+drafts and are not published.
+
+## Check before you push
+
+ node <path to your artcraft-services checkout>/frontend/apps/artcraft-website-next/scripts/docs/core.mjs docs/user
+
+The checker lives in storytold/artcraft-services. A CI check will be added once it is on that repo's main branch.
+
+## Support PRs
+
+Pages written to answer a user question come in as PRs titled `docs(support): <page title>`.
+Review them like code: check every claim against the source.
diff --git a/docs/user/CLAUDE.md b/docs/user/CLAUDE.md
new file mode 100644
index 000000000..e7bcfb70e
--- /dev/null
+++ b/docs/user/CLAUDE.md
@@ -0,0 +1 @@
+Read `AGENTS.md` in this folder: it has the rules for the user docs.
diff --git a/docs/user/faq/index.md b/docs/user/faq/index.md
new file mode 100644
index 000000000..c50180a39
--- /dev/null
+++ b/docs/user/faq/index.md
@@ -0,0 +1,10 @@
+---
+title: FAQ
+description: Short answers about PhotoCraft's price, Photoshop files and how it compares with Photoshop.
+order: 40
+verified: 0.8.2
+---
+
+- [Is PhotoCraft free?](is-photocraft-free.md)
+- [Can PhotoCraft open my Photoshop files?](open-photoshop-files.md)
+- [Can PhotoCraft replace Photoshop?](replace-photoshop.md)
diff --git a/docs/user/faq/is-photocraft-free.md b/docs/user/faq/is-photocraft-free.md
new file mode 100644
index 000000000..dd9946540
--- /dev/null
+++ b/docs/user/faq/is-photocraft-free.md
@@ -0,0 +1,14 @@
+---
+title: Is PhotoCraft free?
+description: PhotoCraft is free and open source under the MIT or Apache 2.0 license, and works offline.
+order: 10
+verified: 0.8.2
+---
+
+Yes. PhotoCraft is one of the Crafting Apps, which the project describes as free, open-source creative tools. The code is licensed under MIT or Apache 2.0, your choice, and is on [GitHub](https://github.com/storytold/photocraft).
+
+PhotoCraft works offline. Its smart selection tools run on your computer, with no cloud and no account.
+
+The ArtCraft logos in the repository are not open source.
+
+See [Install PhotoCraft](../getting-started/install.md) to download it.
diff --git a/docs/user/faq/open-photoshop-files.md b/docs/user/faq/open-photoshop-files.md
new file mode 100644
index 000000000..06fbe367b
--- /dev/null
+++ b/docs/user/faq/open-photoshop-files.md
@@ -0,0 +1,16 @@
+---
+title: Can PhotoCraft open my Photoshop files?
+description: PhotoCraft opens and saves layered PSD and PSB files and keeps what it does not understand yet.
+order: 20
+verified: 0.8.2
+---
+
+Yes. PhotoCraft opens, edits and saves layered PSD and PSB files, including 16-bit, 32-bit, CMYK and Lab documents.
+
+When it saves the file again, the picture renders the same for 307 of the 309 files in the psd-tools test set the project checks against. Parts PhotoCraft does not model yet, such as raw blocks and descriptors, are carried over instead of being dropped. A re-saved file is not byte for byte the same as the original, because PhotoCraft rewrites image resources, layer records and the composite.
+
+Text layers stay editable. In version 0.7.0 some of them moved when you started editing them; 0.8.2 fixes that, see [Text moves when I start editing a PSD text layer](../troubleshooting/text-moves-when-editing.md).
+
+Results vary from file to file. If a PSD does not open or looks wrong, search the issue tracker or report it with the file.
+
+PhotoCraft also opens layered TIFF, Paint.NET, OpenRaster, SVG, Krita and Affinity files (Krita and Affinity read only), and many flat formats. The full list is in [Open and save files](../guides/open-and-save-files.md).
diff --git a/docs/user/faq/replace-photoshop.md b/docs/user/faq/replace-photoshop.md
new file mode 100644
index 000000000..56027f270
--- /dev/null
+++ b/docs/user/faq/replace-photoshop.md
@@ -0,0 +1,12 @@
+---
+title: Can PhotoCraft replace Photoshop?
+description: Not yet. PhotoCraft is in early alpha and is not ready for daily professional work, but it follows Photoshop's menus and shortcuts.
+order: 30
+verified: 0.9.0
+---
+
+Not yet. PhotoCraft is in early alpha. Much of Photoshop's feature surface exists in some form, but the project says plainly that it is not yet a Photoshop replacement for daily professional work.
+
+The biggest gaps the project lists are AI and generative features, tools Photoshop has that PhotoCraft does not yet, depth in typography and professional workflows, and plug-in compatibility. Every Photoshop menu item is connected to a command, but that only shows the menu is wired up. Having a tool or command is not the same as matching Photoshop's behaviour.
+
+What PhotoCraft does well already: layers, masks, adjustment layers, layer styles, type, vector shapes, brushes and live-preview filters, in a menu and shortcut layout that follows Photoshop. See [PhotoCraft](../index.md) for an overview, and the [project roadmap](https://github.com/storytold/photocraft/blob/main/ROADMAP.md) for what comes next.
diff --git a/docs/user/getting-started/index.md b/docs/user/getting-started/index.md
new file mode 100644
index 000000000..2383e17f0
--- /dev/null
+++ b/docs/user/getting-started/index.md
@@ -0,0 +1,21 @@
+---
+title: Getting started
+description: Install PhotoCraft and open your first image.
+order: 10
+verified: 0.8.2
+---
+
+Install PhotoCraft, then open an image with **File › Open…**. The panels you use most are **Layers**, **Properties** and **History**.
+
+1. [Install PhotoCraft](install.md).
+2. Start PhotoCraft and choose **File › Open…**. To start from nothing, choose **File › New…** and click **Create**.
+3. Pick the **Horizontal Type Tool**, a selection tool or an adjustment, and work on the image. Every step is listed in the **History** panel and can be undone.
+4. Keep your layers with **File › Save As…** (PSD or PhotoCraft), or make a flat copy with **File › Export › Export As…**.
+
+The guides walk through each of these:
+
+- [Open and save files](../guides/open-and-save-files.md)
+- [Adjust colors without changing your pixels](../guides/adjust-colors-with-adjustment-layers.md)
+- [Select part of an image and mask it](../guides/select-and-mask.md)
+- [Add and style text](../guides/add-and-style-text.md)
+- [Export an image](../guides/export-an-image.md)
diff --git a/docs/user/getting-started/install.md b/docs/user/getting-started/install.md
new file mode 100644
index 000000000..975f7f3b7
--- /dev/null
+++ b/docs/user/getting-started/install.md
@@ -0,0 +1,59 @@
+---
+title: Install PhotoCraft
+description: Download PhotoCraft for Windows 10 or 11, macOS or Linux from getartcraft.com or GitHub, or install it with ArtCraft Launcher.
+order: 10
+verified: 0.8.2
+---
+
+The easiest way is the [PhotoCraft page on getartcraft.com](https://getartcraft.com/apps/photocraft). You can also install it with [ArtCraft Launcher](https://getartcraft.com/docs/craft-launcher/guides/install-and-update-apps), which lists PhotoCraft. For a specific build or file format, take it from the [latest release](https://github.com/storytold/photocraft/releases/latest) on GitHub. In the file names below, `<version>` stands for the version number, for example `0.8.2`.
+
+## Windows
+
+PhotoCraft needs Windows 10 or later. On Windows 7 and 8 the installer stops with "PhotoCraft needs Windows 10 or later."
+
+1. Open the [latest release](https://github.com/storytold/photocraft/releases/latest).
+2. Download `photocraft-<version>-windows-x64.msi`. It fits most PCs (64-bit Intel and AMD).
+3. Run the file and follow the installer.
+
+To run without installing, download `photocraft-<version>-windows-x64-portable.zip` instead and unzip it.
+
+| Your PC | Installer | Portable |
+|------------------------------------|------------------------------------------|---------------------------------------------------|
+| 64-bit Intel or AMD | `photocraft-<version>-windows-x64.msi` | `photocraft-<version>-windows-x64-portable.zip` |
+| Arm (Snapdragon and other Arm PCs) | `photocraft-<version>-windows-arm64.msi` | `photocraft-<version>-windows-arm64-portable.zip` |
+| 32-bit | `photocraft-<version>-windows-x86.msi` | `photocraft-<version>-windows-x86-portable.zip` |
+
+The installers and executables are code-signed.
+
+## macOS
+
+1. Download `photocraft-<version>-macos-universal.dmg`. It works on Apple silicon and Intel Macs, and is signed and notarized by Apple.
+2. Open it and drag PhotoCraft to Applications.
+
+## Linux
+
+Pick one file from the release. Use `x86_64` for Intel and AMD, or `aarch64` for Arm.
+
+| Format | File | Notes |
+|---------------------|----------------------------------------------|------------------------------------------------------------------------------------|
+| AppImage | `photocraft-<version>-linux-x86_64.AppImage` | Runs anywhere and needs no install. |
+| Debian and Ubuntu | `photocraft-<version>-linux-x86_64.deb` | |
+| Fedora and openSUSE | `photocraft-<version>-linux-x86_64.rpm` | |
+| Flatpak | `photocraft-<version>-linux-x86_64.flatpak` | Run `flatpak install --user <file>`, then `flatpak run ai.storyteller.photocraft`. |
+| Tarball | `photocraft-<version>-linux-x86_64.tar.gz` | Unpack it anywhere. |
+
+The first time you run the AppImage, it adds its icon and menu entry under `~/.local/share`. Set `PHOTOCRAFT_NO_DESKTOP_INTEGRATION=1` to skip that. For RISC-V, take the `riscv64` file: `photocraft-<version>-linux-riscv64.tar.gz`, `.deb` or `.rpm`. The RISC-V tarball needs glibc 2.39 or newer.
+
+On a Wayland session, files dropped on the PhotoCraft window do not open yet. Use **File › Open…** instead, or copy the image in your file manager and paste it with Ctrl+V. To drag and drop, start PhotoCraft under XWayland with `WAYLAND_DISPLAY= photocraft`. PhotoCraft shows the right command for your install in a notice until you dismiss it.
+
+## FreeBSD and the web
+
+FreeBSD 14 (x86_64) has a tarball, `photocraft-<version>-freebsd-x86_64.tar.gz`, laid out like `/usr/local`. The web version comes as `photocraft-web-<version>.zip`, a static site you host on any web server. It runs in a modern browser.
+
+## Check your download
+
+`SHA256SUMS.txt` on the release lists a checksum for every file.
+
+## Next step
+
+Open an image: [Open and save files](../guides/open-and-save-files.md).
diff --git a/docs/user/guides/add-and-style-text.md b/docs/user/guides/add-and-style-text.md
new file mode 100644
index 000000000..71dcd7db9
--- /dev/null
+++ b/docs/user/guides/add-and-style-text.md
@@ -0,0 +1,36 @@
+---
+title: Add and style text
+description: Add point or paragraph text with the Horizontal Type Tool in PhotoCraft, then give it a drop shadow or glow.
+order: 40
+verified: 0.8.2
+---
+
+Pick the **Horizontal Type Tool** (shortcut `T`), click on the canvas for a line of text or drag for a text box, and type. Text stays editable, so you can change the words and the style later.
+
+## Add text
+
+1. Choose the **Horizontal Type Tool** in the toolbox, or press `T`.
+2. Click the canvas to start a line of text (point text), or drag a rectangle to start a block of text (paragraph text).
+3. Type. The text is edited right on the canvas.
+4. Set the font, size, leading, tracking, alignment and color with the character and paragraph controls. Each typing session is one **Edit Type** step in the **History** panel.
+
+To switch between the two kinds later, use **Type › Convert to Paragraph Text** or **Type › Convert to Point Text**.
+
+## Edit the text later
+
+Pick the **Horizontal Type Tool** and click the text on the canvas. Text from a PSD that was made in Photoshop stays editable too. If PSD text jumps when you start editing it, update to 0.8.2; see [Text moves when I start editing a PSD text layer](../troubleshooting/text-moves-when-editing.md).
+
+To start new text on top of an existing text layer instead of editing it, hold `Shift` while you click.
+
+## Add a layer style
+
+1. Click the text layer in the **Layers** panel.
+2. Choose **Layer › Layer Style**, then an effect such as **Drop Shadow…**, **Outer Glow…**, **Stroke…** or **Bevel & Emboss…**. The **Layer Style** dialog opens.
+3. Adjust the effect and confirm.
+
+The other effects in the menu are **Inner Shadow…**, **Inner Glow…**, **Satin…**, **Color Overlay…**, **Gradient Overlay…** and **Pattern Overlay…**. **Layer › Layer Style** also has **Copy Layer Style** and **Paste Layer Style** to reuse a style on another layer, and **Hide All Effects**.
+
+## Turn text into shapes or pixels
+
+- **Type › Convert to Shape** makes vector shapes from the letters.
+- **Type › Rasterize Type Layer** turns the text into pixels. After that you can no longer edit the words.
diff --git a/docs/user/guides/adjust-colors-with-adjustment-layers.md b/docs/user/guides/adjust-colors-with-adjustment-layers.md
new file mode 100644
index 000000000..500ff3521
--- /dev/null
+++ b/docs/user/guides/adjust-colors-with-adjustment-layers.md
@@ -0,0 +1,32 @@
+---
+title: Adjust colors without changing your pixels
+description: Add a Curves, Levels or other adjustment layer in PhotoCraft so you can change or switch it off later.
+order: 20
+verified: 0.8.2
+---
+
+Use **Layer › New Adjustment Layer** and pick an adjustment. The change sits on its own layer above your image, so your original pixels stay as they were and you can edit or hide the adjustment later.
+
+## Add an adjustment layer
+
+1. Open your image and click the layer the adjustment should sit above in the **Layers** panel.
+2. Choose **Layer › New Adjustment Layer**, then an adjustment such as **Curves…**, **Levels…**, **Vibrance…** or **Hue/Saturation…**.
+3. Change the settings in the **Properties** panel, which shows the settings of the new layer.
+
+The same list is behind the button at the bottom of the **Layers** panel, labelled **Create new fill or adjustment layer** when you hover over it.
+
+The adjustments in the menu are **Brightness/Contrast**, **Levels**, **Curves**, **Exposure**, **Vibrance**, **Hue/Saturation**, **Color Balance**, **Black & White**, **Photo Filter**, **Channel Mixer**, **Color Lookup**, **Invert**, **Posterize**, **Threshold**, **Gradient Map** and **Selective Color**.
+
+## Limit it to one area
+
+1. Select the area first, for example with the **Elliptical Marquee Tool**. See [Select part of an image and mask it](select-and-mask.md).
+2. Add the adjustment layer as above.
+3. With the adjustment layer active, choose **Layer › Layer Mask › Reveal Selection**. The adjustment now shows only inside the selection.
+
+## Change it later
+
+Click the adjustment layer in the **Layers** panel and edit its settings in **Properties**. Every step you take is also listed in the **History** panel.
+
+## Apply an adjustment straight to the pixels
+
+If you do not need to change it later, use **Image › Adjustments**, for example **Image › Adjustments › Curves…**. These change the pixels of the layer directly and are not kept as a separate layer.
diff --git a/docs/user/guides/export-an-image.md b/docs/user/guides/export-an-image.md
new file mode 100644
index 000000000..82d5c5a4e
--- /dev/null
+++ b/docs/user/guides/export-an-image.md
@@ -0,0 +1,38 @@
+---
+title: Export an image
+description: Export a PNG, JPG, WebP, TIFF or TGA from PhotoCraft with a preview, a size estimate and a scale.
+order: 50
+verified: 0.8.2
+---
+
+Choose **File › Export › Export As…**, set the format, and click **Export**. The dialog shows a preview and an estimate of the file size before you save. Your layered document is not changed.
+
+## Export with settings
+
+1. Choose **File › Export › Export As…**.
+2. Under **File Settings**, pick a **Format**: **PNG**, **JPG**, **WebP**, **TIFF** or **TGA**.
+3. Set the options for that format:
+ - **JPG** and lossy **WebP** have a **Quality** slider from 1 to 100.
+ - **WebP** also has a **Lossless** checkbox.
+ - **TGA** has **Resolution**: **Auto**, **24 bits/pixel** or **32 bits/pixel**.
+ - **Transparency** keeps transparent areas. JPG has no transparency, so this checkbox is not shown for JPG and the image is flattened.
+ - **Metadata** is **None** or **All**.
+4. Under **Image Size**, set **Scale** in percent. The size in pixels shows below it.
+5. Check the preview on the right. The line under it shows the format and the estimated file size.
+6. Click **Export**, then choose a name and a place for the file.
+
+PhotoCraft shows "Exported" with the file path and size in the status bar when it is done.
+
+## Export in one step
+
+**File › Export › Quick Export as PNG** exports without asking about settings. It uses the format, quality, metadata and location you set in **File › Export › Export Preferences…**.
+
+## Export layers
+
+Choose **Layer › Export As…** (or **Layer › Quick Export as PNG**) to export only the active layer.
+
+With several layers or artboards selected in the **Layers** panel, both commands export each one as its own file. You choose a name and place once. The first file gets that name, and the others get the same name with a number and the layer name added.
+
+## Keep your layers
+
+Exporting makes a flat copy. To keep the layers, use **File › Save As…** with **PSD Document** or **PhotoCraft**; see [Open and save files](open-and-save-files.md).
diff --git a/docs/user/guides/index.md b/docs/user/guides/index.md
new file mode 100644
index 000000000..a493dc2c8
--- /dev/null
+++ b/docs/user/guides/index.md
@@ -0,0 +1,14 @@
+---
+title: Guides
+description: Step-by-step guides for the everyday tasks in PhotoCraft.
+order: 20
+verified: 0.8.2
+---
+
+- [Open and save files](open-and-save-files.md)
+- [Adjust colors without changing your pixels](adjust-colors-with-adjustment-layers.md)
+- [Select part of an image and mask it](select-and-mask.md)
+- [Add and style text](add-and-style-text.md)
+- [Export an image](export-an-image.md)
+
+Menu paths are written like **File › Open…**. Where a shortcut is shown, `Cmd` is the Ctrl key on Windows and Linux.
diff --git a/docs/user/guides/open-and-save-files.md b/docs/user/guides/open-and-save-files.md
new file mode 100644
index 000000000..0c2b4306a
--- /dev/null
+++ b/docs/user/guides/open-and-save-files.md
@@ -0,0 +1,32 @@
+---
+title: Open and save files
+description: Open a PSD or other image in PhotoCraft, and save it with its layers or as a flat copy.
+order: 10
+verified: 0.8.2
+---
+
+Open a file with **File › Open…** and keep your layers with **File › Save As…**, choosing **PSD Document** or **PhotoCraft** as the type. Formats such as PNG and JPEG are flat: they hold one image with no layers.
+
+## Open a file
+
+1. Choose **File › Open…**.
+2. Pick your file. The type menu in the dialog offers **All Formats**, **PhotoCraft**, **OpenRaster**, **Krita**, **SVG** and **Paint.NET**.
+3. Confirm in the dialog.
+
+You can also reopen a recent file from **File › Open Recent**. On Linux under Wayland, dropping a file on the window does not work yet; see [Install PhotoCraft](../getting-started/install.md).
+
+PhotoCraft opens PSD and PSB (including 16-bit, 32-bit, CMYK and Lab files), layered TIFF, Paint.NET (`.pdn`), OpenRaster (`.ora`), SVG, and the flat formats PNG, JPEG, TIFF, WebP, GIF, BMP, TGA, ICO, QOI, PNM, PCX, OpenEXR, Radiance HDR and FITS. Krita files (`.kra`) open as one image layer made from the picture Krita saved, without Krita's layers. HEIC and HEIF photos from iPhone and Mac open too, read only, and so do camera raw files such as DNG, CR2, CR3, NEF and ARW. It can also open Affinity files (`.af`, `.afphoto`, `.afdesign`, `.afpub`), read only; PhotoCraft cannot save Affinity files. Anything it cannot match exactly, such as layer effects and adjustments, is approximated or left out and PhotoCraft shows a warning.
+
+## Save with layers
+
+1. Choose **File › Save As…**.
+2. Pick **PSD Document** (`.psd` or `.psb`) to share the file with Photoshop, or **PhotoCraft** (`.pcraft`) for PhotoCraft's own format.
+3. Name the file and save.
+
+After that, **File › Save** saves into the same file. **File › Save a Copy…** saves a copy under a new name. While a large file saves, the status bar and the tab title show "Saving" with a percentage.
+
+The **Save As…** dialog also lists OpenRaster, PNG, JPEG, WebP, TIFF, Targa, OpenEXR and FITS. **File › Save** on an opened JPEG keeps its quality, and on a WebP keeps it lossy or lossless. Check the file extension in the name box: PhotoCraft writes the format that the extension names. If you want a flat PNG or JPEG with a size and quality preview, use [Export an image](export-an-image.md) instead.
+
+## Good to know
+
+Saving a PSD again keeps the layers and the rendered result, but the file is not byte for byte the same as the one you opened. PhotoCraft rewrites image resources, layer records and the composite. It keeps parts it does not model yet instead of dropping them.
diff --git a/docs/user/guides/select-and-mask.md b/docs/user/guides/select-and-mask.md
new file mode 100644
index 000000000..50f78b768
--- /dev/null
+++ b/docs/user/guides/select-and-mask.md
@@ -0,0 +1,40 @@
+---
+title: Select part of an image and mask it
+description: Make a selection with the marquee tools or Select Subject, soften its edge, and turn it into a layer mask in PhotoCraft.
+order: 30
+verified: 0.8.2
+---
+
+Pick a selection tool, drag around the area, then choose **Layer › Layer Mask › Reveal Selection** to show only that area. A mask hides part of a layer without erasing any pixels.
+
+## Make a selection
+
+Use one of these:
+
+- **Elliptical Marquee Tool** or **Rectangular Marquee Tool** for simple shapes. Drag on the canvas.
+- **Quick Selection Tool**, **Magic Wand Tool** or **Lasso Tool** to follow the edges of an object.
+- **Select › Subject** to let PhotoCraft pick the main subject. The **Quick Selection Tool** and **Object Selection Tool** also have a **Select Subject** button in the options bar. If nothing is found, PhotoCraft says "No subject found" and suggests the Object Selection or Lasso tool.
+
+Smart selection runs on your computer. It needs no account and no cloud.
+
+## Adjust the selection
+
+- **Select › Inverse Selection** swaps the selected and unselected areas.
+- **Select › Modify** has **Border…**, **Smooth…**, **Expand…**, **Contract…** and **Feather…**. Feather softens the edge.
+- **Select › Select and Mask…** refines an edge, for example around hair.
+- **Select › Deselect** removes the selection. **Select › Reselect** brings back the last one.
+
+## Turn the selection into a mask
+
+1. Click the layer you want to mask in the **Layers** panel.
+2. Choose **Layer › Layer Mask › Reveal Selection** to show only the selected area, or **Hide Selection** to hide it.
+
+To start with the whole layer visible or hidden and paint the mask yourself, use **Layer › Layer Mask › Reveal All** or **Hide All**.
+
+## Remove or apply a mask
+
+- **Layer › Layer Mask › Delete** removes the mask.
+- **Layer › Layer Mask › Apply** applies the mask to the layer's pixels.
+- **Layer › Layer Mask › Disable Layer Mask** (or **Enable Layer Mask**) switches the mask off and on.
+
+To limit a color adjustment to the selection, see [Adjust colors without changing your pixels](adjust-colors-with-adjustment-layers.md).
diff --git a/docs/user/index.md b/docs/user/index.md
new file mode 100644
index 000000000..29e229c0b
--- /dev/null
+++ b/docs/user/index.md
@@ -0,0 +1,25 @@
+---
+title: PhotoCraft
+description: PhotoCraft is a free, open-source image editor with layers, masks, type and real PSD files, built as an alternative to Adobe Photoshop.
+verified: 0.8.2
+---
+
+PhotoCraft is a free, open-source image editor with layers, masks, adjustment layers, layer styles, type, vector shapes and brushes. It is an alternative to Adobe Photoshop: the menus, panels, tools and shortcuts follow Photoshop's layout, so Photoshop users find things where they expect them.
+
+It is a native app written in Rust that draws the canvas on your graphics card, works offline, and opens and saves layered PSD files. It runs on macOS, Windows, Linux and FreeBSD, and a web version runs in the browser. PhotoCraft is in early alpha: much of Photoshop's feature surface exists, but it is not yet a Photoshop replacement for daily professional work. See [Can PhotoCraft replace Photoshop?](faq/replace-photoshop.md).
+
+## Start here
+
+- [Install PhotoCraft](getting-started/install.md)
+- [Your first edit](getting-started/index.md)
+- [Guides: open, adjust, select, type, export](guides/index.md)
+- [Troubleshooting](troubleshooting/index.md)
+- [FAQ](faq/index.md)
+
+## Part of the Craft App Suite
+
+PhotoCraft is one of the Crafting Apps from the ArtCraft team, next to VectorCraft, FilmCraft and the other Craft apps. You can install and update them from [ArtCraft Launcher](https://getartcraft.com/docs/craft-launcher).
+
+## Get help
+
+Ask in [Discord](https://discord.gg/artcraft) or open an issue in the [issue tracker](https://github.com/storytold/photocraft/issues). In PhotoCraft, **Help › Report an Issue…** opens the same issue tracker.
diff --git a/docs/user/troubleshooting/get-help.md b/docs/user/troubleshooting/get-help.md
new file mode 100644
index 000000000..ee8bc860e
--- /dev/null
+++ b/docs/user/troubleshooting/get-help.md
@@ -0,0 +1,19 @@
+---
+title: Get help with a problem
+description: How to ask for help or file a PhotoCraft bug so it can be fixed, and what to include.
+order: 30
+verified: 0.8.2
+---
+
+Open **Help › Report an Issue…**. It takes you to the [PhotoCraft issue tracker](https://github.com/storytold/photocraft/issues) on GitHub. You can also ask in [Discord](https://discord.gg/artcraft).
+
+## What to include
+
+1. What you did, step by step, and what you expected.
+2. What happened instead. A screenshot or a short video helps.
+3. Your system details. Choose **Help › System Info…**, click **Copy**, and paste the text into your message. It lists the PhotoCraft version, your operating system and processor, and your graphics adapter.
+4. The file, if one file causes it. Zip a PSD or other file and attach it. Leave it out if it contains anything private.
+
+## Before you post
+
+Search the tracker for your problem first. If someone already reported it, add your details there instead of opening a new issue. For known problems, see the other pages in [Troubleshooting](index.md).
diff --git a/docs/user/troubleshooting/index.md b/docs/user/troubleshooting/index.md
new file mode 100644
index 000000000..4785ae412
--- /dev/null
+++ b/docs/user/troubleshooting/index.md
@@ -0,0 +1,11 @@
+---
+title: Troubleshooting
+description: Fixes and workarounds for known PhotoCraft problems.
+order: 30
+verified: 0.8.2
+---
+
+- [PhotoCraft does not start](photocraft-does-not-start.md)
+- [The Windows taskbar turns black when PhotoCraft is maximized](taskbar-turns-black.md)
+- [Text moves when I start editing a PSD text layer](text-moves-when-editing.md)
+- [Get help with a problem](get-help.md)
diff --git a/docs/user/troubleshooting/photocraft-does-not-start.md b/docs/user/troubleshooting/photocraft-does-not-start.md
new file mode 100644
index 000000000..549f6bd65
--- /dev/null
+++ b/docs/user/troubleshooting/photocraft-does-not-start.md
@@ -0,0 +1,58 @@
+---
+title: PhotoCraft does not start
+description: PhotoCraft closes or crashes at startup on Windows PCs with Intel graphics (it uses DirectX 12 and picks a safer graphics mode after a crash) or on older Intel Macs (0.8.2 fixes one cause; no fix yet for Macs patched with OpenCore Legacy Patcher).
+order: 30
+verified: 0.8.2
+---
+
+On Windows, PhotoCraft starts Intel graphics on DirectX 12. If PhotoCraft closed while it was starting, start it again: it picks a safer graphics mode after a crash. On an older Intel Mac that shows a `Device(Lost)` error, update to 0.8.2, which fixes one cause; on Macs patched with OpenCore Legacy Patcher there is no fix yet.
+
+## Symptoms
+
+- Windows with Intel graphics (for example Intel UHD Graphics 630): PhotoCraft closes or crashes right after you start it. Windows Event Viewer shows an application error in `igvk64.dll` with exception `0xc0000005` ([issue 2320](https://github.com/storytold/photocraft/issues/2320), [issue 4](https://github.com/storytold/photocraft/issues/4)).
+- Intel Mac: the app icon bounces in the Dock and the app disappears. Started from Terminal, it prints `Error: Wgpu(RequestDeviceError(RequestDeviceError { inner: Core(Device(Lost)) }))` ([issue 1859](https://github.com/storytold/photocraft/issues/1859)).
+
+## Fix
+
+### Windows
+
+1. Use PhotoCraft 0.7.0 or later. Older builds do not have the steps below.
+2. Start PhotoCraft again. Double-clicking its icon or a `.pcraft` file works. PhotoCraft notes that the last start did not finish and uses the next safer graphics mode this time:
+ - A start on Vulkan is followed by one on DirectX 12.
+ - A start on DirectX 12 is followed by one on the CPU. The CPU mode does not depend on the graphics driver.
+3. If it started, nothing more to do. PhotoCraft remembers the mode that worked. You can see or reset it under **Edit › Preferences › Performance…** (on macOS, **PhotoCraft › Settings › Performance…**).
+
+If PhotoCraft still closes on every start, force DirectX 12 from PowerShell:
+
+1. Open PowerShell in the folder that contains `photocraft.exe`.
+2. Run these three lines:
+
+ $env:WGPU_BACKEND = "dx12"
+ & .\photocraft.exe
+ Remove-Item Env:WGPU_BACKEND
+
+The last line clears the setting so later launches use the default again. You need the first two lines each time you start PhotoCraft this way. While `WGPU_BACKEND` is set, PhotoCraft uses it and does not step down to a safer mode by itself ([issue 2320](https://github.com/storytold/photocraft/issues/2320)).
+
+### Intel Mac
+
+1. Update to PhotoCraft 0.8.2 or later. On Intel Macs it skips a set of graphics checks that macOS could not compile on older Intel graphics, such as Intel Iris Pro on macOS Monterey ([issue 3107](https://github.com/storytold/photocraft/issues/3107)).
+2. Start PhotoCraft again.
+
+If it still fails, there is no fix yet. This is the case reported on Macs patched with OpenCore Legacy Patcher, where setting `WGPU_BACKEND`, `--safe-gpu` and `PHOTOCRAFT_CPU_CANVAS=1` did not change the error ([issue 1859](https://github.com/storytold/photocraft/issues/1859)). Add your Mac model, macOS version and PhotoCraft version to that issue.
+
+## Why this happens
+
+On Windows, PhotoCraft draws with your graphics driver. Intel's Vulkan driver (`igvk64.dll`) crashed PhotoCraft on a UHD 630 PC with PhotoCraft 0.6.0, and the DirectX 12 setting above avoided the crash ([issue 2320](https://github.com/storytold/photocraft/issues/2320)). Since 0.7.0 PhotoCraft prefers DirectX 12 on Intel graphics. Before it opens the window, it writes a small file called `gpu-starting.json` in its settings folder and deletes it once the first frames are drawn. A start that crashed leaves the file behind, and the next start reads it and moves to the next safer mode.
+
+## Still stuck?
+
+See [Get help with a problem](get-help.md). Say which graphics card you have, which PhotoCraft version you use and how you started it. Add one of these:
+
+- If you can open PhotoCraft: the text from **Help › System Info…**.
+- If PhotoCraft does not open at all: the log file `photocraft.log`, plus the faulting module and exception code from Event Viewer on Windows. PhotoCraft keeps it in a `logs` folder inside its settings folder:
+ - Windows: `%APPDATA%\Photocraft\logs\photocraft.log`
+ - macOS: `~/Library/Application Support/Photocraft/logs/photocraft.log`
+ - Linux: `~/.config/photocraft/logs/photocraft.log`
+ - Portable copy (a `portable.txt` file next to the program): the `PhotoCraftData\logs` folder next to the program.
+
+ Every start moves the previous log to `photocraft.1.log`. If you already started PhotoCraft again after the crash, attach `photocraft.1.log` too, because it holds the run that crashed.
diff --git a/docs/user/troubleshooting/taskbar-turns-black.md b/docs/user/troubleshooting/taskbar-turns-black.md
new file mode 100644
index 000000000..0c8f5b733
--- /dev/null
+++ b/docs/user/troubleshooting/taskbar-turns-black.md
@@ -0,0 +1,29 @@
+---
+title: The Windows taskbar turns black when PhotoCraft is maximized
+description: On Windows 11, PhotoCraft 0.7.0 can turn the taskbar black or hide it when maximized. PhotoCraft 0.8.2 fixes this; update.
+order: 10
+verified: 0.8.2
+---
+
+Update PhotoCraft. Version 0.7.0 on Windows 11 could turn the taskbar black or hide it while the window was maximized. PhotoCraft 0.8.2 includes the fix.
+
+## Symptoms
+
+- You maximize the PhotoCraft window, or switch it to full screen, and the Windows taskbar turns completely black or is hidden.
+- After you resize the window and maximize it again, a black bar the height of the taskbar stays at the bottom of the screen.
+
+## Fix
+
+1. Check your version with **Help › System Info…**, which starts with "PhotoCraft" and the version.
+2. If it is older than 0.8.2, download the [latest release](https://github.com/storytold/photocraft/releases/latest) or update with [ArtCraft Launcher](https://getartcraft.com/docs/craft-launcher). See [Install PhotoCraft](../getting-started/install.md).
+3. Start PhotoCraft again and maximize the window.
+
+A user who saw the black taskbar on 0.7.0 confirmed that it is gone in 0.8.2 ([issue 3864](https://github.com/storytold/photocraft/issues/3864)).
+
+## Why this happens
+
+PhotoCraft draws its own title bar. When such a window was maximized, Windows sized it to cover the whole screen, taskbar included, took it for a full-screen app and dropped the taskbar's background. The fix keeps a maximized PhotoCraft window clear of the taskbar ([issue 3144](https://github.com/storytold/photocraft/issues/3144), [pull request 3308](https://github.com/storytold/photocraft/pull/3308)).
+
+## Still stuck?
+
+If you still see it on 0.8.2, add your Windows version and PhotoCraft version to [issue 3864](https://github.com/storytold/photocraft/issues/3864), or ask in [Discord](https://discord.gg/artcraft). As a test, you can switch on **System title bar** under **Edit › Preferences › Interface…**, click **Apply** and restart PhotoCraft; Windows then draws the title bar. See [Get help with a problem](get-help.md) for what to include.
diff --git a/docs/user/troubleshooting/text-moves-when-editing.md b/docs/user/troubleshooting/text-moves-when-editing.md
new file mode 100644
index 000000000..7130c8c7c
--- /dev/null
+++ b/docs/user/troubleshooting/text-moves-when-editing.md
@@ -0,0 +1,29 @@
+---
+title: Text moves when I start editing a PSD text layer
+description: In PhotoCraft 0.7.0, a text layer from a Photoshop file can jump when you click it with the Type tool. PhotoCraft 0.8.2 fixes the known causes; update.
+order: 20
+verified: 0.8.2
+---
+
+Update PhotoCraft. In version 0.7.0, a text layer from a Photoshop file could jump or disappear when you started editing it. PhotoCraft 0.8.2 reads the text's styles and position the way Photoshop saved them, so the text stays where it was.
+
+## Symptoms
+
+- You open a PSD that was made in Photoshop and click one of its text layers with the **Horizontal Type Tool**. The text shifts, often to the left, as soon as editing starts.
+- Centered text may show as left-aligned in the options bar.
+- In some files, text that you click can disappear.
+
+## Fix
+
+1. Check your version with **Help › System Info…**. If it is older than 0.8.2, download the [latest release](https://github.com/storytold/photocraft/releases/latest) or update with [ArtCraft Launcher](https://getartcraft.com/docs/craft-launcher).
+2. Open the PSD again and click the text layer with the **Horizontal Type Tool**.
+
+If you already saved the file in 0.7.0 after the text moved, the moved text is now in the file. Go back to your original PSD if you still have it.
+
+## Why this happens
+
+Clicking a PSD text layer with the Type tool starts editing it, and PhotoCraft then lays the text out itself instead of showing the pixels Photoshop saved. PhotoCraft 0.7.0 read the alignment and size of each run of text only from Photoshop's default styles, and ignored part of the text position that recent Photoshop versions store. Both are fixed in 0.8.2 ([issue 3795](https://github.com/storytold/photocraft/issues/3795), [pull request 3819](https://github.com/storytold/photocraft/pull/3819)).
+
+## Still stuck?
+
+If text still moves in 0.8.2, keep a copy of the original with **File › Save a Copy…**, then report it in the [issue tracker](https://github.com/storytold/photocraft/issues) with the PSD (zipped) and the Photoshop version that saved it. You can also ask in [Discord](https://discord.gg/artcraft). See [Get help with a problem](get-help.md).