title: Numpy array to generic-tiff (tiled) with pyramid structure
body: <p>I need to write a numpy array to generic-tiff (tiled) with pyramid structure having different levels of magnification. The tiff file is to be analysed using <a href="https://github.com/computationalpathologygroup/ASAP" rel="nofollow noreferrer">Automated Slide Analysis Platform (ASAP)</a>. I have already tried using PIL, tifffile, libtiff but none of these libraries save the numpy array in the generic-tiff format compatible with ASAP.</p>
  
  <p>The numpy array is very high resolution heatmap which is supposed to be used as an overlay for histology slides to detect cancerous regions.</p>