def save_array_to_tiff(array, output, verbose=True):
'''Y.G. Nov 1, 2017
Save array to a tif file
'''
img = PIL.Image.fromarray(array)
img.save( output )
if verbose:
print( 'The data is save to: %s.'%( output ))
评论列表
文章目录