Sub topic 7
Choosing an interpolation method
This chapter assumes you know how pixel dimensions, resolution, and the Resample option in the Image Size dialog work. It covers what Photoshop does when it creates or removes pixels, which interpolation method to pick for each job, and the errors that cause soft or damaged results.
What interpolation does
When Resample is on and you change pixel dimensions, Photoshop must decide the color of every pixel in the new image. The new pixel grid does not line up with the old one. A new pixel usually sits between several old pixels, so Photoshop calculates its color from the nearby originals. The calculation is called interpolation, and the algorithm is the interpolation method.
- Upsampling adds pixels. Photoshop has to invent color values from neighbors, so no real detail is added.
- Downsampling removes pixels. Photoshop has to merge many old pixels into fewer new ones, so detail is lost.
The method matters most at the extremes: large enlargements, large reductions, and images with hard edges such as pixel art or screenshots.
The methods in the Image Size dialog
The Resample menu in Image Size (Alt+Ctrl+I on Windows, Option+Cmd+I on macOS) lists these choices. Names and the exact list vary a little between versions, and some options appear only when Preserve Details is available.
| Method | How it works | Best for |
|---|---|---|
| Automatic | Photoshop picks a method based on whether you enlarge or reduce | A safe default when you are unsure |
| Preserve Details 2.0 | Enlarges using a detail-aware algorithm, with a Reduce Noise slider | Enlarging photos |
| Bicubic Smoother | Bicubic with extra smoothing | Enlarging when you want fewer artifacts |
| Bicubic Sharper | Bicubic tuned to keep sharpness | Reducing |
| Bicubic | Weighs a wider neighborhood of pixels, smooth gradients | General photos, balanced results |
| Bilinear | Averages the four nearest pixels | Fast, medium quality |
| Nearest Neighbor | Copies the closest pixel with no blending | Hard-edged graphics, pixel art |
In Photoshop's interface, Bicubic Sharper is labeled "Bicubic Sharper (reduction)", and Bicubic Smoother is labeled "Bicubic Smoother (enlargement)". Those labels are Adobe's recommendations for each direction.
How the main methods differ
Nearest Neighbor
Nearest Neighbor gives each new pixel the color of the single closest old pixel. It never blends colors, so it creates no new colors and keeps hard edges exactly hard. On photos this produces jagged, blocky edges. On pixel art, icons, and screenshots, those hard edges are what you want. Enlarging pixel art by a whole-number factor (2x, 3x, 4x) with Nearest Neighbor gives a clean result, because each old pixel becomes an exact block.
Bilinear
Bilinear averages the four nearest pixels (a 2 by 2 neighborhood). It is faster than bicubic and smoother than nearest neighbor, but it often looks soft.
Bicubic and its variants
Bicubic looks at a 4 by 4 neighborhood (16 pixels) and weights them by distance. It produces smoother tonal gradients than bilinear. The two variants change the weighting:
- Bicubic Smoother softens the result, which hides the blocky or ringing artifacts that can appear when you enlarge.
- Bicubic Sharper adds contrast along edges, which counteracts the softness that reducing normally causes.
Sharper can create bright halos around edges if you reduce by a large amount. If you see halos, switch to plain Bicubic.
Preserve Details 2.0
Preserve Details 2.0 is built for enlarging. It uses a trained model to keep edges and texture sharper than bicubic does. Its Reduce Noise slider smooths the noise that enlarging tends to amplify. Start near 0 to 20 percent for clean images and raise it if the result looks grainy. Too high a value gives a waxy, painted look.
Choosing a method by task
Use this decision order:
- Is the image pixel art, a screenshot, or a graphic with hard edges at a whole-number scale? Use Nearest Neighbor.
- Are you enlarging a photo? Try Preserve Details 2.0, then Bicubic Smoother if it looks too processed.
- Are you reducing a photo for the web? Use Bicubic Sharper.
- Are you unsure? Use Automatic.
A worked comparison
Suppose you have a 1500 by 1000 pixel photo and you need it at 3000 by 2000 pixels for a larger print. That is a 200 percent enlargement.
- Open Image > Image Size.
- Turn Resample on.
- Set Width to 3000 px. With the chain link active, Height changes to 2000 px.
- Set the Resample menu to Preserve Details 2.0.
- Zoom the preview to 100 percent and drag across a detailed area, such as hair or text.
- Switch the menu to Bicubic Smoother and compare the same area.
- Pick the one with the better edges and less visible noise, then click OK.
The dialog preview shows the result at the zoom level you set, so always judge at 100 percent. At smaller zoom levels, differences between methods are hidden.
Common errors
- Judging at the wrong zoom. At 25 or 50 percent view, every method looks similar. Compare at 100 percent.
- Using Bicubic Sharper on enlargements. It exaggerates edges and noise that enlarging already creates.
- Using Nearest Neighbor on photos. It produces stair-step edges on diagonal lines and a rough look overall.
- Using Nearest Neighbor at non-integer scales. A 150 percent enlargement copies some pixels twice and others once, so the pattern looks uneven. Stay with whole-number factors, or switch method.
- Resizing in many small steps. Each resample adds a small amount of softening or artifacts, and they accumulate. Make one resize from the original instead of several.
- Expecting detail to appear. Even the best method cannot recover detail that was never captured. A very small image enlarged 400 percent will look smooth or processed, not sharp.
- Resampling when Resample is off. If Resample is off, no interpolation happens and the Resample menu is unavailable. Only the document size and resolution values change.
Interpolation and Smart Objects
Interpolation runs every time the pixels are changed. If you scale a normal pixel layer down and then back up with Free Transform, the first reduction throws away data and the enlargement can only guess it back. A Smart Object keeps the original pixels and applies the interpolation from the original each time, so repeated scaling does not accumulate loss. The interpolation method for Free Transform is set in Preferences, under General, in the Image Interpolation menu. The Image Size dialog has its own Resample menu that applies to that command.
Interpolation in scripts
In ExtendScript, you choose the method with a ResampleMethod constant passed to Document.resizeImage. This matches the example from the plan:
// Photoshop ExtendScript (.jsx)
app.preferences.rulerUnits = Units.PIXELS;
var doc = app.activeDocument;
// Reduce to 1200 px wide, keep proportions, 72 ppi, using Bicubic Sharper.
var newHeight = Math.round(doc.height.value * 1200 / doc.width.value);
doc.resizeImage(UnitValue(1200, "px"), UnitValue(newHeight, "px"), 72, ResampleMethod.BICUBICSHARPER);Other constants include ResampleMethod.NEARESTNEIGHBOR, ResampleMethod.BILINEAR, ResampleMethod.BICUBIC, ResampleMethod.BICUBICSMOOTHER, and ResampleMethod.BICUBICSHARPER. Passing ResampleMethod.NONE changes the resolution without resampling.
Summary of decisions
- Hard-edged art at whole-number scales: Nearest Neighbor.
- Photo enlargement: Preserve Details 2.0 or Bicubic Smoother.
- Photo reduction: Bicubic Sharper, or Bicubic if you see halos.
- No clear preference: Automatic.
- Always compare at 100 percent and resize once from the original.
Exercise
You have a 600 by 400 pixel pixel-art sprite and need it at 1800 by 1200 pixels without blurring the edges. Which Resample method do you choose, and why does the scale factor matter?
Show answer
Choose Nearest Neighbor. It copies the closest pixel without blending, so edges stay hard. The scale here is 300 percent, a whole-number factor of 3, so each original pixel becomes an exact 3 by 3 block. A non-integer factor such as 250 percent would copy some pixels more often than others and make the result look uneven.
Exercise
You reduce a photo from 6000 px wide to 1200 px wide for a website and notice bright halos along high-contrast edges. Which method were you probably using, and what should you switch to?
Show answer
You were probably using Bicubic Sharper. It boosts edge contrast, and a large reduction can exaggerate that into halos. Switch to plain Bicubic, or Automatic, and compare again at 100 percent.