Add a Tilt-Shift Blur to an Image
Keep a horizontal band sharp and blur above and below it with a smooth falloff, the tilt-shift miniature look. Position and blur are yours.
What this page does
Blurs everything except a horizontal band you position and size, with a smooth transition at each edge. It imitates a tilt-shift lens's shallow focus band, and it is a real blur, not a vignette.
How to use it
Choose a file, set the options and press Render. Example: a 1200 × 800 street photo with a 25% band at 50% and a 10 px blur becomes the middle 200 px sharp, fading to full blur toward the top and bottom.
How it works
A fully blurred copy of the picture is drawn over the sharp original, then a vertical gradient mask removes the blur inside the focus band and fades it in over the transition width. The mask is built in the canvas, so no extra image is fetched.
What it refuses
A band outside 0-100, a band width below 1, a blur below 1 px, a zero-size image, or a picture over the cap is refused by name.
Where it runs
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device. It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.
Blurs everything except a horizontal band you position and size, with a smooth transition at each edge. It imitates a tilt-shift lens's shallow focus band, and it is a real blur, not a vignette.
A fully blurred copy of the picture is drawn over the sharp original, then a vertical gradient mask removes the blur inside the focus band and fades it in over the transition width. The mask is built in the canvas, so no extra image is fetched. The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
Worked example: a 1200 × 800 street photo with a 25% band at 50% and a 10 px blur becomes the middle 200 px sharp, fading to full blur toward the top and bottom.
How to use the add a tilt-shift blur to an image
Choose an image file, set the options, and press Render. The result appears below the form.
Example: a 1200 × 800 street photo with a 25% band at 50% and a 10 px blur becomes the middle 200 px sharp, fading to full blur toward the top and bottom.
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
- Band centre (%) — 0 to 100
- Sharp band height (%) — 1 to 100
- Transition width (%) — 0 to 100
- Blur radius (px) — 1 to 60
- Output format — one of png, jpeg, webp
- Quality (JPEG and WebP) — 1 to 100
What the canvas draws
Blurs everything except a horizontal band you position and size, with a smooth transition at each edge. It imitates a tilt-shift lens's shallow focus band, and it is a real blur, not a vignette.
A fully blurred copy of the picture is drawn over the sharp original, then a vertical gradient mask removes the blur inside the focus band and fades it in over the transition width. The mask is built in the canvas, so no extra image is fetched.
- Every option is declared by this page, so an unknown choice or an out-of-range number is refused by name before any pixel is drawn.
- The preview and the download are the same canvas: what you see is the file you get.
What it refuses, and what it leaves out
A band outside 0-100, a band width below 1, a blur below 1 px, a zero-size image, or a picture over the cap is refused by name.
It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank.
- Not the right page for: blurring the whole frame, which is the blur page
- Not the right page for: a circular focus area, which this page does not do
What to Expect
Best for
- a miniature-looking city or crowd photo
- drawing attention to one horizontal strip
- a title background with a soft top and bottom
Not ideal for
- blurring the whole frame, which is the blur page
- a circular focus area, which this page does not do
What this tool keeps
- The focus band, pixel for pixel
- A smooth, two-sided falloff
- The original size
What may need cleanup
- Raising the transition width if the edge looks like a seam
- Choosing a photo taken from above, which sells the miniature effect
Common errors
- A transition of 0 gives a hard edge
- A band of 100% leaves nothing blurred
- The blur is applied at the source resolution, so it is slower on large photos
Example use cases
- A miniature-effect city photo
- A hero image with a soft band
Sample input
a 1200 × 800 street photo with a 25% band at 50% and a 10 px blur
Sample output
the middle 200 px sharp, fading to full blur toward the top and bottom
Who this is for
- Photographers faking a tilt-shift lens
- Designers making a focus band
Frequently asked questions
Does my image get uploaded anywhere?
The picture is decoded and redrawn on a canvas in this tab: there is no upload, no network request and no model, so the pixels never leave your device.
What is the maximum image size?
It opens PNG, JPEG, WebP, GIF, BMP and AVIF up to 16,000,000 pixels (16 MP) and 25 MB per file; anything larger is refused with its measured size rather than drawn blank. The limit exists because a browser tab has to hold the decoded bitmap in memory.
What happens if the file cannot be decoded?
The page refuses it by name — unsupported type, decode failure, zero pixels, or above the pixel cap — and shows the measured size rather than drawing a blank canvas. The file you chose stays selected so you can correct one option and try again.
Can I move the band off centre?
Yes. Position sets the band's centre anywhere from 0% (top) to 100% (bottom), and the band height is separate, so a narrow band near the top is a valid setting.
Why does the effect look wrong on a straight-on photo?
Tilt-shift reads as miniature because the eye expects a shallow depth of field from above. On a flat, front-on subject the blur just looks like a blur; a photo taken from a high angle sells it much better.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.