What is the best way to save image metadata alongside a tif?
问题 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. I should be able to do this with a tif, right? Since it has a header? I was able to add to the info in a PIL image: im.info['microscope'] = 'george' but when I save and load that image, the info