Mercurial > hg > orthanc-wsi
diff Framework/Enumerations.cpp @ 43:9621fd6f17c9
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 09 Nov 2016 17:34:20 +0100 |
parents | 7a88c614be04 |
children | 7a3853d51c45 |
line wrap: on
line diff
--- a/Framework/Enumerations.cpp Wed Nov 09 16:03:52 2016 +0100 +++ b/Framework/Enumerations.cpp Wed Nov 09 17:34:20 2016 +0100 @@ -23,6 +23,7 @@ #include "Jpeg2000Reader.h" #include "Orthanc/Core/OrthancException.h" +#include "Orthanc/Core/SystemToolbox.h" #include "Orthanc/Core/Toolbox.h" #include <string.h> @@ -82,7 +83,7 @@ ImageCompression DetectFormatFromFile(const std::string& path) { std::string header; - Orthanc::Toolbox::ReadHeader(header, path, 256); + Orthanc::SystemToolbox::ReadHeader(header, path, 256); ImageCompression tmp = DetectFormatFromMemory(header.c_str(), header.size()); if (tmp != ImageCompression_Unknown)