spacetx / slicedimage

MIT License
7 stars 3 forks source link

Allow writing to non-numpy file formats. #64

Closed ttung closed 6 years ago

ttung commented 6 years ago
  1. Adds a writer func to the ImageFormat class.
  2. Instead of the tile writer callback dictating the file format, it now receives the requested file format and attempts to write it in that format.
  3. Adds a test that writes out a TIFF set and reads it back.

Fixes https://github.com/spacetx/slicedimage/issues/2

ttung commented 6 years ago

Updated as requested.