Blurred background fill
Place an image proportionally in a target canvas and fill the surrounding area with a blurred, optionally dimmed enlargement of the same picture — the classic 1:1 cover look with no distortion and no empty bars.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Images are processed locally in your browser with Canvas and never uploaded.
Blank uses a square canvas sized from the longer source side; you can also set a fixed size such as 1024 × 1024.
0–40 px; larger values blur the backdrop more while the subject stays sharp.
Pick an image first (PNG / JPEG / WebP / GIF all work).
Result details
Pick an image and the blurred background fill shows up immediately.
What this tool does
- Make a 1:1 cover: drop a portrait or landscape shot into a square canvas and let the blurred version of itself fill the rest — far better than flat bars or cropping the subject.
- Uniform sizes for shorts and storefronts: set the target canvas once and every image keeps its subject unstretched.
- Dim the backdrop to push the subject forward: a dim value of 0.3–0.5 keeps the subject crisp while the background recedes.
- Different from the tiling tool: tiling repeats a small image as a texture, blur fill enlarges the whole image and blurs it as a backdrop.
Example
Input
A 2×4 portrait with the target canvas blank (defaults to 4×4), blur radius 2, dim 0
Output
A 4×4 canvas with the 2×4 subject centred at x = 1 and the background being the cover-scaled, blurred original
From the pure blurFillImage logic: subjectBox(2, 4, 4, 4) = { width: 2, height: 4, x: 1, y: 0 }. Subject pixels come straight from the source, while the x = 0 column is the blurred backdrop — hence the different colours.
Frequently asked questions
Will the subject be cropped or stretched?
No. The subject is scaled proportionally to fit entirely inside the canvas (contain) and centred, so it is neither cropped nor distorted; only the leftover area is covered by the blurred backdrop.
How is the blurred backdrop made?
The source is first cover-scaled to fill the canvas (the overflow is cropped), box-blurred, dimmed by the dim ratio, and then the sharp subject is pasted on top in the centre. Nothing leaves the browser.
How should I set the blur radius and dim?
A larger radius blurs more; 12–20 suits covers, beyond which the box blur becomes visibly blocky. Dim 0.25 is the default — use 0.3–0.5 for light subjects and 0 for dark ones.
How do I choose the output size?
Blank produces a square canvas sized from the longer source side; you can also enter a fixed size such as 1024 × 1024 or 1080 × 1350. The 16-million-pixel ceiling still applies and oversized values report an error.
Are my images uploaded?
No. Pixels are read through the canvas and processed entirely in the browser; there is no upload endpoint on the page.
Keywords:blur fill