- ImageFile.Stoner__Image__imagefuncs__save_tiff(filename, forcetype=False)¶
Save the ImageArray as a tiff image with metadata.
filename (str) – Filename to save file as.
- Keyword Arguments
forcetype (bool) – (depricated) if forcetype then preserve data type as best as possible on save. Otherwise we let the underlying pillow library choose the best data type.
PIL can save in modes “L” (8bit unsigned int), “I” (32bit signed int), or “F” (32bit signed float). In general max info is preserved for “F” type so if forcetype is not specified then this is the default. For boolean type data mode “L” will suffice and this is chosen in all cases. The type name is added as a string to the metadata before saving.