Skip to content

Commit 1cdf916

Browse files
committed
Update tiff on linux
1 parent 5705279 commit 1cdf916

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cmake/ModuleWholeSlideImaging.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if(FAST_MODULE_WholeSlideImaging)
3131
else()
3232
fast_download_dependency(tiff
3333
4.3.0
34-
625dea4a6bf6460801e4d375348de135a8824f7bb675e1cd41bfaf0038cbf2ab
34+
08e058ee7dec3788a9b973407d2ec042e63b76b8592f1e1d147609e22833c008
3535
libtiff.so
3636
)
3737
fast_download_dependency(openslide

source/FAST/Importers/TIFFImagePyramidImporter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ void TIFFImagePyramidImporter::execute() {
2020
if(strstr.find("tag ignored") == std::string::npos) // ignore warnings about incorrect tag
2121
Reporter::warning() << "TIFF: " << module << ": " << str.get() << Reporter::end();
2222
});
23-
#ifdef WIN32
2423
// Since FAST is handling JPEG without the help TIFF, we do this to avoid an annoying warning:
2524
TIFFRegisterCODEC(COMPRESSION_JPEG, "JPEG", [](TIFF*, int)->int { return 1; });
26-
#endif
2725
TIFF* tiff = TIFFOpen(m_filename.c_str(), "rm");
2826
if(tiff == nullptr) {
2927
throw Exception("Failed to open file " + m_filename);

0 commit comments

Comments
 (0)