Advanced image scaling editor

Scale image · advanced image scaling editor

Open a picture and scale it up or down with filters that average light, a low-pass you can tune and see, sizes that land on the pixel grid, 1×–4× srcset sets and a report that measures the file before you save it.

No picture open yet
A table of snacks photographed from above; on the right half the bench's alias map for a one-fifth reduction marks the plank seams and food edges that would shimmer without a low-pass

Drop a picture to scale it

or paste it · JPEG, PNG, WebP, GIF, BMP, AVIF · Your pictures are scaled on this device and never uploaded.

11 groups on one bench

67 tools in one image scaling editor

The bench with a snack-table photo set to a one-fifth reduction and the Anti-alias group open, the alias map marking plank seams and food edges in amber and red

Anti-alias

See the aliasing before it is baked in

Shrinking a picture throws away detail finer than the new pixel grid. If that detail is not filtered out first, it folds back as jagged edges, shimmer and moiré. The bench widens its filter by the reduction factor every time, and the low-pass width control lets you go calmer for fabric and screens or crisper for clean edges.

The alias map paints the places where a resize without any low-pass would have come out different, so you can see which parts of your own picture were at risk.

A café front reduced to a quarter twice and magnified: averaging sRGB numbers leaves it 4.1 per cent darker overall than averaging light, as the bench does

Filter

Averaged as light, not as numbers

Pixel values are gamma-encoded, so averaging them directly darkens fine bright detail. Every filter here converts to linear light first and back afterwards, with transparency premultiplied so edges never pick up a dark fringe.

Seven filters are on the bench, from nearest neighbour to Lanczos-3, and Auto picks between Lanczos-3 and Mitchell by the factor. When an enlargement needs new texture, the AI engines run on your own GPU or CPU after a download that names its size.

The Ratio group of the bench for the snack-table photo at 37.5 per cent: the factor shown as 3/8, the grid check saying every 8 source pixels become 3, and the clean ratios for that picture

Ratio

Factors you can read as fractions

×0.375 is 3/8: every eight source pixels become three. When both sides of a picture divide evenly, the filter meets the same few sub-pixel positions everywhere, and very regular patterns come out even instead of beating into slow bands.

The Ratio group lists the clean ratios that fit your picture's exact size and rounds to multiples of 2, 4, 8 or 16, saying how far the rounding bends the shape.

The same quarter-size café detail magnified twice, plain Lanczos-3 on the left and with 80 per cent linear-light crispness on the right

Crispness

Give back the edge contrast a reduction takes

A correct reduction is also a gentle blur. A small unsharp mask on the finished pixels restores the snap, measured in output pixels because the softness is the output's.

It sharpens luminance in linear light and scales colour with it, so edges gain contrast without the coloured fringes that sharpening red, green and blue separately leaves behind.

A density set made on the bench from a mountain-lake photo: the 1×, 2× and 3× files with their sizes, the live srcset test and the HTML snippet

Densities

1×, 2× and 3× files with the srcset written for you

Pick a CSS width and the densities you need. Each file is reduced straight from the source, never from another member of the set, and densities that would need enlarging are left out unless you ask for them.

The bench writes the <img srcset> with width and height, tests it live on your screen, and puts every file and the snippet into one ZIP.

The Measure group for a café photo reduced to a quarter: the difference map on the stage and the filter finder table with kept, edge and halo figures for six filters

Measure

A report, not a promise

After a job the Measure group scales the result back and compares it with the source, reports any brightness shift next to what averaging sRGB numbers would have done, counts clipped values and compares edge contrast. The difference map shows where the change sits.

The filter finder runs six filters on a crop of your own picture at your factor and puts the numbers in a table, with one press to use the one you like. The report saves as a text file.

The bench in content-aware mode with the 407 removed seams drawn in red over a mountain-lake photo being made square

Pixel art · Content-aware

The jobs ordinary filters get wrong

Sprites and icons need hard edges: integer scaling and Scale2x, 3x and 4x keep every colour exact, and the grid check finds a sprite that was already enlarged so you can restore it to 1× first.

Content-aware mode changes a picture's shape by removing or adding low-detail seams, with brushes to protect faces or send seams through the background.

Scaling, measured

Scaling changes a picture’s pixel dimensions. Every way of doing it is an estimate of what the picture would have looked like at the new size, and the estimates differ: some keep edges hard and blocky, some smooth them, some sharpen them and leave faint halos. ImageScaling computes all of them properly and lets you see the result at the pixel level before you download.

The rulers around the canvas are in output pixels. The amber dimension lines and the readout under the settings give the exact width, height, megapixels and file size, so the number in your upload form or print order is the number in the file.

What happens when you press Scale

The work is done by a scaling engine running in a background thread of this tab:

  • Each pixel is converted from sRGB to linear light and weighted by its transparency, so colours average the way light does and transparent pixels never leak a fringe.
  • A separable filter is applied — horizontally, then vertically. When reducing, the filter is widened to cover every source pixel under each output pixel, which is what prevents moiré and jagged lines.
  • Values are converted back to sRGB and encoded as PNG, JPEG or WebP. For print sizes the DPI is written into the JPEG or PNG header.

Which method should I choose?

Leave it on Auto unless you have a reason not to. Auto uses Lanczos-3 for reductions and for enlargements up to 2×, and Mitchell above 2×, where a three-lobe filter starts to ring around hard edges. For pixel art use the Pixel art group; for photographs that need real new detail, switch the engine to AI detail ×4. The comparison lab shows any four methods on the same crop side by side.

Questions

Can I scale an image without losing quality?

Reducing a picture always discards pixels, but done properly (an anti-aliased filter in linear light, which is what this tool does) it loses nothing you could see at the new size. Enlarging cannot recover detail that was never captured; a good filter keeps it smooth and sharp, and the AI engine can rebuild plausible edges and texture.

What does “linear light” mean, and why is it on by default?

Pixel values in a JPEG or PNG are gamma-encoded: value 128 is not half as bright as 255, it is about a fifth. Averaging those numbers directly — what most resizers do — darkens fine bright detail and muddies colour edges. With linear light on, every pixel is converted to physical light before it is weighted and converted back afterwards. The test chart’s one-pixel checkerboard shows the difference: reduced in linear light it matches the light grey patch beside it; reduced the naive way it matches the dark one.

How do I make 1×, 2× and 3× images for srcset?

Open the Densities group, switch it on, enter the CSS width the picture is shown at and pick the densities. Each file is reduced straight from your source with the filter, anti-alias and crispness settings you chose; a density that would need enlarging is left out unless you keep it. The bench writes the <img srcset> element with width and height, shows which file your own screen picks, and saves the files and the snippet as one ZIP.

How large can the output be?

Up to 16,384 pixels on either side and 100 megapixels in total, which is around the limit browsers can encode reliably. AI enlargements are additionally limited to 48 megapixels on desktops and 16 on phones; a larger request reduces the input first and says so.

Which file types can I open and save?

Anything your browser can decode: JPEG, PNG, WebP, GIF (first frame), BMP and AVIF everywhere, HEIC in Safari. You can save as PNG, JPEG or WebP; Safari saves PNG when WebP is requested and the result panel tells you when that happens.

Is my picture uploaded anywhere?

No. Decoding, scaling and encoding all run in this browser tab, and the scaling engine runs in a Web Worker with no network code in it. The only download the site can make for you is an AI model file, and only after you press the button that names its size — that request contains no picture.