Mercurial > hg > orthanc-wsi
diff Framework/Inputs/HierarchicalTiff.cpp @ 57:91fc9583b2de
big refactoring to support sparse tiling
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Nov 2016 17:48:24 +0100 |
parents | 7a88c614be04 |
children | 7a3853d51c45 |
line wrap: on
line diff
--- a/Framework/Inputs/HierarchicalTiff.cpp Thu Nov 24 15:41:21 2016 +0100 +++ b/Framework/Inputs/HierarchicalTiff.cpp Thu Nov 24 17:48:24 2016 +0100 @@ -245,6 +245,7 @@ bool HierarchicalTiff::ReadRawTile(std::string& tile, + ImageCompression& compression, unsigned int level, unsigned int tileX, unsigned int tileY) @@ -253,6 +254,8 @@ CheckLevel(level); + compression = compression_; + // Make the TIFF context point to the level of interest if (!TIFFSetDirectory(tiff_, levels_[level].directory_)) {