Closed K-Meech closed 6 months ago
We should also support saving a txt file with a tiff sequence as part of this. We already support loading such files via load_any
and load_img_sequence
We should also support saving a txt file with a tiff sequence as part of this.
I don't think we have any need for this TBH. The image_io
module is now just to support BrainGlobe tools, and none need to write to this format.
Do you think BrainGlobe tools will need to read this format @adamltyson ?
It was included for historical reasons to support brainreg
& brainmapper
. I think it's worth keeping as long as it isn't too much overhead.
I have a working version with tests updated for both save_any
and txt file writing. I can move the txt file writing back to test_image_io
if that's preferred though.
Image_io has a
load_any
function that recognises the image file extension and calls the appropriate loading function. It would be useful to add a correspondingsave_any
function, similar to here