photomopOpen the studio

Resolution and scaling

Interpolation

Also called resampling, image interpolation or resample. Here is what it means, when it changes what you export, and what people get wrong.

Resolution and scalingRuns on your deviceUpdated 10 August 2026

The short answer

Interpolation is how software works out pixel values at positions that did not exist before, which is what happens whenever you resize, rotate or warp an image. It estimates each new pixel from its neighbours using a chosen filter. Interpolation redistributes the information already present; it never adds more.

Updated

The short version

Interpolation at a glance

Quick facts about Interpolation: also called, happens during, common default, best for shrinking, adds new detail, exception
Quick factDetail
Also calledResampling
Happens duringResizing, rotating, warping, lens correction
Common defaultBicubic
Best for shrinkingLanczos or area averaging
Adds new detailNo
ExceptionLearned super-resolution, a different process

Slide the table sideways to see every column.

How does it actually work?

The program builds the output grid first, then asks where each output pixel would have sat in the input. Those coordinates almost never land on a whole number: an output pixel might map to input position 12.4, 7.8, which is between four known samples. The interpolation filter decides how to turn the surrounding known pixels into one value, and how many of them to consult. That single decision is the difference between a crisp resize and a mushy one.

Which filters are there and what do they trade?

MethodPixels readSpeedBest forWeakness
Nearest neighbour1FastestPixel art, label maps, whole-number scalingBlocky, aliases badly when shrinking
Bilinear4 (2 x 2)FastLive previews, small adjustmentsNoticeably soft
Bicubic16 (4 x 4)ModerateGeneral photo resizing, the usual defaultSlight ringing at hard edges
Lanczos36 or 64SlowerShrinking photographs, holding fine detailVisible haloes on high contrast
Area averagingEvery covered pixelFastLarge reductionsNot suitable for enlarging

Why can interpolation never add detail?

Every output pixel is a weighted sum of input pixels. No matter how clever the weights, the result contains only combinations of measurements that were already in the file, so no new information enters. Enlarge by 4x and you hold sixteen times the pixels carrying exactly the same detail, spread thinner.

Learned super-resolution is a different process. It does add high-frequency content, drawn from patterns it saw during training rather than from your image. That is why it can look sharper than any interpolation filter, and also why it can be wrong in ways interpolation never is.

Which one should you pick?

Shrinking photographs: Lanczos or area averaging, because both read the whole region being collapsed and suppress moire. Enlarging photographs: bicubic for modest changes, a learned model beyond roughly 2x. Anything non-photographic with hard edges, such as pixel art, screenshots of text, QR codes or segmentation masks: nearest neighbour, since blending genuinely damages them. Rotating or straightening: bicubic, done once from the original rather than as a series of small nudges.

What people get wrong about interpolation

Each one is a real failure mode, not a style preference.

  1. Nudging a rotation by a few degrees several times, resampling on each pass, which softens the image a little more every time.

  2. Using bicubic on pixel art or a screenshot of text, which turns crisp blocks into a grey smear.

  3. Expecting a better filter to recover lost detail, when the filter only changes how existing information is spread.

Questions people ask

Interpolation, answered

The follow-up questions people search for once they have the definition.

What is the difference between interpolation and resampling?

In everyday use they are interchangeable. Strictly, resampling is the whole operation of rebuilding an image on a new pixel grid, and interpolation is the estimation step inside it that produces each new value. Editors label the setting either way.

Which interpolation is best for enlarging photos?

Bicubic among the classic filters, since it uses sixteen neighbours and keeps edges reasonably firm. Beyond about 2x, a learned super-resolution model will look considerably better, at the cost of inventing texture rather than estimating it.

Does interpolation happen when I rotate an image?

Yes, for any angle that is not a multiple of 90 degrees. The rotated grid does not line up with the original, so every pixel is re-estimated. Rotations of exactly 90, 180 or 270 degrees just move whole pixels and are lossless.

Why does my image get softer each time I resize it?

Because every pass averages neighbouring pixels, and averaging an average blurs further. Two resizes soften more than one, and small repeated adjustments are worst of all. Always resize once, from the original file, straight to the size you need.

Now do it to a photo

Photomop is a photo studio that runs on your own device. Resize, crop, compress, convert, batch edit, remove a background and change one all work in the browser tab you are reading this in, at full resolution and with no watermark. The on-device page shows you how to check that the photo stays put.