DepthCraft logo
DepthCraft Local AI Maker Prep
True 16-Bit PNG LightBurn • Vectric • Carbide Create

Photo to 16-Bit Depth Map Generator

Generate smooth grayscale heightmaps and inspect them in live 3D — 100% locally in your browser with no credits or watermarks.

Drop any photo here to generate a 16-bit depth map

JPG, PNG, or WebP. Processed 100% inside your browser using Depth Anything V2 Small (Apache 2.0). Nothing is ever uploaded.

Or test immediately with a 1-click sample
Zero-Upload Guarantee: Your photo stays in browser RAM. Free for personal & commercial CNC/laser sales.

Export Heightmap

16-bit grayscale PNG prevents stair-step banding on deep laser & CNC carvings.

Depth Sculpt Controls

Quick Machine Presets
Background Floor (Black Clip)2%
Foreground Peak (White Clip)98%
Midtone Curve (Gamma)1.00
Surface Smoothing (De-Noise)1 px
Edge Vignette Fade0%

How to Turn a 2D Photo Into a Clean 3D Laser or CNC Relief

A depth map (also called a heightmap) translates a regular color photograph into pure elevation data: bright white pixels represent the highest points closest to the viewer, and pure black pixels represent the deepest recessed areas. Laser software like LightBurn and CNC CAM suites like Vectric VCarve read these grayscale values to control engraving passes or Z-axis carving depth.

Unlike basic "convert to grayscale" filters — which mistakenly carve dark hair deep into a skull and make white shirts stick out further than a person's nose — DepthCraft runs the Depth Anything V2 neural network locally in your browser to estimate true 3D geometry before generating the heightmap.

Why True 16-Bit PNG Matters for Carving & 3D Slice Lasers

Standard web image editors export 8-bit PNGs, which only contain 256 shades of gray. When you carve a gentle curve (like a cheek, coin dome, or wood plaque) across 2–5 mm of material, 256 steps show up as visible topographic "stair-steps" that require heavy hand sanding. DepthCraft encodes the AI's raw floating-point depth prediction directly into a true 16-bit grayscale PNG (65,536 height levels), giving your CAM software razor-smooth gradients straight out of the browser.

Quick Import Guide by Machine Software

Always run a small scrap test piece first — power, speed, and stepover vary by laser wattage and bit diameter.

Software / Machine Recommended Export Key Import Workflow
LightBurn (Fiber / MOPA 3D Slice) 16-Bit PNG • LightBurn 3D Slice preset Set Image Mode to 3D Sliced, use 64–256 passes for brass/aluminum coins, and add a cleaning pass every 10–15 layers. Check Invert Depth if you want black areas raised.
Vectric VCarve Pro / Aspire 16-Bit PNG • CNC Wood Relief preset Use Create Component from Selected Bitmap, set Model Height to 3–8 mm, add 2–3 px smoothing before exporting to keep tapered ball-nose toolpaths clean.
Carbide Create Pro 16-Bit PNG • CNC Wood Relief preset In the Model tab, select Import Image, scale height to material thickness, and pair a 1/4" flat roughing pass with a 1/16" or 1/32" ball-nose finishing pass.
Diode Laser (xTool / Sculpfun / Ortur) 8-Bit or 16-Bit PNG (Grayscale) Diode lasers perform best on basswood, slate, or acrylic with moderate Background Floor clipping (10–15%) and Surface Smoothing set to 2 px to prevent scorching dark corners.

5 Tips for Cleaner Depth Maps Before You Carve

  1. Flatten busy backgrounds with Background Floor: Raise the Background Floor (Black Clip) slider to 8–20% until distracting room clutter drops cleanly to pure black (flat base).
  2. Always inspect in 3D Relief view first: Switch to the 3D Relief tab and drag the surface sideways under raking light. Spikes or noisy edges are immediately obvious in 3D even when they hide in 2D grayscale.
  3. Use 1–3 px Surface Smoothing for real tools: Physical laser beams and ball-nose router bits cannot reproduce 1-pixel camera grain. Adding 2 px of smoothing dramatically improves finish quality and cuts machining time.
  4. Soften rectangular edges with Edge Vignette Fade: Setting Edge Vignette Fade to 5–10% ramps the perimeter smoothly to zero so your relief melts naturally into wood plaques without sharp vertical walls.
  5. Start with evenly lit photos: Harsh flash shadows or cluttered backgrounds confuse any monocular depth AI. Clean portraits, centered objects, and crisp silhouettes yield the sharpest reliefs.

Frequently Asked Questions

Why does the very first photo take 5–15 seconds to start?
The first time you run DepthCraft, your browser downloads the compact Apache 2.0 AI weights from Hugging Face and stores them in your browser's local cache. Every photo after that — even if you return next week — loads almost instantaneously with zero re-download.
Does moving the sliders re-run the AI?
No! DepthCraft keeps the full-precision 32-bit float depth prediction in memory. Inverting depth, clipping backgrounds, adjusting gamma, smoothing, and switching to the 3D Relief preview all run in real time in milliseconds.
Are my customer portraits or logos uploaded anywhere?
Never. All image reading, AI inference, 3D rendering, and 16-bit PNG encoding happen strictly inside your local browser tab.