Mercurial > hg > orthanc-wsi
diff Framework/Algorithms/ReconstructPyramidCommand.cpp @ 154:32a94bbb7d05
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 08 Oct 2018 12:12:39 +0200 |
parents | a0f9a3df1110 |
children | 6b8ccfc02051 |
line wrap: on
line diff
--- a/Framework/Algorithms/ReconstructPyramidCommand.cpp Fri Jul 27 14:06:26 2018 +0200 +++ b/Framework/Algorithms/ReconstructPyramidCommand.cpp Mon Oct 08 12:12:39 2018 +0200 @@ -50,7 +50,8 @@ if (level == 0) { - result.reset(new Orthanc::ImageAccessor(source_.GetDecodedTile(x, y))); + result.reset(new Orthanc::ImageAccessor); + source_.GetDecodedTile(*result, x, y); ImageCompression compression; const std::string* rawTile = source_.GetRawTile(compression, x, y);