A tool or script to validate TIFFs before uploading.
To check: is tiled compressed (LZW||JPEG) RGB 888.
Possible implementations: bftools script, IM script, tool on top of Bio-Formats library.
UPD 27.08.2022
Windows only quick-and-dirty implementation is available at \NESYS_Tools\ImageMagick_scripts\ImageMagick_7\ImageMagickGUI.exe tool. See "Validate TIFFs" option in the combo box. Doesn't check for tiling. Production quality tool should generate csv file containing all the tags.
It is possible to create a tool which will validate already uploaded (to a bucket) TIFFs by downloading their headers only (HTTP RANGE) and analyzing them @Majpuc. However, it looks more feasible to check TIFFs on the back end before starting the processing. Actually failing to start the processing is already the test.
A tool or script to validate TIFFs before uploading. To check: is tiled compressed (LZW||JPEG) RGB 888. Possible implementations: bftools script, IM script, tool on top of Bio-Formats library.
UPD 27.08.2022 Windows only quick-and-dirty implementation is available at \NESYS_Tools\ImageMagick_scripts\ImageMagick_7\ImageMagickGUI.exe tool. See "Validate TIFFs" option in the combo box. Doesn't check for tiling. Production quality tool should generate csv file containing all the tags. It is possible to create a tool which will validate already uploaded (to a bucket) TIFFs by downloading their headers only (HTTP RANGE) and analyzing them @Majpuc. However, it looks more feasible to check TIFFs on the back end before starting the processing. Actually failing to start the processing is already the test.