ImageFixr
Blog/Photography

What "Bokeh" Actually Is, and How to Fake It Without a Fancy Lens

By ImageFixr Team··6 min read

That soft, creamy blur behind a subject in a professional-looking portrait has a name, bokeh, and it's not an editing style, it's a physical side effect of how certain lenses focus light. Once you understand what's actually happening, it's a lot easier to tell why some phone photos with "portrait mode" turned on still look slightly off, and what a software blur is really trying to imitate.

The physical cause: aperture

A camera lens has an adjustable opening called the aperture that controls how much light gets in. A wide-open aperture, the kind you get from a "fast" lens, has a side effect beyond just letting in more light: it drastically narrows the range of distances that appear in sharp focus, what photographers call depth of field. Your subject, at the exact focus distance, comes out sharp. Anything meaningfully closer or farther away falls outside that narrow zone and blurs, and the more wide open the aperture, the more dramatic that blur.

It's genuinely optical, light rays from out-of-focus points spread into soft circles on the camera's sensor instead of converging to sharp points. That's not a rendering choice; it's what happens to light passing through a wide lens opening, full stop.

Why phone cameras struggle with it naturally

Phone camera lenses are tiny by necessity, and a small lens physically can't produce the same shallow depth of field as a large DSLR or mirrorless lens, no matter how the aperture is set. That's exactly why "portrait mode" on a phone exists as a software feature at all: the phone can't blur the background optically the way a bigger camera would, so it fakes the effect computationally, identifying the subject and blurring everything else after the photo is taken rather than during it.

When portrait mode looks a little off, a blurred patch that clips through part of an ear, or a background object that stays weirdly sharp, that's the segmentation step making a mistake, not the blur itself failing. It's the same underlying challenge as any background-removal AI: deciding pixel by pixel what's subject and what's background, and getting it slightly wrong at a tricky edge.

Adding it after the photo's already taken

The same computational approach phones use for portrait mode can be applied after the fact, to a photo that was never shot with any blur at all, an old photo, a photo from a basic camera, a screenshot from a video call. Our Auto-Focus Portrait tool works this way: it identifies your subject, blurs everything behind them by an amount you control, and composites your subject back on top at full sharpness. You get a slider for how strong the effect is rather than a single fixed look.

What still gives it away

To be direct about the limits: a software blur is genuinely convincing at normal viewing size, but it isn't identical to optical bokeh under close inspection. Real bokeh has specific characteristics, out-of-focus points of light often render as soft circular discs, and the blur amount changes gradually and continuously with distance. A software blur is closer to a uniform effect applied to "everything not the subject," so it can look slightly flatter in scenes with a lot of depth. For a profile picture, a thumbnail, or a social post, that distinction essentially never matters. For a large print or a pixel-peeping comparison next to a real f/1.4 lens shot, an attentive eye can sometimes tell.

When it's worth using

Any time the background is doing more to hurt a photo than the lack of "real" bokeh would hurt it, a cluttered kitchen, a busy office, a chaotic street. Blurring a distracting background usually improves a photo more than a technically perfect optical blur would matter to anyone looking at it casually.

Add background blur to a photo

Free, adjustable strength, runs entirely in your browser.

Blur a background →