Skip to content
Image Editing & Retouching

A Practical Guide to Layer Masks

Learn how layer masks work, when to use pixel or vector masks, how to fix halos and hard edges, and how to keep retouched files clean and editable.

Imogen Clarke Imaging & 3D Lead 26 min read 26 views
A Practical Guide to Layer Masks

Layer masks are grayscale images attached to a layer that decide which parts of that layer show and which parts are hidden, without erasing a single pixel. Paint white on the mask and the layer shows through; paint black and it disappears; paint gray and it shows partway. Because the underlying pixels are never touched, any decision you make with a mask can be revised minutes or months later. That one property is why masks sit at the center of professional retouching, compositing and product imagery.

This briefing is written for two audiences. If you commission or manage image work, whether as a marketer, an e-commerce lead or a studio owner, the executive summary and the final sections explain what masks mean for revision speed, file handoff and the quality problems you can see on screen. If you do the work yourself, the middle sections go into the mechanics: how mask values translate into opacity, how to build clean edges on hair and glass, when a vector mask beats a pixel mask, and how to audit a layered file before it goes to a client.

The guidance here is anchored to Adobe Photoshop terminology because that is what most studios and clients exchange files in, but the principles carry over to Affinity Photo, GIMP, Capture One layers and most other editors that support per-layer masking.

Whitereveals the layer
Blackhides the layer
Graypartially reveals it
256gray levels in an 8-bit mask

Executive Summary: Why Layer Masks Decide Whether an Edit Can Be Undone

Every image edit falls into one of two camps. Destructive edits change the pixels themselves: erasing a background, painting over a blemish directly on the photo, or cropping and saving over the original. Non-destructive edits sit on top of the pixels and can be switched off, adjusted or removed. Adobe's own documentation on non-destructive editing in the Adobe Help Center frames masks, adjustment layers and smart objects as the core tools for working this way, and that framing matches how production studios actually operate.

Layer masks are the most frequently used of those tools because they answer the most frequent question in image editing: where should this change apply? A color correction that should only touch the sky, a replacement background that should sit behind the product, a skin smoothing pass that should stay off the eyes and lips. All of those are masking problems.

For a business, the practical consequences are straightforward:

  • Revisions are cheaper. When a client asks for a tighter cutout or a softer shadow, a masked file can be adjusted in minutes. An erased file often has to be rebuilt from the original capture.
  • Quality problems are fixable. Halos, jagged edges and leftover specks are mask defects. They can be corrected on the mask rather than by reshooting or restarting.
  • Files have a longer life. A product shot masked once can be placed on white for a marketplace, on a lifestyle backdrop for social media and on a transparent layer for a print catalog, all from the same master.
  • Handoff is cleaner. A well-named, well-masked layered file can be picked up by another retoucher or an in-house designer without guesswork.

Masking instead of erasing is the single habit that separates a file you can revise from a file you have to rebuild.

The rest of this briefing explains how masks work in enough depth to use them well, where they go wrong, and what to ask for when you hire the work out.

How Layer Masks Work: Grayscale Values as Opacity

A layer mask is a single-channel grayscale image the same size as the document. Each pixel in the mask has a value from black to white, and that value sets how opaque the corresponding pixel of the layer is. In an 8-bit document there are 256 possible levels; in a 16-bit document there are far more, which matters for smooth gradients across large areas such as skies and studio sweeps.

The value-to-opacity mapping

The mapping is linear and predictable. White at 100 percent brightness shows the layer at full strength. Black hides it completely. A mid gray around 50 percent brightness shows the layer at roughly half opacity. That means you can think of a mask as a painted map of opacity, and every tool that can paint or filter a grayscale image can also shape a mask: brushes, gradients, blurs, Levels, Curves, and filters such as Minimum and Maximum.

Three consequences follow from this model:

  1. Soft transitions are just gradients. A graduated sky blend is a black-to-white Gradient tool drag on the mask, not a special feature.
  2. Edge quality lives in the gray pixels. The few pixels of gray along a mask edge decide whether a cutout looks natural or pasted on. A mask with no gray at all produces a stair-stepped, aliased edge.
  3. Stray gray is a defect. A speck of dark gray inside a region that should be fully white leaves a faint hole in the layer. On a busy background you may never see it; on a flat white e-commerce background it shows as a smudge.

Mask, layer opacity and fill are separate controls

A layer's Opacity slider scales the whole layer uniformly. The mask scales it pixel by pixel. The two multiply together: a pixel that is 50 percent gray on the mask on a layer set to 50 percent opacity ends up at about 25 percent visibility. Keeping layer opacity at 100 percent and doing all selective work in the mask makes files easier to read, because anyone opening the file can see the intent in the mask thumbnail rather than hunting for a number buried in a slider.

In Photoshop, the Properties panel adds two further mask controls: Density, which lightens the black areas of a mask so hidden regions partly show, and Feather, which blurs the mask edge live without committing the blur. Both are non-destructive on top of a non-destructive tool, which is useful when you are still negotiating an edge with a client.

Insight: Because a mask is only a grayscale image, the best masks are often not painted at all. They are borrowed from the photo itself.

  • A channel with high contrast between subject and background (often blue for sky, red for skin against foliage) can be copied, pushed with Levels or Curves, and loaded as a mask.
  • Luminosity masks built from the image's own brightness give adjustments that follow the light naturally.
  • Painting by hand is then reserved for cleanup, which is faster and more accurate than painting the whole edge.
What to do and what to avoid with layer masks, side by side
Good practice against the usual mistakes, from the sources listed below.

Pixel Masks, Vector Masks and Clipping Masks Compared

Photoshop and most comparable editors offer several kinds of masking, and choosing the right one for the subject is the first technical decision on any job. The reference guidance is simple: pixel masks for soft or irregular subjects, vector masks using paths for hard-edged shapes. In practice, many professional files use both on the same layer.

Pixel (raster) layer masks

These are the grayscale masks described above. They can hold any shape and any softness, which makes them the right choice for hair, fur, foliage, smoke, motion blur, out-of-focus edges and any subject whose outline is not a clean geometric line. Their weakness is resolution: a pixel mask is tied to the document's pixel grid, so if you later enlarge the image, the mask is resampled along with it and edges can soften or step. Resampling explains why an edge that looked crisp at the original size can blur after a resize.

Vector masks

A vector mask is defined by a path drawn with the Pen tool or a shape tool. Because it is mathematical rather than pixel-based, it renders a crisp edge at any size and can be edited point by point. That makes vector masks the standard for manufactured products with defined silhouettes: bottles, electronics, packaging, furniture, jewelry settings and anything with straight lines or smooth curves. The same thinking about resolution independence appears in work on vector graphics and logos, and it applies to product cutouts for the same reasons.

The trade-off is that a vector edge is perfectly hard by default. Photographed objects almost never have perfectly hard edges; lens resolution and slight defocus always leave a transition of a pixel or two. A small feather on the vector mask, set in the Properties panel, restores that transition without giving up editability.

Clipping masks

A clipping mask is not a mask channel at all. It clips one layer to the visible shape of the layer beneath it, so a texture, color fill or adjustment only affects that base layer. Clipping is the tidy way to apply a correction to a single cutout element in a composite without painting a second, duplicate mask. It pairs naturally with adjustment layers: clip a Curves layer to a product layer and the correction follows the product mask automatically.

Group masks

A mask can also sit on a layer group. Everything inside the group is then masked together, which is how complex composites stay manageable: one group per element, one mask per group, and individual layer masks inside the group only for local corrections.

Mask typeBuilt fromBest forMain limitation
Pixel layer maskGrayscale pixels painted, filtered or loaded from a selection or channelHair, fur, foliage, soft focus, gradual blends, local adjustmentsTied to document resolution; can soften when resized
Vector maskPen or shape pathsProducts, packaging, electronics, architecture, any hard or geometric edgeHard by default; needs feathering to look photographic
Clipping maskThe transparency and mask of the layer belowApplying textures, fills and adjustments to a single elementDepends entirely on the base layer's shape
Group maskPixel or vector mask on a layer groupMasking a multi-layer element as a unit in compositesCan hide problems in the layers beneath if not checked
Combined pixel plus vectorBoth on the same layerProducts with a hard body and soft elements such as a fabric strap or fringeTwo masks to maintain; must be named and documented

Building Clean Layer Masks: A Working Procedure

The following sequence is how an experienced retoucher builds a production mask, whether the subject is a product on a seamless or a portrait for a composite. It assumes Photoshop, but the stages apply in any editor.

  1. Duplicate and protect the original. Keep the raw background layer untouched and locked. Work on a copy, or better, convert the base to a smart object if you expect to rerun filters later.
  2. Make the best selection you can first. Use Select Subject, the Object Selection tool, the Quick Selection tool, Color Range or a channel-based selection depending on the subject. A good starting selection saves more time than any cleanup.
  3. Refine in Select and Mask. Use the Refine Edge brush on hair and fur, adjust Smooth, Feather, Contrast and Shift Edge, and turn on Decontaminate Colors only when background color is bleeding into fine edges. Output as a new layer with layer mask so the original stays intact.
  4. Tighten the mask with Levels. With the mask selected, apply Levels and pull the black and white input sliders inward slightly. This removes faint gray haze in areas that should be solid while keeping the edge transition.
  5. Paint the remaining problems. Use a soft brush at low flow for gradual fixes and a hard brush for defined edges. Press D for default colors and X to swap between black and white. Build strokes up gradually rather than painting at full strength.
  6. Check against contrasting backgrounds. Place solid color fill layers beneath the subject: white, black and a saturated color such as magenta or bright green. Every halo, fringe and gap shows up on at least one of them.
  7. Inspect the mask itself. Alt-click (Option-click on Mac) the mask thumbnail to view the mask alone. Look for specks, gray patches and broken edges at 100 and 200 percent zoom.
  8. Name everything. Rename the layer and group to describe what they contain and what the mask does, then save as a layered PSD or TIFF.

Why Levels on the mask beats painting

Most automatic selections leave a faint haze: areas of the background at 5 to 15 percent gray instead of pure black, and areas of the subject slightly below pure white. Painting those out by hand is slow and uneven. Moving the Levels black point in until the background reads solid black, and the white point in until the subject reads solid white, fixes the whole mask at once while preserving the transition pixels in between. Go too far and the edge becomes hard and jagged, so work while viewing the composite at 100 percent zoom rather than the mask alone.

Choking and spreading an edge

When a cutout shows a thin line of the old background, the mask edge is sitting slightly outside the subject. Shift Edge in Select and Mask, or Filter > Other > Minimum with a radius of 1 pixel applied to the mask, pulls the edge inward. The opposite filter, Maximum, pushes it outward when the subject looks trimmed. Work in single-pixel steps on high-resolution files; a 2-pixel choke on a 6,000-pixel-wide product shot is already a visible change at full size.

Brush settings that matter

Flow and opacity behave differently on a mask. Opacity caps how dark a single stroke can go no matter how many times you pass over it within one stroke; flow builds up with repeated passes. For blending two exposures or feathering a sky, a soft brush at 100 percent opacity and 5 to 15 percent flow gives the most control. For edges along a hard product, a hard brush at 100 percent opacity and flow, guided by a selection or path, is faster and cleaner.

Edges, Feathering and Halos: Where Masks Usually Fail

Almost every visible masking problem is an edge problem. The subject itself rarely looks wrong; the transition between subject and background does. Understanding the specific failure modes makes them faster to diagnose and cheaper to fix.

Hard edges on soft subjects

A mask with no transition pixels on a subject that was photographed with any softness at all (hair, knitwear, a slightly out-of-focus shoulder) looks cut out with scissors. The reference guidance names this as one of the key mistakes to avoid. The fix is to match the mask edge to the actual sharpness of the photographed edge: examine the original at 200 percent zoom and count roughly how many pixels the real transition spans, then feather or refine the mask to a similar width. A crisp product edge may span 1 to 2 pixels; a model's hair against a bright background can span many more.

Halos and color fringing

A halo is a light or dark outline around the subject, left over from the original background. It usually has one of two causes. Either the mask edge sits slightly outside the subject, in which case a small choke solves it, or the edge pixels themselves carry background color, which is common with fine hair shot against a colored backdrop. In the second case, choking the mask would cut away real hair. Instead, use Decontaminate Colors, or add a clipped layer that paints subject-matched color into the edge region, or use a clipped Hue/Saturation layer to neutralize the fringe color. Understanding how blend modes change the way layers combine helps here, because a Color or Multiply blend on a clipped layer is often the cleanest way to kill a fringe without touching the mask.

Feathering at the wrong scale

Feather values are measured in pixels, so the same number means very different things at different resolutions. A 2-pixel feather on a 6,000-pixel master is about 0.67 pixels once that image is downsized to 2,000 pixels for the web, which is essentially invisible. The same 2-pixel feather applied to a 1,200-pixel web file is a clearly soft edge. The practical rule is to mask at full resolution, judge edges at 100 percent zoom on the master, and then preview the export size before approving. This is also why the pixel count, not the DPI number in the file header, is what governs how an edge will look.

Stray specks and holes

Specks are small patches of white left in a background that should be black, or small patches of black left inside a subject that should be white. They come from automatic selections picking up background detail, from accidental brush clicks and from dust or reflections in the original. They are easy to miss in the composite view and obvious in the mask view. A quick way to find them is to add a temporary Threshold adjustment layer above everything while viewing the mask, or to Alt-click the mask and scan at 100 percent in a grid pattern across the frame.

A cutout almost never looks wrong because of the subject. It looks wrong because of the few pixels of gray at its edge.

Layer Masks in Real Retouching and Compositing Work

Masks show up in almost every stage of a production retouch. Knowing where they fit makes it easier to plan a file that stays editable from first pass to final delivery.

E-commerce product cutouts

Marketplace and catalog images typically need the product on a pure white or transparent background, often with a natural or constructed shadow. The professional approach is a vector mask for the product's hard outline, a pixel mask for any soft component, and a separate shadow layer beneath with its own mask. Keeping the shadow separate means it can be removed for a transparent PNG, softened for a lifestyle page or darkened for a marketplace that prefers grounded products. Apparel adds a specific twist: the ghost mannequin process depends on masking the mannequin out of one shot and masking the inside back of the garment in from another, and the join between those two masks is where most quality problems appear.

Portrait and beauty retouching

In portrait work, masks are how global corrections become local. A Curves layer that brightens the face is masked so it stops at the hairline. A skin smoothing layer is masked off the eyes, brows, lips and nostrils. Both frequency separation and dodge and burn retouching rely on masked layers to confine texture and tone changes to specific areas, and both become far easier to revise when those masks are kept rather than merged.

Composites and background replacement

Compositing is masking at its most demanding. Each element gets its own group with its own mask, and the realism of the result depends on edge quality, light direction, color matching and shadows. Masks also control light wrap, the subtle spill of background brightness onto the subject's edge that makes a composite look photographed rather than assembled. That effect is usually built as a blurred copy of the background, clipped to the subject and masked so it only touches the outer few pixels.

Exposure blending and landscape work

Blending a bright exposure for the sky with a darker exposure for the foreground is a masking task. Hand-painted gradients work for simple horizons; luminosity masks work better when trees, buildings or mountains break the skyline, because they select by brightness rather than by drawn shape.

Masks on smart objects and filters

When a layer is a smart object, filters applied to it become smart filters with their own filter mask. That lets you apply sharpening, blur or noise reduction and then paint away the effect where it is not wanted, all while keeping the filter settings editable. The planning behind smart objects and when to use them goes hand in hand with masking decisions, because the combination gives you two layers of reversibility on the same edit.

Insight: The number of masks in a file is less important than their structure. A composite with forty masks can be easy to revise if each one sits on a clearly named group, and a file with five masks can be unworkable if they are scattered across unnamed layers with no logic to their order.

Worked Example: Masking a 60-Image Product Batch

The following example is illustrative. It shows how the decisions above play out on a realistic job and how the numbers drive the plan; it does not describe a specific client project.

A home goods brand needs 60 product images for its online store and a print catalog. The set includes 40 hard-edged items (ceramic mugs, glass jars and wooden boards) and 20 soft items (woven throws with fringed edges and knitted cushions). The source files are 6,000 by 4,000 pixels. Deliverables are a 2,000-pixel square web image on pure white with a soft contact shadow, a transparent PNG for the design team, and a layered master for the print catalog.

Planning the mask strategy

  • Hard items: Pen tool paths saved in the Paths panel, applied as vector masks with a 0.5 to 1 pixel feather to match the lens softness at 6,000 pixels. The saved path doubles as a clipping path if the print team needs one.
  • Glass jars: Vector mask for the outer silhouette, plus a pixel mask on a duplicated layer to bring back partial transparency where the background shows through the glass. A mid-gray value in that region lets a small amount of the new white background read through, which looks natural.
  • Soft items: Select Subject followed by Select and Mask with the Refine Edge brush along fringes, output to a layer mask, then Levels on the mask to clear background haze.
  • Shadows: A separate layer beneath each product in Multiply blend mode, with its own mask, so it can be switched off for the PNG export.

Estimating the effort

Planning assumptions like these vary by operator and subject, so treat them as a way of reasoning rather than a benchmark. Suppose a clean vector path on a simple mug takes around 5 to 8 minutes, a glass jar with the transparency treatment 12 to 20 minutes, and a fringed throw 15 to 25 minutes because the fringe must be refined strand group by strand group. Using the midpoints, 25 mugs and boards at about 6.5 minutes, 15 jars at about 16 minutes and 20 soft items at about 20 minutes come to roughly 162, 240 and 400 minutes respectively, or a little over 13 hours of masking before shadows, color correction, quality control and export.

Item groupCountMask approachPlanning estimate per imageGroup total (midpoint)
Mugs and boards25Vector mask, 0.5 to 1 px feather5 to 8 minAbout 162 min
Glass jars15Vector silhouette plus pixel transparency mask12 to 20 minAbout 240 min
Throws and cushions20Select and Mask, Levels cleanup, hand painting15 to 25 minAbout 400 min
All items60MixedNot applicableAbout 13.4 hours

What the example shows

The soft items are a third of the batch but consume nearly half the masking time. That is typical: masking effort scales with edge complexity, not with image count. It also shows why reusability matters. If the brand later wants the same products on a colored lifestyle background, the vector masks and refined pixel masks already exist, so that second use costs a small fraction of the first. Had the backgrounds been erased, every edge would need to be rebuilt.

The export step deserves one more calculation. Downsizing from 6,000 pixels to 2,000 pixels is a factor of three, so a 1-pixel feather on the master becomes about a third of a pixel on the web image. Edges that looked slightly soft at 100 percent on the master will look crisp on the web, and edges that looked perfectly hard on the master may look aliased once downsampled. Previewing the final export size is part of mask quality control, not a separate step. Choosing the right export settings then matters too, because aggressive compression can introduce artifacts along high-contrast mask edges if the JPEG quality is set too low.

File Hygiene: Naming, Structure and Handoff

The reference guidance is blunt about unnamed layer stacks, and for good reason. A layered file is only as useful as its legibility to the next person who opens it, and that next person is often the same retoucher six months later.

A naming convention that holds up

Good names say what the layer is and what the mask does. "Layer 14 copy 3" says nothing. "Product - vector mask - main body" and "Shadow - Multiply - mask fades left" tell a colleague exactly what to adjust. A useful pattern is element, then operation, then mask purpose, separated by hyphens. Groups should be named for the element they contain: Product, Shadow, Background, Color corrections, Retouch.

Structure from bottom to top

A consistent stack order makes files predictable. From the bottom: the locked original, the background or backdrop, shadows, the masked subject group, local corrections clipped to the subject, global corrections, and any output-specific layers such as a white fill for web or a crop guide for print. Color-coding groups in the Layers panel by role is a small habit that saves real time on large composites.

Saving and delivering layered files

Masks survive in PSD and layered TIFF files. Photoshop's standard PSD format supports documents up to 30,000 pixels on a side and 2 GB in size; larger work needs the Large Document Format (PSB). Flattened JPEG and PNG exports discard the masks, so the layered master must be saved separately every time. This is especially relevant for large format print work, where the master file can grow quickly once high-resolution masks, smart objects and 16-bit channels are involved.

Before a layered file leaves the studio, run through these checks:

  • No pixels erased from the original; all hiding done with masks.
  • Every layer, group and mask purpose named in plain language.
  • Masks inspected alone at 100 percent for specks, holes and gray haze.
  • Composite checked against white, black and a saturated color fill.
  • Soft subjects have soft mask edges; hard products use vector masks with a small feather.
  • Export previewed at final pixel dimensions before approval.
  • Layered master saved as PSD, PSB or layered TIFF alongside flattened deliverables.

Layer Masks Terminology for Buyers and Specialists

Briefs and revision notes go faster when client and retoucher share vocabulary. These are the terms that come up most often in masking conversations.

Layer mask
A grayscale image attached to a layer that controls its visibility pixel by pixel: white reveals, black hides, gray partially reveals.
Vector mask
A mask defined by a path rather than pixels, producing crisp, resolution-independent edges for hard-edged shapes.
Clipping mask
A relationship in which a layer only shows within the visible area of the layer directly beneath it.
Feather
A softening of the mask edge measured in pixels, used to match the natural softness of a photographed edge.
Density
A Properties panel control that lightens the black parts of a mask so hidden areas partially show.
Halo
A visible light or dark outline around a masked subject, left from the original background.
Choke
Pulling a mask edge inward to remove background fringe; its opposite, spreading, pushes the edge outward.
Luminosity mask
A mask generated from the image's own brightness values, used to target highlights, midtones or shadows.
Decontaminate Colors
A Select and Mask option that replaces background-colored edge pixels with nearby subject color.

Business Implications: Cost, Speed and Quality Control

For anyone managing image production rather than doing it, masking decisions show up in three places: how quickly revisions come back, how consistent a large set looks, and whether assets can be reused.

What drives masking effort

Effort, and therefore cost and turnaround, is driven mainly by edge complexity. Clean silhouettes on seamless backgrounds are fast. Hair, fur, fringe, lace, glass, chrome reflections, motion blur and busy original backgrounds are slow. Resolution adds to that, since high-resolution files show more edge detail that has to be dealt with. When you request quotes, describing the subjects precisely (for example "30 ceramic items, 10 items with fabric fringe, all on gray seamless") gets far more accurate estimates than an image count alone.

What to specify in a brief

  • Whether you need the layered master, and in which format (PSD, PSB or layered TIFF).
  • Whether masks must stay live and editable, or whether flattened finals are sufficient.
  • Required outputs: white background, transparent PNG, clipping path, shadow on or off.
  • Final pixel dimensions for every output, since edge softness is judged at delivery size. Specifying sizes per channel up front avoids re-exports later.
  • Naming conventions, if your team will open and edit the files.

How to review masking work without being a retoucher

You do not need to open the layers to catch most problems. View each image at 100 percent zoom on a good monitor. Look at the outline of the subject against the background, particularly where hair, fabric or transparent material meets it. Place a sample on a dark background as well as a light one; halos that disappear on white often jump out on black. If you receive layered files, turning off the background layer and viewing the subject over a checkerboard reveals specks and fringe immediately.

When to Bring in Specialist Help With Layer Masks

Many in-house teams mask competently for simple work. The reference guidance points to two clear signals that it is time to bring in help: composites showing halos or hard edges, and files that must stay editable for clients.

Signs the work has outgrown in-house capacity

  • Visible edge defects persist after several revision rounds. Halos, fringing and cut-out-looking edges usually mean the masking method, not the effort, needs to change.
  • Subjects are difficult by nature. Hair against busy backgrounds, glass and liquid, lace and mesh, and fine jewelry each have established techniques that take practice to execute consistently.
  • Deliverables must be editable by someone else. Agencies and brands increasingly want layered masters they can adapt later. That requires disciplined naming, structure and mask quality, not just a clean flattened export.
  • Volume and consistency matter. Hundreds of images need the same edge treatment, shadow style and background value, which calls for a documented process.

A specialist layer masking service should be able to show you masked files, not only finished images, and to explain which mask type they chose for each subject. For broader work that combines masking with color correction, cleanup and retouching, a full image editing and retouching service can take the job from raw capture through to channel-ready exports.

Verdict Layer masks are the reason professional edits stay revisable. Mask instead of erasing, match edge softness to the subject, use vector masks for hard products, check every cutout against contrasting backgrounds, and name everything. Files built that way cost less to change, look better at every output size and remain useful long after the first delivery.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Image Editing & Retouching work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

Frequently asked questions

The eraser permanently deletes pixels from a layer, so undoing it later means going back to the original file. A layer mask only hides pixels, and painting white on the mask brings them back at any time. That reversibility is why professionals mask instead of erasing.
Use a vector mask for subjects with hard, defined outlines such as bottles, electronics, packaging and furniture. Vector masks stay crisp at any size and can be edited point by point. Add a small feather so the edge matches the natural softness of the photograph.
That outline is a halo left over from the original background. Either the mask edge sits slightly outside the subject, which a one-pixel choke usually fixes, or the edge pixels carry background color, which calls for color decontamination or a clipped correction layer instead.
Match the feather to how soft the real edge is in the photo, judged at 100 percent zoom on the full-resolution file. Crisp product edges often need well under two pixels, while hair and fabric need more. Always preview at the final export size, because downsizing makes feathers effectively smaller.
No. JPEG and PNG exports are flattened, so masks are applied and then discarded. Keep a layered master in PSD, PSB or layered TIFF format alongside every flattened export so the masks remain editable.
View each image at 100 percent zoom and study the outline where hair, fabric or glass meets the background. Place the image on both a light and a dark background, since halos hidden on white often show on black. Stray specks and rough edges show up quickly this way.
All services

The work behind this article, and what it costs.

Imogen Clarke

Stills, retouching and real-time 3D. Writes about color management, asset pipelines and getting heavy visual work into a browser.

Keep reading

More in Image Editing & Retouching