New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding support for writing multipage tiffs #277
Comments
That would be a great feature, especially if |
@d-v-b cool good call, you could make those additions now in a separate PR just with the version of |
happy to review a PR if you want to take a stab 😄 |
@freeman-lab I think I can whip a PR up in a few days implementing that. |
@freeman-lab there is no version of Out of curiosity, why does thunder save images by writing to a bytestream? |
@d-v-b oh my bad, i was thinking of reading tifs (which does use The bytestream writing is to support a standard interface between writing to a local / networked file system and writing to cloud storage like Amazon S3. |
@freeman-lab @d-v-b Thunder uses the prebuilt version of |
Oh awesome @jwittenbach ! |
A recent PR (#351) makes this the default behavior when writing 3D |
The current totif method only supports writing 2D arrays or 3D arrays where the third channel is color
It uses
Instead
Supports writing 3D arrays to tiffs using
tifffile
Unfortunately though this support is only for writing directly to files, not to file objects / byte streams and so I was unable to swap it out for the current imsave directly.
There is however a modified version of
tifffile
here that supports writing to file objectsUsing this version could allow for writing multipage tiffs
The text was updated successfully, but these errors were encountered: