contours2heightmap (c2h)
A simple CLI tool to convert contour line bitmap images into heightmaps.
Assumes a topographic interpretation where outer contours represent lower elevations and inner contours represent higher elevations.
Only supports simple images: all contours must be closed, non-overlapping, and with clear separation.

Example
Build from source
Installation
-
Install using Cargo from crates.io:
-
Download a release from GitHub Releases.