Affinity Photo AI Layer Splitter vs Manual Masking
In this article
Affinity Photo's AI layer splitter (the "Split Layer" action in the Develop Persona) can separate a photo into foreground and background layers with one click, but it is not a replacement for manual selections and masking when you need precise, editable control. The short answer: the AI splitter works well for quick, rough separations of a clearly defined subject against a simple background, while manual selections and masking remain the only reliable method for complex edges, fine details, and any work that requires pixel-level accuracy.
What the AI Layer Splitter Actually Does
The AI layer splitter is part of Affinity Photo's Develop Persona, introduced in version 1.10. It uses a machine-learning model to estimate which pixels belong to the main subject and which belong to the background. When you run it, it creates two new layers: one with the subject and one with the background, each with a mask. You can then edit them independently—for example, brightening the subject without affecting the sky.
The key limitation is that the splitter is a one-shot, non-destructive operation. It does not give you a selection outline that you can refine with the brush tools. The resulting masks are fixed unless you manually paint on them afterward. Also, the splitter only works on RAW files in the Develop Persona. If you are editing a JPEG or a layered document, you cannot use it at all.
How Manual Selections and Masking Work
Manual selection in Affinity Photo uses a combination of tools: the Selection Brush, the Magic Wand, the Pen tool for paths, and the Refine Selection dialog. After you make a selection, you can add a layer mask from it. The mask is a grayscale image that controls layer opacity—white reveals, black hides, and gray gives partial transparency.
The strength of the manual approach is control. You can zoom in to 100% and paint with a soft brush to clean up edges, use the Refine Selection's edge detection to handle hair or fur, and adjust the mask's density and feathering at any time. You can also combine multiple selections—for example, using the Magic Wand for the sky and the Selection Brush for the subject—to build a complex mask that the AI splitter would likely miss.
When the AI Splitter Is the Right Choice
- Quick background swaps: If you just need to drop a new sky behind a portrait and the original background is fairly plain, the splitter can get you 80% there in seconds.
- RAW-only workflow: Since it lives in the Develop Persona, it fits naturally into a RAW editing pipeline before you move to the Photo Persona for fine adjustments.
- Non-destructive editing: The splitter creates layers with masks, so you can always go back and paint on the mask later if the initial separation is imperfect.
- Learning tool: For beginners, seeing what the AI considers the subject can be a helpful starting point, even if you end up redoing the mask manually.
When You Must Use Manual Selections
- Complex edges: Hair, fur, leaves, or any subject with fine, irregular details will often be mangled by the AI splitter. Manual refinement with the Refine Selection brush is necessary.
- Multiple subjects: The splitter assumes one main subject. If you have two people or a group of objects, it will likely group them incorrectly.
- JPEG or layered files: The splitter is unavailable outside the Develop Persona, so any non-RAW work requires manual selection.
- Precise compositing: When you need to match lighting, color, and shadows between layers, you need the ability to tweak the mask edge by edge—manual is the only way.
Common Problems and How to Solve Them
Problem 1: The AI splitter leaves a halo. This happens when the mask includes a light fringe from the background. Solution: after splitting, select the subject layer's mask, use the Defringe command (Layer > Defringe) or manually paint with a black brush at low opacity along the edge.
Problem 2: The selection brush selects too much or too little. Adjust the brush size and hardness. Use the "Add" and "Subtract" modes to refine. If the edge is still off, switch to the Refine Selection dialog and use the "Edge Refine" brush.
Problem 3: The Magic Wand selects similar colors across the whole image. Lower the tolerance and check the "Contiguous" option so it only selects connected areas. If that fails, use the Pen tool to trace the subject and convert the path to a selection.
Problem 4: The mask has jagged edges. Apply a slight feather (usually 0.5–1 pixel) to the mask, or use the Gaussian Blur filter on the mask itself. Be careful not to overdo it, or you'll lose detail.
How to Choose: A Practical Decision Tree
- Is the image a RAW file? If no, go straight to manual selection.
- Is the subject clearly separated from the background (e.g., a person against a solid wall)? If yes, try the AI splitter first—it's fast.
- After splitting, inspect the mask at 100% zoom. Are the edges clean? If yes, you're done. If not, refine manually.
- Do you need to make fine adjustments to the mask later (e.g., for a composite)? If yes, plan to do manual selection from the start, because the splitter's mask is harder to edit than a fresh selection.
Costs and Alternatives
Both methods are included in Affinity Photo's one-time purchase price (around $70 for the full suite, but check the official site for current pricing). There is no extra cost for the AI splitter. Alternatives to Affinity Photo's built-in tools include third-party plugins like Topaz Mask AI or the selection tools in Adobe Photoshop, but those require separate subscriptions or purchases. For free options, GIMP offers manual selection tools but no AI splitter.
Frequently Asked Questions
Can I use the AI layer splitter on a JPEG?
No. The AI layer splitter is only available in the Develop Persona, which processes RAW files. For JPEGs, you must use manual selection tools in the Photo Persona.
Does the AI splitter work on portraits with hair?
It can work on simple hair against a plain background, but it often struggles with fine strands or hair that blends with the background. You'll likely need to refine the mask manually with the Refine Selection brush.
Is the AI splitter non-destructive?
Yes, it creates new layers with masks, so the original image is untouched. You can delete the split layers and go back to the original at any time.
Can I edit the mask after using the AI splitter?
Yes, you can paint on the mask with black or white brushes to hide or reveal parts of the layer. However, the mask is not a live selection, so you can't easily re-run the AI or adjust its parameters.
Which method is faster for a simple background swap?
The AI splitter is faster for a quick, rough swap. If the background is uniform and the subject is well-defined, it can take under a minute. Manual selection would take longer but give you more control over edge quality.
Why does my manual mask have white fringes around the subject?
That's a common issue caused by the selection including a slight halo of the background. Use the Defringe command (Layer > Defringe) or manually contract the selection by 1–2 pixels before creating the mask.