# HG changeset patch # User Sebastien Jodogne # Date 1729256469 -7200 # Node ID e32ccca4d772ba7a184ad41045a7237e6f7f1031 # Parent cf828b381bc9310dbb091aefb65181d7ffe3a45b user feedback diff -r cf828b381bc9 -r e32ccca4d772 Framework/Enumerations.cpp --- a/Framework/Enumerations.cpp Fri Oct 18 13:16:02 2024 +0200 +++ b/Framework/Enumerations.cpp Fri Oct 18 15:01:09 2024 +0200 @@ -110,10 +110,17 @@ return ImageCompression_Unknown; } else if (tmp == ImageCompression_Tiff && + boost::algorithm::ends_with(lower, ".ndpi")) + { + LOG(WARNING) << "The file extension \".ndpi\" indicates a Hamamatsu image, " + << "use the flag \"--force-openslide 1\" if you do not have enough RAM to store the entire image"; + return ImageCompression_Tiff; + } + else if (tmp == ImageCompression_Tiff && boost::algorithm::ends_with(lower, ".scn")) { - LOG(INFO) << "The file extension \".scn\" indicates a Leica image, " - << "use the flag \"--reencode 1\" or \"--force-openslide 1\" if you encounter problems"; + LOG(WARNING) << "The file extension \".scn\" indicates a Leica image, " + << "use the flag \"--reencode 1\" or \"--force-openslide 1\" if you encounter problems"; return ImageCompression_Tiff; } else