diff --git a/CHANGELOG.md b/CHANGELOG.md index e1d36a869..09c0483f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ ### Improvements - getPixel method and endpoint now returns rawer values ([#1155](../../pull/1155)) +- Allow more sophisticated filtering on item lists from the Girder client ([#1157](../../pull/1157)) + +### Bug Fixes +- The deepzoom tile source misreported the format of its tile output ([#1158](../../pull/1158)) ## 1.20.6 diff --git a/sources/deepzoom/large_image_source_deepzoom/__init__.py b/sources/deepzoom/large_image_source_deepzoom/__init__.py index 5f9e6268f..762a1c4aa 100644 --- a/sources/deepzoom/large_image_source_deepzoom/__init__.py +++ b/sources/deepzoom/large_image_source_deepzoom/__init__.py @@ -8,7 +8,7 @@ import PIL.Image from large_image.cache_util import LruCacheMetaclass, methodcache -from large_image.constants import TILE_FORMAT_NUMPY, SourcePriority +from large_image.constants import TILE_FORMAT_PIL, SourcePriority from large_image.exceptions import TileSourceError, TileSourceFileNotFoundError from large_image.tilesource import FileTileSource, etreeToDict @@ -113,7 +113,7 @@ def getTile(self, x, y, z, pilImageAllowed=False, numpyAllowed=False, **kwargs): overlap if x else 0, overlap if y else 0, self.tileWidth + (overlap if x else 0), self.tileHeight + (overlap if y else 0))) - return self._outputTile(tile, TILE_FORMAT_NUMPY, x, y, z, + return self._outputTile(tile, TILE_FORMAT_PIL, x, y, z, pilImageAllowed, numpyAllowed, **kwargs)