title: What is the best way to save image metadata alongside a tif?
body: <p>In my work as a grad student, I capture microscope images and use python to save them as raw tif's. I would like to add metadata such as the name of the microscope I am using, the magnification level, and the imaging laser wavelength. These details are all important for how I post-process the images.</p>
  
  <p>I should be able to do this with a tif, right? Since it has a header?</p>
  
  <p>I was able to add to the info in a PIL image:</p>
  
  <pre><code>im.info['microscope'] = 'george'
  </code></pre>
  
  <p>but when I save and load that image, the info I added is gone.</p>
  
  <p>I'm open to all suggestions. If I have too, I'll just save a separate .txt file with the metadata, but it would be really nice to have it embedded in the image.</p>