large-image-source-tiff 1.29.12.dev2__py3-none-any.whl → 1.29.12.dev10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -664,7 +664,6 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
664
664
  else:
665
665
  dir = self._tiffDirectories[z]
666
666
  try:
667
- allowStyle = True
668
667
  if dir is None:
669
668
  try:
670
669
  if not kwargs.get('inSparseFallback'):
@@ -676,7 +675,6 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
676
675
  raise IOTiffError('Missing z level %d' % z)
677
676
  else:
678
677
  raise
679
- allowStyle = False
680
678
  else:
681
679
  tile = dir.getTile(x, y, asarray=numpyAllowed == 'always')
682
680
  format = 'JPEG'
@@ -685,7 +683,7 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
685
683
  if isinstance(tile, np.ndarray):
686
684
  format = TILE_FORMAT_NUMPY
687
685
  return self._outputTile(tile, format, x, y, z, pilImageAllowed,
688
- numpyAllowed, applyStyle=allowStyle, **kwargs)
686
+ numpyAllowed, **kwargs)
689
687
  except InvalidOperationTiffError as e:
690
688
  raise TileSourceError(e.args[0])
691
689
  except IOTiffError as e:
@@ -734,7 +732,7 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
734
732
  else:
735
733
  image = PIL.Image.new('RGBA', (self.tileWidth, self.tileHeight))
736
734
  return self._outputTile(image, TILE_FORMAT_PIL, x, y, z, pilImageAllowed,
737
- numpyAllowed, applyStyle=False, **kwargs)
735
+ numpyAllowed, **kwargs)
738
736
  raise TileSourceError('Internal I/O failure: %s' % exception.args[0])
739
737
 
740
738
  def _nonemptyLevelsList(self, frame=0):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: large-image-source-tiff
3
- Version: 1.29.12.dev2
3
+ Version: 1.29.12.dev10
4
4
  Summary: A TIFF tilesource for large_image.
5
5
  Home-page: https://github.com/girder/large_image
6
6
  Author: Kitware, Inc.
@@ -18,13 +18,13 @@ Classifier: Programming Language :: Python :: 3.12
18
18
  Requires-Python: >=3.8
19
19
  Description-Content-Type: text/x-rst
20
20
  License-File: LICENSE
21
- Requires-Dist: large-image >=1.29.12.dev2
21
+ Requires-Dist: large-image >=1.29.12.dev10
22
22
  Requires-Dist: pylibtiff
23
23
  Requires-Dist: tifftools >=1.2.0
24
24
  Provides-Extra: all
25
25
  Requires-Dist: pylibjpeg-openjpeg ; extra == 'all'
26
26
  Provides-Extra: girder
27
- Requires-Dist: girder-large-image >=1.29.12.dev2 ; extra == 'girder'
27
+ Requires-Dist: girder-large-image >=1.29.12.dev10 ; extra == 'girder'
28
28
 
29
29
  A TIFF tilesource for large_image.
30
30
 
@@ -0,0 +1,10 @@
1
+ large_image_source_tiff/__init__.py,sha256=XYES_swxd926-yAtoess0yluClGVAFN2RUou0dUglpM,35597
2
+ large_image_source_tiff/exceptions.py,sha256=NgdwloaDCtbtUMe2BU2lXEU8IwQSYtaokIwGIFypCps,617
3
+ large_image_source_tiff/girder_source.py,sha256=Dp2e3O4VTANYXZI_eybgzs5BcyuMcw2-MAzCUJ8zzPg,1031
4
+ large_image_source_tiff/tiff_reader.py,sha256=Gqzv3ct5YDicho9l23a0Gjoyln7TJNEbqAov4RnHRGI,39143
5
+ large_image_source_tiff-1.29.12.dev10.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
6
+ large_image_source_tiff-1.29.12.dev10.dist-info/METADATA,sha256=nkmJsrkRfjAp3PYunC_z7rl8TSQFwt0g8MVlY3Kd8nc,1145
7
+ large_image_source_tiff-1.29.12.dev10.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
8
+ large_image_source_tiff-1.29.12.dev10.dist-info/entry_points.txt,sha256=iZ43sIcj98SND7nDUC-_4qroBL6apyXN4iSbPXZ8LE4,166
9
+ large_image_source_tiff-1.29.12.dev10.dist-info/top_level.txt,sha256=QRx_D2oeiOOz_5FlBOAoDPF-E4Q-aFmerUWlaeP14B8,24
10
+ large_image_source_tiff-1.29.12.dev10.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- large_image_source_tiff/__init__.py,sha256=03IaYm-VxqCG6C0AKVX0eMQgQOzsgTXkB-ey0BrQiBs,35703
2
- large_image_source_tiff/exceptions.py,sha256=NgdwloaDCtbtUMe2BU2lXEU8IwQSYtaokIwGIFypCps,617
3
- large_image_source_tiff/girder_source.py,sha256=Dp2e3O4VTANYXZI_eybgzs5BcyuMcw2-MAzCUJ8zzPg,1031
4
- large_image_source_tiff/tiff_reader.py,sha256=Gqzv3ct5YDicho9l23a0Gjoyln7TJNEbqAov4RnHRGI,39143
5
- large_image_source_tiff-1.29.12.dev2.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
6
- large_image_source_tiff-1.29.12.dev2.dist-info/METADATA,sha256=BUcpe5NedoSMevw3kkRJwEInbRbRpcoMtcyFBm5spgA,1142
7
- large_image_source_tiff-1.29.12.dev2.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
8
- large_image_source_tiff-1.29.12.dev2.dist-info/entry_points.txt,sha256=iZ43sIcj98SND7nDUC-_4qroBL6apyXN4iSbPXZ8LE4,166
9
- large_image_source_tiff-1.29.12.dev2.dist-info/top_level.txt,sha256=QRx_D2oeiOOz_5FlBOAoDPF-E4Q-aFmerUWlaeP14B8,24
10
- large_image_source_tiff-1.29.12.dev2.dist-info/RECORD,,