Depth Map Export
- Depth Map Generator
Estimate near/far depth from a single photo as a grayscale map.
16-bit PNG preserves more depth levels for displacement and compositing. It does not add detail or make estimated distances accurate.
Free, no signupNo watermarksFiles processed securely
A depth map is a grayscale image in which each pixel's brightness stands for that point's estimated distance from the camera. In maps from this tool white is near and black is far; “Invert depth” gives the opposite, with near objects dark. Editing and 3D software read it as a per-pixel distance channel: to push pixels outward for displacement, to scale blur for a simulated depth of field, or to fade fog with distance.
The file you download has the same width and height as your photo: a 16-bit grayscale PNG by default, or an 8-bit PNG or 8-bit WebP if you pick one under “Export format” (the paid HD quality makes 8-bit files only).
Some phones record depth while the photo is taken, using two cameras or a LiDAR sensor. An ordinary photo carries no depth, so the map has to be estimated from the picture itself, which is what the AI model here does from a single image.
Photos with clear foreground/background separation work best.
Under “Export format”, keep 16-bit PNG for finer depth levels or pick 8-bit PNG for compatibility (8-bit WebP makes a smaller, lossy file). Tick “Invert depth” if your editor expects near objects to be dark, then press “Apply”.
Press “Download” to save the grayscale result for displacement, compositing, or parallax. White means near unless you ticked “Invert depth”.
Depth Anything V2 Small estimates relative inverse depth, not distance. A brighter pixel is nearer the camera than a darker one in the same image, but no grey level corresponds to a fixed number of metres, and nothing in the file records scale.
Each map is normalised independently across its own minimum and maximum, so two maps from two photos are not comparable. Mid-grey in a close-up portrait and mid-grey in a landscape describe completely different distances. Generate depth per image and use it within that image; do not expect depth to stay consistent across a sequence of shots.
Inference runs at 518 pixels on the shorter side (the longer side is capped at 784) and the result is resampled back to your image's dimensions, so very fine structure such as single hairs, wire and chain-link still comes back softer than the source. The default download is a 16-bit grayscale PNG, encoded from the floating-point estimate. It preserves more depth levels without adding spatial detail or making the estimated distances more accurate.
Choose 8-bit PNG if your editor cannot read 16-bit grayscale files. WebP is an 8-bit, lossy option for a smaller file; prefer PNG when pixel values drive displacement. If the AI model is unavailable, the tool labels its edge/blur approximation. Exporting that fallback at 16 bits does not create additional depth detail.
It works best when the photo has genuine depth to recover: a subject standing clear of its background, a product on a surface, a street or interior receding away from the lens.
It breaks down on flat originals — scans, screenshots, artwork, or a subject shot square-on against a wall — because there is no depth cue to find, and the map comes back as low-contrast mush. Glass, mirrors and water are read as the surface itself rather than as whatever sits behind or beneath them.
The usual job is a displacement or depth channel: drive a 2.5D parallax push in After Effects, displace a subdivided plane in Blender, or mask a depth-of-field or fog pass so it falls off with distance.
It also serves as a control image for depth-conditioned image generators, which expect exactly this kind of relative greyscale map.
In Blender, load the PNG as Non-Color data before connecting it to displacement so a color-space transform does not change the depth values. Start with a small displacement scale and inspect the result. If your downstream workflow expects near objects to be black, select Invert depth before generating the file.
Because the values are relative, animate within a single still. A camera move built from one map is stable; cutting between maps generated from different frames is not.
Use Imagic AI Depth Map Generator when you need to estimate a grayscale depth map from a single photo. It is best for parallax effects, 3D photo compositing, and depth-based blur or lighting effects, runs in the browser workflow, and does not require signup for the core tool.
Photos with a clear subject against a distinctly different background give the most useful depth separation.
| Job | Pick this | Why |
|---|---|---|
| parallax effects, 3D photo compositing, and depth-based blur or lighting effects | Depth Map Generator | It solves this job directly with the fewest settings. |
| precision measurement — this estimates relative depth, not exact distances | Tilt-Shift Effect | That workflow changes a different property of the image. |
| Many files at once | Batch Processor | Batch mode keeps repeated work consistent and exports one ZIP. |
Yes, Depth Map Generator is free to use for the core browser-based workflow.
No, the core image tools work without signup.
Preview the result, compare edges and text at 100% zoom, and keep the original until the export is verified.
Use Tilt-Shift Effect when your image needs that workflow before or after Depth Map Generator.
White is near and black is far: the closer a point was to the camera, the brighter its pixel. For the opposite, with near objects dark, tick “Invert depth” before you press “Apply”; the line under it then reads “Black = near · White = far”, and the result is labelled the same way. To flip a map you have already downloaded, run the photo again with “Invert depth” ticked.