Skip to main content

Remove backgrounds and select subjects in PhotoCraft

Remove backgrounds free and offline in PhotoCraft: Remove Background, Select Subject, Object Selection and the new Select and Mask workspace, plus their limits.

Unofficial community guideUpdated Nov 1, 2026

Yes, PhotoCraft removes backgrounds for free, offline and without an account. Select a pixel layer and click Remove Background under Quick Actions in the Properties panel. PhotoCraft finds the subject and hides everything else with a layer mask, so no pixels are deleted and you can repaint the mask. For more control, make a selection with Select › Subject, the Object Selection tool or Quick Selection, then refine it in Select › Select and Mask… (Ctrl+Alt+R, ⌘⌥R on macOS), which in v0.18.0 (31 October 2026) became Photoshop's full-window workspace (#8896). There's nothing optional to download. All of this runs on your own computer with classical image analysis, not AI. PhotoCraft v0.18.0 has no machine-learning models at all, as explained below.

Get PhotoCraft from the download page, or try the same tools in the browser with the online editor.

Remove Background in one click

Remove Background has been in PhotoCraft since v0.5.0. #734 added it as Layer › Remove Background, and #824, in the same release, made it a Quick Action like Photoshop's. It has no menu item.

  1. Open the photo and select its layer in the Layers panel.
  2. Open Window › Properties if the panel isn't showing.
  3. In the panel's Quick Actions section, click Remove Background.

What it does, all as one undo step:

  • Finds the subject with the same method as Select › Subject (below), looking at the selected layer's own pixels. On a layer that doesn't fill the canvas, it looks only where the layer has pixels.
  • Refines the edge lightly: a 2 px Smart Radius, Smooth 10, Feather 0.5 px and Contrast 10%, so hair and soft edges get partial transparency instead of a hard cut.
  • Adds a layer mask from the result. The layer's pixels stay as they were. A Background layer becomes a normal layer first, so it can be transparent.
  • Deselects, leaving the mask for you to check.

It works on unlocked pixel layers only, and the button only shows for one. Rasterize a type, shape or smart object layer first, and turn off Lock image pixels or Lock all. If the layer already has a mask, the new one replaces it. When nothing stands out from the background, it stops with "no subject found" and changes nothing.

To fix the result, paint on the mask with black and white, or double-click the mask thumbnail to refine it in Select and Mask. The double-click opens Select and Mask by default; it's a setting in Edit › Preferences › Tools….

The method: classical segmentation

Upstream calls it "classical": no learned model, just published image-analysis methods. Select Subject breaks the image into superpixels, scores how much each one stands out from the frame (saliency), and uses that to seed GrabCut, a graph-cut segmentation. A second GrabCut pass recovers parts of the subject whose colour is close to the background, and the edge is then re-cut at full resolution. v0.18.0 makes those cuts faster with the Boykov-Kolmogorov solver (#9961).

Upstream's own source says it "works well for a distinct object on a comparatively plain background; it is not a semantic segmenter". A product shot, a portrait against a wall or a pet on a lawn usually works. A busy street, several people, or a subject the same colour as its background often doesn't, and then the tools below do better.

Which selection tool to use

Tool or commandWhereBest for
Remove BackgroundProperties › Quick ActionsOne subject on a plain background, when you want a mask straight away
Select › SubjectSelect menu, and the Select Subject button in the options bar of Object Selection, Quick Selection and the Magic WandThe same detection as a selection, so you can add, subtract or refine before masking
Object Selection (W)ToolbarOne object among several. Drag a rectangle around it. With Object Finder on (the default), resting the pointer highlights an object and a click selects it
Quick Selection (W)ToolbarPainting a selection that follows edges. Alt (⌥) subtracts. Enhance Edge smooths the edge as you go
Magic Wand (W)ToolbarFlat colour, such as a studio backdrop or a logo on white. Set Tolerance (default 32) and Contiguous, then invert the selection
Select › Color Range…Select menuA colour or tone across the whole image (sampled colours, reds, highlights, skin tones and so on), with Fuzziness
Select › Sky, Select › Focus Area…Select menuThe sky, or the sharp part of a photo with a blurred background. Both are classical too

Shift+W cycles the three W tools; see the tools list and the shortcuts cheat sheet. The options bars of these tools have Sample All Layers. Without it, Select Subject and the others look at the selected layer only, and at the merged image when no pixel layer is selected (#5515). With Object Selection, Shift adds to the selection and Alt subtracts.

For a background that is one flat colour, two other tools can skip the selection step. Filter › Other › Color to Alpha… turns a chosen colour into transparency, which suits logos and scans on white. The Magic Eraser and Background Eraser (E) erase similar colours directly, but they delete pixels instead of masking them.

A good routine: run Select Subject or Remove Background first, fix the missed parts with Quick Selection or Object Selection (Shift adds, Alt subtracts), then refine the edge.

Refine the edge in Select and Mask

Select › Select and Mask… (Ctrl+Alt+R, ⌘⌥R) opens over the whole window. It needs a selection or a layer mask to start from. If there's no selection but the layer has a mask, or the mask is targeted, it refines the mask and outputs back to it. That's the usual follow-up to Remove Background. The Select and Mask… button also sits in the options bars of the marquee, lasso and Magic Wand tools, and in the Properties panel of a mask.

v0.18.0 replaced the earlier parameter dialog with Photoshop's layout (#8896): an options bar across the top, tools on the left, the document in the middle, and the Properties panel on the right. Everything you do in it is kept as a list of edits. OK applies them all as one history step, Cancel throws them away, and Ctrl+Z (⌘Z) inside the workspace undoes one edit at a time. The same workspace is in the online editor.

Tools

ToolKeyWhat it does
Quick SelectionWPaints the selection out to edges, as on the main canvas
Refine Edge BrushRPainting marks an area, such as hair, where transparency is worked out from the image. Painting with Subtract (or Alt) restores the original edge there
BrushBPaints the selection directly, with a Hardness setting
Object SelectionWDrag a rectangle around an object, or click one with Object Finder
Lasso, Polygonal LassoLDraw areas to add or subtract by hand
Hand, ZoomH, ZMove and zoom the view. Holding Space also pans

The options bar has Add and Subtract (Alt swaps them while held), Size for the brushes ([ and ] change it), Sample All Layers, and Select Subject. Refine Hair is there but greyed out, because PhotoCraft has no hair detection yet (#2671).

View Mode

Pick a view from the View list or press its letter. F cycles through them, and holding X shows the image without any view.

ViewKeyShows
Onion SkinOThe selection over a see-through veil (Transparency 50% by default). The view it opens in
Marching AntsMThe selection outline
OverlayVA coloured overlay (red, 50% opacity), on the masked areas or, with Indicates set to Selected Areas, on the selection
On BlackAThe cut-out on black. Good for spotting light fringes
On WhiteTThe cut-out on white. Good for spotting dark fringes
Black & WhiteKThe mask itself
On LayersYThe cut-out over the layers beneath it

Below the list: Show Edge (J) shows only the band that edge detection works on, and Show Original (P) shows the selection before refinement. Real-Time Refinement (on by default) updates the preview while you paint. High Quality Preview (off by default) previews at full size instead of on a copy at most 1,600 px on its longer side.

Refine Mode, Edge Detection and Global Refinements

  • Refine Mode: only Color Aware works. Object Aware is greyed out, because it needs a segmentation model (#2788).
  • Edge Detection: Radius (0 to 250 px) sets how wide a band around the edge is reconsidered. Smart Radius varies that width along the edge, tight on hard edges and wider on hair or fur.
  • Global Refinements: Smooth (0 to 100) evens out a jagged outline, Feather (0 to 1,000 px) blurs the edge, Contrast (0 to 100%) sharpens a soft one, and Shift Edge (-100 to 100%) moves the whole edge in or out. Negative Shift Edge helps cut off a halo of background colour. Clear Selection and Invert are buttons here too.

Output Settings

Decontaminate Colors, with its Amount, replaces the background colour that bleeds into the subject's edge pixels with colour from nearby subject pixels. It needs new pixels, so it limits Output To to the new layer and new document targets.

Output ToResult
SelectionThe refined selection, on the same layer. The default when you start from a selection
Layer MaskA mask on the selected layer. The default when you start from a mask
New LayerA copy of the layer with the background cut away. The original layer is hidden
New Layer With MaskA copy of the layer with the refined mask. The original is hidden. Decontaminate Colors picks this
New DocumentA new document of the same size, mode, bit depth and profile, holding the cut-out. The original document isn't touched
New Document With MaskThe same, with the cut-out as a masked layer

Remember Settings at the top keeps your settings for the next time. Without it, Select and Mask starts from its defaults each time (#9444). Reset returns to the defaults. Photoshop's Presets aren't there yet.

Keys inside the workspace

KeyAction
W, Shift+WQuick Selection or Object Selection; Shift+W switches between them
R, BRefine Edge Brush, Brush
L, Shift+LLasso or Polygonal Lasso; Shift+L switches between them
H, Z, SpaceHand, Zoom, pan while held
[, ]Smaller or larger brush
Alt (⌥), heldSwap Add and Subtract
O M V A T K Y, FPick a view; cycle the views
X, heldShow the image without the view
J, PShow Edge, Show Original
Ctrl+Z, Ctrl+Shift+Z (⌘Z, ⌘⇧Z)Undo or redo one edit
Backspace or DeleteRemove the last point of a polygon being drawn
EnterClose a polygon being drawn, otherwise OK
EscDrop a polygon being drawn, otherwise Cancel

On-device AI models: not in v0.18.0

PhotoCraft v0.18.0 has no AI selection or background removal, on-device or online. Select Subject, Object Selection and Remove Background all use the classical method above, in the desktop app, the command line and the online editor alike. There's no model to download, no setting to switch, and no build flag that adds one: the apps' only optional build feature in v0.18.0 is HEIC support. Edit › Preferences › AI Integrations… is about letting automation agents control the app, not about models.

You may read otherwise elsewhere. #1199 would have added two optional on-device models that run on the CPU, downloaded and chosen in Preferences: BiRefNet HR Matting for subject cut-outs and SAM 2.1 Large for box selection. GitHub shows it as merged, and the v0.17.0 release notes list it. But it was reverted on 25 October 2026, about an hour after it landed, before v0.17.0 was tagged. Neither v0.17.0 nor v0.18.0 contains the code. The reviewers' stated reason was that local models should probably come through a shared AI layer for all of the project's Craft apps instead of a PhotoCraft-only one. Upstream's scorecard still lists "Local ONNX models behind a flag, managed in Preferences" as missing in v0.18.0, with "No ONNX runtime dependency".

The PR did include an exploratory comparison on 20 photos, run against an older engine. In it, the classical Remove Background matched the reference subject with a mean IoU of 31.5%, against 51.5% for BiRefNet. The author calls it a selected pilot rather than a representative test, and the classical code has changed since, but it shows the size of the gap. If local models arrive in a later release, this page will say so.

Cleaning up the edge

  • Hair and fur. Paint over the hair with the Refine Edge Brush, with Smart Radius on and a Radius of a few pixels, and check it in On Black and On White. There's no Refine Hair button yet, so the brush is the tool for it.
  • Coloured fringes. Turn on Decontaminate Colors in Select and Mask. On a cut-out that's already a layer, use Layer › Matting: Color Decontaminate…, Defringe…, or Remove Black Matte and Remove White Matte for edges taken off black or white.
  • A halo of old background. Try a small negative Shift Edge, or Contrast to firm up a soft edge.
  • Missed areas. Paint on the mask: black hides, white reveals. Or add and subtract with Quick Selection in Select and Mask.
  • Apply the mask with Layer › Layer Mask › Apply when you need the transparency baked into the pixels. Exports don't need it, because they apply the mask for you.

Saving with transparency

FormatUse it forNotes
PNGThe usual cut-outTransparency at 8 or 16 bits. File › Export › Quick Export as PNG is one click
WebPSmaller files for the webKeeps transparency, lossless by default or lossy with a quality. v0.18.0 also adds WebP to File › Export › Save for Web (Legacy)… (#6421)
TIFFPrint and archiveKeeps transparency, and the layers too if you choose a layered TIFF
PSDMore editing, here or in PhotoshopKeeps the layer and its mask, so the cut-out stays editable
.pcraftMore editing in PhotoCraftKeeps everything
JPEGNot for cut-outsJPEG has no transparency

Use File › Save As… or File › Export › Export As… for any of them. Every format is compared in file formats.

Many images at once

Remove Background is an ordinary command (layer.removeBackground), so actions can record it and the command line can run it.

In the app. In the Actions panel (Window › Actions), record a new action, click Remove Background under Quick Actions, and stop recording. Then use File › Automate › Batch… with that action and PNG as the format. More in the actions guide.

From a terminal. One file:

photocraft-cli run photo.jpg --cmd layer.removeBackground --out photo-cutout.png

A whole folder takes an action list. A JSON file holding just the command id is enough:

# remove-bg.json
["layer.removeBackground"]
photocraft-cli batch --actions remove-bg.json --in photos --out cutouts --format png

batch creates the output folder, writes <name>.png for each image, and refuses an output folder that is the input folder. An image where no subject is found counts as failed, and the rest carry on. Check the results: the classical method does well on some photos and badly on others. Automation agents can call the same command over MCP; see MCP and CLI.

PhotoCraft can also play Photoshop .atn actions. Their Select Subject and Select and Mask steps are mapped to PhotoCraft's, but a Photoshop Remove Background step isn't, so record that action again in PhotoCraft.

Limits

Upstream's v0.18.0 scorecard and gap list say where this stands:

  • No learned segmentation. Upstream's gap list includes "ML Select Subject/Sky" among the missing AI features, and the local-models row is missing. Select Subject and Remove Background are heuristics, so check every result.
  • Select and Mask is partial on the scorecard: the workspace, the seven views, the Refine Edge Brush and the six outputs are done, but Refine Hair (#2671), Object Aware (#2788) and Presets are missing.
  • Speed. Upstream's benchmark of a repeated Select Subject on a 24-megapixel photo measures 559 ms (median) against a 100 ms target, on a heavily loaded test machine. A first run on a large photo takes longer. In the online editor the work runs in the page itself, so the editor waits until it finishes.
  • Color Range can't detect faces yet.
  • Remove Background works only on unlocked pixel layers and replaces an existing mask.

The comparison with Photoshop, GIMP and Photopea covers the wider picture.

Generative fill

PhotoCraft has no generative fill or generative expand; upstream lists both as missing. For removing objects it has non-generative tools: the Remove tool (J) and Edit › Content-Aware Fill…, which rebuild an area from the rest of the photo. If you need AI generative fill, GenerativeFill.ai is a separate browser tool made by this site's maker.

Troubleshooting

Remove Background is missing from Quick Actions. The selected layer isn't a pixel layer, or its pixels are locked. Select the photo's layer, rasterize the layer, or turn off Lock image pixels or Lock all in the Layers panel.

"no subject found", or Select Subject does nothing. The background is too busy or too close to the subject's colours. Drag a rectangle with Object Selection, or paint with Quick Selection.

Select and Mask is greyed out. It needs a selection or a layer mask first.

The cut-out has a light or dark outline. Use Decontaminate Colors, a small negative Shift Edge, or Layer › Matting.

The exported image has a white background. It was saved as JPEG. Use PNG, WebP or TIFF.

More help is in Troubleshooting.

Related guides

PhotoCraft vs Photoshop, GIMP and Photopea: an honest comparison

PhotoCraft compared with Photoshop, GIMP and Photopea: price, licence, PSD support, AI, plug-ins, automation and maturity, and who should try PhotoCraft today.

How to change PhotoCraft's language

Switch PhotoCraft's interface to Chinese, Japanese, Korean, Arabic or 21 other bundled languages without restarting, plus right-to-left layout, IME input tips and what stays in English.

PhotoCraft keyboard shortcuts cheat sheet

Every default PhotoCraft keyboard shortcut for Windows, Linux and macOS: menus, tools, spring-loaded tool keys, type formatting, brush size, opacity keys, layer navigation, and how to customise them.

PhotoCraft tools: the complete list

Every PhotoCraft tool in v0.18.0: all 68, grouped as on the toolbar, with each one's shortcut key, what it does, when it arrived and which are still limited.

PhotoCraft brushes and Photoshop .abr files

Use Photoshop brushes without Photoshop: import .abr files free in PhotoCraft, turn images into brush tips, and set up Brush Settings, pen pressure and presets.

PhotoCraft file formats: what it opens and saves

Which files PhotoCraft opens and saves: PSD/PSB, GIMP XCF, Affinity, Paint.NET, OpenRaster, Krita, SVG, HEIC, camera RAW, TIFF, WebP, EXR, FITS, DPX, DDS and more, with bit depths and limits.

Open GIMP XCF files in PhotoCraft and convert XCF to PSD

Open GIMP .xcf files without GIMP in free PhotoCraft, with layers, groups, masks and blend modes, then convert XCF to PSD, PNG or OpenRaster, singly or in bulk.

PhotoCraft actions and Photoshop .atn files

Use Photoshop actions without Photoshop: load .atn files in PhotoCraft's free Actions panel, see which steps play, save sets back and batch whole folders.

Automate PhotoCraft with the CLI and MCP

Batch-convert PSDs with photocraft-cli and connect Claude Code, Claude Desktop or Cursor to PhotoCraft's open-source MCP server, with scoped file access.

PhotoCraft troubleshooting: crashes, install, display

Fixes for PhotoCraft crashes at launch, GPU and Wayland problems, pen pressure, saving errors and text bugs, plus where the logs are and how to report a bug.