Tutorial · Nov 30, 2026 · Animdock Team

How to make a depth map from a photo

Turn one photo into a depth map for parallax videos, displacement or ControlNet, tune it and download an 8-bit or 16-bit PNG.

Image to Depth Map estimates how near or far every part of a photo is and draws it in grey: white is near, black is far.

The screen at a glance

The Image to Depth Map with a file loaded and numbered markers

  1. Drop zone: Drop your file here, or click to pick one. It is read in this browser tab and never uploaded.
  2. Style: How the result is shown: greyscale, inverted or in colour.
  3. Far cut-off: Pushes the far end of the depth range to black.
  4. Near cut-off: Pushes the near end of the depth range to white.
  5. Contrast curve: Spreads the grey levels more toward near or far.
  6. Output: The container and codec of the result.
  7. Generate depth map: Starts the work. The result appears below, ready to download.

Step by step

  1. Drop a photo. The first time, the depth model downloads once and stays in your browser cache.
  2. Press Generate depth map.
  3. Adjust Far cut-off, Near cut-off and Contrast curve until the subject separates well from the background. Switch the style to inverted or colour if your app expects it.
  4. Choose 8-bit or 16-bit PNG and download.

The result

The result of the Image to Depth Map

The result shows its size and format. Check it, then press Download.

Tips

More background: What is a depth map?.

Open Image to Depth Map — free →