Converting an ESRI ASCII DEM to an image height map