IPython script for converting text images to tif images.
%pylab import tifffile import glob f = glob.glob(‘*.tsv’) for x in f: n = genfromtxt(x).astype('float32') tifffile.imsave(x+'.tif', n)