Skip to content

tifffile.imsave is deprecated #658

@jnahlers

Description

@jnahlers

Describe the problem
tifffile.imsave is deprecated

To Reproduce (if applicable)
Try to use write_tiff in source/tomopy/util/misc.py.

import tomopy

if __name__ == "__main__":
    tomopy.write_center(...)  # error happens here!
AttributeError: module 'tifffile' has no attribute 'imsave'

Expected behavior (if applicable)
It saves

Platform Information:

  • OS: Linux
  • Python Version 3.12.9
  • TomoPy Version 1.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionTroubleshooting requests

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions