Python script using GDAL to convert a GeoTIFF file into a PNG height map and text file containing location info