large-image-source-tiff 1.32.2.dev6__py3-none-any.whl → 1.32.2.dev8__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.
- large_image_source_tiff/__init__.py +5 -0
- {large_image_source_tiff-1.32.2.dev6.dist-info → large_image_source_tiff-1.32.2.dev8.dist-info}/METADATA +3 -3
- large_image_source_tiff-1.32.2.dev8.dist-info/RECORD +10 -0
- large_image_source_tiff-1.32.2.dev6.dist-info/RECORD +0 -10
- {large_image_source_tiff-1.32.2.dev6.dist-info → large_image_source_tiff-1.32.2.dev8.dist-info}/WHEEL +0 -0
- {large_image_source_tiff-1.32.2.dev6.dist-info → large_image_source_tiff-1.32.2.dev8.dist-info}/entry_points.txt +0 -0
- {large_image_source_tiff-1.32.2.dev6.dist-info → large_image_source_tiff-1.32.2.dev8.dist-info}/licenses/LICENSE +0 -0
- {large_image_source_tiff-1.32.2.dev6.dist-info → large_image_source_tiff-1.32.2.dev8.dist-info}/top_level.txt +0 -0
@@ -514,6 +514,9 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
514
514
|
image.
|
515
515
|
:param imageId: if specified, use this as the image name.
|
516
516
|
"""
|
517
|
+
if not hasattr(self, '_associatedImagesDir'):
|
518
|
+
self._associatedImagesDir = {'images': {}, 'dirs': {}}
|
519
|
+
self._associatedImagesDir['dirs'][directoryNum] = None
|
517
520
|
try:
|
518
521
|
associated = self.getTiffDir(directoryNum, mustBeTiled)
|
519
522
|
id = ''
|
@@ -548,6 +551,8 @@ class TiffFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
548
551
|
return
|
549
552
|
image = self._reorient_numpy_image(image, associated._tiffInfo.get('orientation'))
|
550
553
|
self._associatedImages[id] = image
|
554
|
+
self._associatedImagesDir['images'][id] = directoryNum
|
555
|
+
self._associatedImagesDir['dirs'][directoryNum] = id
|
551
556
|
except (TiffError, AttributeError):
|
552
557
|
# If we can't validate or read an associated image or it has no
|
553
558
|
# useful imagedescription, fail quietly without adding an
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: large-image-source-tiff
|
3
|
-
Version: 1.32.2.
|
3
|
+
Version: 1.32.2.dev8
|
4
4
|
Summary: A TIFF tilesource for large_image.
|
5
5
|
Home-page: https://github.com/girder/large_image
|
6
6
|
Author: Kitware, Inc.
|
@@ -19,13 +19,13 @@ Classifier: Programming Language :: Python :: 3.13
|
|
19
19
|
Requires-Python: >=3.8
|
20
20
|
Description-Content-Type: text/x-rst
|
21
21
|
License-File: LICENSE
|
22
|
-
Requires-Dist: large-image>=1.32.2.
|
22
|
+
Requires-Dist: large-image>=1.32.2.dev8
|
23
23
|
Requires-Dist: pylibtiff
|
24
24
|
Requires-Dist: tifftools>=1.2.0
|
25
25
|
Provides-Extra: all
|
26
26
|
Requires-Dist: pylibjpeg-openjpeg; extra == "all"
|
27
27
|
Provides-Extra: girder
|
28
|
-
Requires-Dist: girder-large-image>=1.32.2.
|
28
|
+
Requires-Dist: girder-large-image>=1.32.2.dev8; extra == "girder"
|
29
29
|
Dynamic: author
|
30
30
|
Dynamic: author-email
|
31
31
|
Dynamic: classifier
|
@@ -0,0 +1,10 @@
|
|
1
|
+
large_image_source_tiff/__init__.py,sha256=3JU4RSZ3ArHh2Jl-b7SeSMinH3wMHONMrqzsrtNurZ0,36912
|
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=gkAhuB4-IRzNLlNr958HKE9JZpRJwVo4zRGMd4rsD2o,40338
|
5
|
+
large_image_source_tiff-1.32.2.dev8.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
6
|
+
large_image_source_tiff-1.32.2.dev8.dist-info/METADATA,sha256=QgYKwCZ1CeQUevulpeq_5UyR3l-NIcc0TSyhLPlw41A,1446
|
7
|
+
large_image_source_tiff-1.32.2.dev8.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
8
|
+
large_image_source_tiff-1.32.2.dev8.dist-info/entry_points.txt,sha256=iZ43sIcj98SND7nDUC-_4qroBL6apyXN4iSbPXZ8LE4,166
|
9
|
+
large_image_source_tiff-1.32.2.dev8.dist-info/top_level.txt,sha256=QRx_D2oeiOOz_5FlBOAoDPF-E4Q-aFmerUWlaeP14B8,24
|
10
|
+
large_image_source_tiff-1.32.2.dev8.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
large_image_source_tiff/__init__.py,sha256=o-NkH3SI7XLmEdejSREFMw39kfTMu2LiV3GGHsmNrPQ,36588
|
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=gkAhuB4-IRzNLlNr958HKE9JZpRJwVo4zRGMd4rsD2o,40338
|
5
|
-
large_image_source_tiff-1.32.2.dev6.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
6
|
-
large_image_source_tiff-1.32.2.dev6.dist-info/METADATA,sha256=G4UjrXiOPLK-OPQT8cd5GE6JHvkrykvvfQKLzNR5g2k,1446
|
7
|
-
large_image_source_tiff-1.32.2.dev6.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
8
|
-
large_image_source_tiff-1.32.2.dev6.dist-info/entry_points.txt,sha256=iZ43sIcj98SND7nDUC-_4qroBL6apyXN4iSbPXZ8LE4,166
|
9
|
-
large_image_source_tiff-1.32.2.dev6.dist-info/top_level.txt,sha256=QRx_D2oeiOOz_5FlBOAoDPF-E4Q-aFmerUWlaeP14B8,24
|
10
|
-
large_image_source_tiff-1.32.2.dev6.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|