def write(self, fname): """ Overrides the fabioimage.write method and provides a simple TIFF image writer. @param fname: name of the file to save the image to @tag_type fname: string or unicode (file?)... """ tiffIO = TiffIO(fname, mode="w") tiffIO.writeImage(self.data, info=self.header, software="fabio.tifimage", date=time.ctime())