Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
TIFFImageIO::Deflate corrupt source image #574
I've found that after writing my images as tiff with deflate compression, the in memories data where corrupted.
Steps to Reproduce
Here a main to test (I use 3d image):
A ImageFileWriter should not change the data.
Tested on ITK 4.4.0 and 4.13.1
Tested under Windows
After some search in the code I've found that it's "normal" if you use the option PREDICTOR_HORIZONTAL as specified in a comment in "tiff_predict.c":