Skip to content

Added support for writing TIFF volume stacks

Marcus D. Hanwell requested to merge mhanwell/vtk:tiff-volume-writer into master

Fairly major rewrite of the writer, the stream code didn't work when writing multi-page TIFFs, causing LinkDirectory to fail. This was less obvious due to us suppressing all wanrings/errors from libtiff. The original writing of TIFFs in 2D should be unaffected, and the writer now more closely mirrors the writer.

Tested round tripping of 3D TIFF stacks, verified that the size, shape, and other parameters seem to work as expected. The reader and writer are tested in Python image tests.

Merge request reports