Mercurial > hg > orthanc-wsi
comparison Framework/Enumerations.cpp @ 332:e32ccca4d772
user feedback
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Oct 2024 15:01:09 +0200 |
parents | a57a107b9547 |
children |
comparison
equal
deleted
inserted
replaced
331:cf828b381bc9 | 332:e32ccca4d772 |
---|---|
108 LOG(WARNING) << "The file extension \".mrxs\" indicates a MIRAX / 3DHISTECH image, " | 108 LOG(WARNING) << "The file extension \".mrxs\" indicates a MIRAX / 3DHISTECH image, " |
109 << "skipping auto-detection of the file format"; | 109 << "skipping auto-detection of the file format"; |
110 return ImageCompression_Unknown; | 110 return ImageCompression_Unknown; |
111 } | 111 } |
112 else if (tmp == ImageCompression_Tiff && | 112 else if (tmp == ImageCompression_Tiff && |
113 boost::algorithm::ends_with(lower, ".ndpi")) | |
114 { | |
115 LOG(WARNING) << "The file extension \".ndpi\" indicates a Hamamatsu image, " | |
116 << "use the flag \"--force-openslide 1\" if you do not have enough RAM to store the entire image"; | |
117 return ImageCompression_Tiff; | |
118 } | |
119 else if (tmp == ImageCompression_Tiff && | |
113 boost::algorithm::ends_with(lower, ".scn")) | 120 boost::algorithm::ends_with(lower, ".scn")) |
114 { | 121 { |
115 LOG(INFO) << "The file extension \".scn\" indicates a Leica image, " | 122 LOG(WARNING) << "The file extension \".scn\" indicates a Leica image, " |
116 << "use the flag \"--reencode 1\" or \"--force-openslide 1\" if you encounter problems"; | 123 << "use the flag \"--reencode 1\" or \"--force-openslide 1\" if you encounter problems"; |
117 return ImageCompression_Tiff; | 124 return ImageCompression_Tiff; |
118 } | 125 } |
119 else | 126 else |
120 { | 127 { |
121 return tmp; | 128 return tmp; |