File formats
How to read and repair a grayscale depth map
Grayscale is only an encoding. You still need to know which end is near, what the range means, where the model failed, and how the next application turns values into an effect or physical surface.
Start with an image or the sample. No account needed for the preview.

Define black and white before editing
There is no universal rule that white must be near. Many visualization examples use white for closer surfaces, while displacement and machine workflows may use white for higher elevation. Some software offers an inversion switch and some silently assumes one convention. Use a simple wedge or known object to verify the receiver instead of depending on memory.
Write the chosen convention with the file. For relative depth, values describe ordering and normalized distance rather than meters. For relief, the same values may be remapped to millimeters. The visual image can appear plausible under either inversion, so correctness comes from the contract, not the thumbnail.
Try the workflow
Preview your image before spending a credit
Choose an image, inspect its source checks and preview, then test a free export. A production job is a separate approval that uses a credit; a preview is not a guarantee of a successful print or carve.
Live manufacturing workbench
Upload a photo. Preview the depth. Download your file.
Three free AI previews per day. Source checks, editing, 3D preview, and compatibility exports are free.
What happens to an ordinary photo (no login required):



Camera shadows get separated from true 3D height—ready for CNC ball-nose finishing, LightBurn 3D Sliced laser, or resin/FDM printing.
Choose a source image to begin.
Use the histogram range without crushing structure
When a few extreme pixels occupy black and white, most of the subject can collapse into middle gray. Move black and white points inward to allocate more levels to the useful object. Watch eyes, edges, hair, and shallow curves for clipping. Increased contrast can improve separation, but it can also exaggerate a model error into an unmanufacturable step.
A flat background is helpful for many reliefs because it defines a consistent base. It is not always helpful for VFX, where background distance drives fog or depth blur. Edit around the final intent. Keep an unmodified model output so a destructive grade can be compared and reversed.
Recognize halos, islands, bands, and false texture
A halo is a light or dark outline that does not belong to the object's actual shape. In a relief it becomes a trench or ridge; in compositing it creates an obvious fringe. Islands are isolated values that become spikes or holes. Bands indicate quantization or over-aggressive range expansion. False texture appears when shadows, print, or surface color are interpreted as geometry.
Range controls can suppress small problems but cannot reorder an incorrectly understood scene. Crop, choose a clearer source, retouch the field, or use a specialized segmentation step. Increasing resolution or converting to 16-bit will make a structural error denser, not more accurate.
| Visible defect | Likely root cause | Fix before export |
|---|---|---|
| Flat, lifeless relief | Subject occupies only 20–30% of the 0–255 histogram | Tighten black point & white point, enable background flattening |
| Recessed face / hollow subject | Inverted white-near vs white-far convention in receiver | Toggle Invert near/far and verify with a 2-tone test block |
| Terraced stair-stepping on curves | 8-bit quantization stretched across deep Z relief | Export true 16-bit PNG from raw float EXR and verify in PNG checker |
| Trench or ridge around silhouette | Sharp photo halo or hard cast shadow on background | Apply 1–2 edge-preserving smoothing passes and crop harsh shadows |
Check exported files locally in the PNG Bit Depth Checker before loading into LightBurn, Aspire, or Carveco.
Test the grayscale path end to end
Download the free 8-bit PNG and import it into the actual target. Confirm aspect ratio, direction, color management, and whether the software treats it as grayscale or converts it. For 16-bit workflows, inspect metadata and check that the receiving application preserves the wider samples. For relief, render under grazing light or build a low-density mesh to expose abrupt slopes.
For a laser or CNC job, keep machine settings out of the image contract. Test the field on scrap with documented material and tool parameters. For VFX, check the pass under the intended blur, fog, and parallax amplitude. A map that looks smooth by itself can fail when the downstream effect magnifies a small edge error.
Before the file moves forward
Final checklist
- Near and far direction is confirmed in the receiving tool.
- Relative or metric interpretation is documented.
- The useful subject occupies enough of the grayscale range.
- Halos, isolated islands, and false texture are inspected at full size.
- Bit depth and channel count survive the import path.
- The final effect or physical process is tested at low cost.
Straight answers
Questions this workflow raises
Does white mean closer or deeper in a grayscale depth map?
There is no single standard across software. Most CNC relief packages and LightBurn 3D Sliced mode treat white as highest/shallowest and black as deepest, while some laser modes invert that. Always verify with a two-tone test or toggle Invert before carving.
Can I turn an ordinary black-and-white photo into a grayscale depth map?
No. Desaturating a photograph records brightness and shadows rather than 3D distance, which turns dark hair or shadows into deep pits. Use a depth estimator to infer scene geometry first, then remap the grayscale range.
How can I tell if my grayscale PNG is truly 16-bit?
Open the file in DepthCarve's local PNG Bit Depth Checker. It inspects the IHDR bit depth header and counts distinct gray levels so you can distinguish true 16-bit data from an 8-bit image resaved in a 16-bit container.
Why do I see rings or steps when carving a grayscale depth map?
Contour banding appears when an 8-bit image (only 256 levels) is stretched across a deep Z height or smoothed aggressively. Starting from raw floating-point depth and exporting a true 16-bit PNG (65,536 levels) removes quantization steps.
No-login product advisor · Grounded in live export specs
Questions before exporting? Get straight answers on 16-bit depth, CAM & billing
Why does true 16-bit PNG matter for CNC wood relief and fiber laser engraving?
Standard 8-bit grayscale has only 256 height steps, which produces visible stair-stepping bands across faces and shallow curves. One DepthCarve production credit decodes raw floating-point EXR depth into 65,536-level true 16-bit forward and inverse PNGs plus a verified watertight STL.
Continue with a specific output
Free depth map generator
Adjust range and compare values interactively.
PNG bit depth checker
Inspect true 8-bit vs 16-bit grayscale levels locally in your browser.
Depth map for CNC
Match grayscale range and slope to ball-nose cutters and stock.
Image to height map
Remap camera depth into clean grayscale elevation.
16-bit depth map guide
Verify whether wider samples improve the path.
Laser depth map
Apply grayscale depth to a calibrated engraving test.
Depth map vs normal map
Keep scalar height fields separate from RGB surface direction maps.