large-image-source-openjpeg 1.27.1.dev32__py3-none-any.whl → 1.27.1.dev34__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- large_image_source_openjpeg/__init__.py +2 -2
- {large_image_source_openjpeg-1.27.1.dev32.dist-info → large_image_source_openjpeg-1.27.1.dev34.dist-info}/METADATA +3 -3
- large_image_source_openjpeg-1.27.1.dev34.dist-info/RECORD +8 -0
- large_image_source_openjpeg-1.27.1.dev32.dist-info/RECORD +0 -8
- {large_image_source_openjpeg-1.27.1.dev32.dist-info → large_image_source_openjpeg-1.27.1.dev34.dist-info}/LICENSE +0 -0
- {large_image_source_openjpeg-1.27.1.dev32.dist-info → large_image_source_openjpeg-1.27.1.dev34.dist-info}/WHEEL +0 -0
- {large_image_source_openjpeg-1.27.1.dev32.dist-info → large_image_source_openjpeg-1.27.1.dev34.dist-info}/entry_points.txt +0 -0
- {large_image_source_openjpeg-1.27.1.dev32.dist-info → large_image_source_openjpeg-1.27.1.dev34.dist-info}/top_level.txt +0 -0
@@ -17,7 +17,6 @@
|
|
17
17
|
import builtins
|
18
18
|
import io
|
19
19
|
import math
|
20
|
-
import multiprocessing
|
21
20
|
import os
|
22
21
|
import queue
|
23
22
|
import struct
|
@@ -29,6 +28,7 @@ from xml.etree import ElementTree
|
|
29
28
|
import glymur
|
30
29
|
import PIL.Image
|
31
30
|
|
31
|
+
import large_image
|
32
32
|
from large_image.cache_util import LruCacheMetaclass, methodcache
|
33
33
|
from large_image.constants import TILE_FORMAT_NUMPY, SourcePriority
|
34
34
|
from large_image.exceptions import TileSourceError, TileSourceFileNotFoundError
|
@@ -104,7 +104,7 @@ class OpenjpegFileTileSource(FileTileSource, metaclass=LruCacheMetaclass):
|
|
104
104
|
if not os.path.isfile(self._largeImagePath):
|
105
105
|
raise TileSourceFileNotFoundError(self._largeImagePath) from None
|
106
106
|
raise
|
107
|
-
glymur.set_option('lib.num_threads',
|
107
|
+
glymur.set_option('lib.num_threads', large_image.tilesource.utilities.cpu_count())
|
108
108
|
self._openjpegHandles = queue.LifoQueue()
|
109
109
|
for _ in range(self._maxOpenHandles - 1):
|
110
110
|
self._openjpegHandles.put(None)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: large-image-source-openjpeg
|
3
|
-
Version: 1.27.1.
|
3
|
+
Version: 1.27.1.dev34
|
4
4
|
Summary: An Openjpeg tilesource for large_image.
|
5
5
|
Home-page: https://github.com/girder/large_image
|
6
6
|
Author: Kitware, Inc.
|
@@ -17,10 +17,10 @@ Classifier: Programming Language :: Python :: 3.11
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.12
|
18
18
|
Requires-Python: >=3.8
|
19
19
|
License-File: LICENSE
|
20
|
-
Requires-Dist: large-image >=1.27.1.
|
20
|
+
Requires-Dist: large-image >=1.27.1.dev34
|
21
21
|
Requires-Dist: glymur >=0.8.18
|
22
22
|
Provides-Extra: girder
|
23
|
-
Requires-Dist: girder-large-image >=1.27.1.
|
23
|
+
Requires-Dist: girder-large-image >=1.27.1.dev34 ; extra == 'girder'
|
24
24
|
|
25
25
|
An Openjpeg tilesource for large_image.
|
26
26
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
large_image_source_openjpeg/__init__.py,sha256=5JzJZcosfZsYLybE2QhlcTe2w3s8qI5Cng6ibx8oHRk,11089
|
2
|
+
large_image_source_openjpeg/girder_source.py,sha256=Ve15utmsZ_CJrDXIAQD2ea2yHybE1vuWbbPJMeXQCMI,1246
|
3
|
+
large_image_source_openjpeg-1.27.1.dev34.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
4
|
+
large_image_source_openjpeg-1.27.1.dev34.dist-info/METADATA,sha256=AdNzuHAvONjcSDEk4471xxn5QDA12H3Q7phsZRBzmN0,1021
|
5
|
+
large_image_source_openjpeg-1.27.1.dev34.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
+
large_image_source_openjpeg-1.27.1.dev34.dist-info/entry_points.txt,sha256=lTM4P2JqjANt_gPtcbMYTJVCmfPts_VxB8bQyfhryjI,190
|
7
|
+
large_image_source_openjpeg-1.27.1.dev34.dist-info/top_level.txt,sha256=y6bw5gBWfdaFWXtjiCH0vaHRtP8WNBhq8ugIKnwzEL0,28
|
8
|
+
large_image_source_openjpeg-1.27.1.dev34.dist-info/RECORD,,
|
@@ -1,8 +0,0 @@
|
|
1
|
-
large_image_source_openjpeg/__init__.py,sha256=SJlXbimDF1RcKwJtgVE_yqbDgYUF0iyPJ5DIR31FBGs,11076
|
2
|
-
large_image_source_openjpeg/girder_source.py,sha256=Ve15utmsZ_CJrDXIAQD2ea2yHybE1vuWbbPJMeXQCMI,1246
|
3
|
-
large_image_source_openjpeg-1.27.1.dev32.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
|
4
|
-
large_image_source_openjpeg-1.27.1.dev32.dist-info/METADATA,sha256=-0SSK3twOGNjuc1tnkRSR7BVn82MAxS0t8RbBnT9bwI,1021
|
5
|
-
large_image_source_openjpeg-1.27.1.dev32.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
6
|
-
large_image_source_openjpeg-1.27.1.dev32.dist-info/entry_points.txt,sha256=lTM4P2JqjANt_gPtcbMYTJVCmfPts_VxB8bQyfhryjI,190
|
7
|
-
large_image_source_openjpeg-1.27.1.dev32.dist-info/top_level.txt,sha256=y6bw5gBWfdaFWXtjiCH0vaHRtP8WNBhq8ugIKnwzEL0,28
|
8
|
-
large_image_source_openjpeg-1.27.1.dev32.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|