How it works
Atmospheric Depth Fog estimates relative distance, normalises that depth field, and uses a 3 × 3 median filter to remove isolated depth speckles. Farther pixels receive Beer–Lambert-style atmospheric scattering in linear-light RGB toward one restrained, source-informed airlight color whose chroma is capped toward neutral; the nearest depth band remains source-exact. Intensity changes the real optical density rather than crossfading a finished effect. At its working size, each output pixel combines only the source RGB at that same coordinate with the global airlight color: the renderer never moves, copies, spatially resamples, inpaints, or regenerates image content, so faces, arms, objects, framing, and working-frame alpha remain aligned and alpha stays byte-exact. Larger uploads can be proportionally resized before depth analysis: the standard free limit is 800 pixels on the long side, and the depth service defaults to a 2048-pixel long side for remaining larger inputs. The result is returned as a lossless PNG.

























