title: reading a 16-bit grayscale tiff
body: <p>I'm writing a scala program that needs to be able to read a 16 bit grayscale tiff image and do some complicated calculations on the individual pixels.  </p>
  
  <p>Specfically, I want a library to be able to get me an Array[Int] of all the pixel intensity values from the tiff file, and to be able to write an image from such a data structure.  </p>
  
  <p>The question that I have is what libraries are capable of doing this?</p>
  
  <p>Thanks for any help you can provide.</p>