diff Framework/Outputs/InMemoryTiledImage.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/Outputs/InMemoryTiledImage.cpp	Wed Sep 11 13:43:39 2024 +0200
+++ b/Framework/Outputs/InMemoryTiledImage.cpp	Wed Sep 11 16:11:16 2024 +0200
@@ -107,10 +107,13 @@
   }
 
 
-  Orthanc::ImageAccessor* InMemoryTiledImage::DecodeTile(unsigned int level,
+  Orthanc::ImageAccessor* InMemoryTiledImage::DecodeTile(bool& isEmpty,
+                                                         unsigned int level,
                                                          unsigned int tileX,
                                                          unsigned int tileY)
   {
+    isEmpty = false;
+
     CheckLevel(level);
 
     if (tileX >= countTilesX_ ||