title: Save 3D array as a 3D tif image
body: <p>I am trying to save a 3D array to a tif image. Below is my code. 
  I tried to do it both ways and they both did work. They gave me a "tif" file that cannot be opened by matlab, ImageJ or just good old preview on mac.</p>
  
  <pre><code>test = maskImage[:,:,:]
  skimage.external.tifffile.imsave('output.tif',test)#first way
  
  with tif.TiffWriter('temp.tif', bigtiff=True) as tif:#second way
   for i in range(test.shape[0]):
       tif.save(test[i], compress=6)
  </code></pre>
  
  <p>Can someone please help me? I really appreciate it. </p>