I have received a 3D tiff file that gives me warnings about unknown tags when I try to read it with ImageFileReader in ITK 4.12.2. The unknown tags are: 50838, 50839. The execution is stopped with no other information provided. This is on a Win7 machine. Interestingly, the file is read successfully with the same program on a Win10 machine, built with ITK 4.7.2. The tag warnings are the same, but execution continues.
In each case ITK is built 64-bit. The tiff file is about 2.05 GB.
What can cause a read to work on Win10 but not on Win7?
Edit: It seems that the Win10 program is not really working properly, although it does not crash. The program simply compresses a tiff - reads in the file then writes it with compression. The original tiff has 861 pages, but according to Iranview64 and Windows Photo Viewer the compressed file has only 21 pages when using Packbits or LZW, and only 4 pages when using Zip/Deflate! The pages that can be displayed are correct, but the sizes of the compressed files are obviously inconsistent with the number of pages - the Packbits and LZW files are about 1.8 GB. I guess those unknown tags must be doing something important.