diff Framework/Inputs/PyramidWithRawTiles.cpp @ 318:8ad12abde290

sparse re-encoding with OpenSlide (notably for MIRAX format)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 11 Sep 2024 16:11:16 +0200
parents 0683312e21ba
children
line wrap: on
line diff
--- a/Framework/Inputs/PyramidWithRawTiles.cpp	Wed Sep 11 13:43:39 2024 +0200
+++ b/Framework/Inputs/PyramidWithRawTiles.cpp	Wed Sep 11 16:11:16 2024 +0200
@@ -28,10 +28,13 @@
 
 namespace OrthancWSI
 {
-  Orthanc::ImageAccessor* PyramidWithRawTiles::DecodeTile(unsigned int level,
+  Orthanc::ImageAccessor* PyramidWithRawTiles::DecodeTile(bool& isEmpty,
+                                                          unsigned int level,
                                                           unsigned int tileX,
                                                           unsigned int tileY)
   {
+    isEmpty = false;
+
     std::string tile;
     ImageCompression compression;