Glymur 0.13.5__py3-none-any.whl → 0.13.7__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.
- {Glymur-0.13.5.dist-info → Glymur-0.13.7.dist-info}/METADATA +6 -5
- {Glymur-0.13.5.dist-info → Glymur-0.13.7.dist-info}/RECORD +10 -10
- {Glymur-0.13.5.dist-info → Glymur-0.13.7.dist-info}/WHEEL +1 -1
- glymur/jp2box.py +4 -4
- glymur/jp2kr.py +3 -3
- glymur/tiff.py +1 -1
- glymur/version.py +1 -1
- {Glymur-0.13.5.dist-info → Glymur-0.13.7.dist-info}/LICENSE.txt +0 -0
- {Glymur-0.13.5.dist-info → Glymur-0.13.7.dist-info}/entry_points.txt +0 -0
- {Glymur-0.13.5.dist-info → Glymur-0.13.7.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: Glymur
|
|
3
|
-
Version: 0.13.
|
|
3
|
+
Version: 0.13.7
|
|
4
4
|
Home-page: https://github.com/quintusdias/glymur
|
|
5
5
|
Author: 'John Evans'
|
|
6
6
|
Author-email: "John Evans" <jevans667cc@proton.me>
|
|
@@ -9,20 +9,21 @@ Classifier: Programming Language :: Python
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3.10
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.11
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
12
13
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
13
14
|
Classifier: License :: OSI Approved :: MIT License
|
|
14
15
|
Classifier: Intended Audience :: Science/Research
|
|
15
16
|
Classifier: Operating System :: OS Independent
|
|
16
17
|
Classifier: Topic :: Scientific/Engineering
|
|
17
|
-
Requires-Python: >=3.
|
|
18
|
+
Requires-Python: >=3.9
|
|
18
19
|
Description-Content-Type: text/markdown
|
|
19
20
|
License-File: LICENSE.txt
|
|
20
21
|
Requires-Dist: numpy
|
|
21
22
|
Requires-Dist: lxml
|
|
22
23
|
Requires-Dist: packaging
|
|
23
24
|
Provides-Extra: test
|
|
24
|
-
Requires-Dist: pytest
|
|
25
|
-
Requires-Dist: pillow
|
|
25
|
+
Requires-Dist: pytest; extra == "test"
|
|
26
|
+
Requires-Dist: pillow; extra == "test"
|
|
26
27
|
|
|
27
28
|
|
|
28
29
|
**glymur** contains a Python interface to the OpenJPEG library which
|
|
@@ -4,12 +4,12 @@ glymur/codestream.py,sha256=nctHzG_bQKhln_gGAmoaxDhH3ndEbsiVVKy3dPqh4JM,62290
|
|
|
4
4
|
glymur/command_line.py,sha256=jm-6dD2jcU_G7mJAJ0U5sanfG9kRy-j0-G3eSN_Ieek,7476
|
|
5
5
|
glymur/config.py,sha256=ceGulS8TN2OYiTPtq3mAdhXrCCRlxjuLmvN_UG0009Y,4139
|
|
6
6
|
glymur/core.py,sha256=IDkk8FESyukQTB10LHBZ4VQM36NwKE4CXCcuJ407Kzg,3638
|
|
7
|
-
glymur/jp2box.py,sha256=
|
|
7
|
+
glymur/jp2box.py,sha256=7IQ_XzHhZgygPdoG2VOEYxcNQSRoPst73G5WDT9OJAY,112429
|
|
8
8
|
glymur/jp2k.py,sha256=PYrjzhNPsmG2H_tyRUlIheQ-Gx7sXzH7igNAWdVyMXA,53489
|
|
9
|
-
glymur/jp2kr.py,sha256=
|
|
9
|
+
glymur/jp2kr.py,sha256=9DD4DpH6BWGGee1kf11BPggsAblmhi9rrTR4vTN8CyQ,33000
|
|
10
10
|
glymur/options.py,sha256=Y777g4wpxPqRAF8s963goeAIogfLqIe_Dyd9f77MfmU,4428
|
|
11
|
-
glymur/tiff.py,sha256=
|
|
12
|
-
glymur/version.py,sha256=
|
|
11
|
+
glymur/tiff.py,sha256=h4zFc3hq72kFqcuNqwr2CUKYtBj0o50H6YjiQl6OvP4,41116
|
|
12
|
+
glymur/version.py,sha256=7pm9FdQyoHe34OHA2IXX-rIa6gw1n9Abzjiuv-Inc4U,981
|
|
13
13
|
glymur/data/__init__.py,sha256=n2KZrHV15it7Wu4YCaBLXui1ZleQ30dnZ92dyP6q05k,955
|
|
14
14
|
glymur/data/goodstuff.j2k,sha256=xKQG68KMu33gYjRUDTQvam1Cue2tdio85rNp5J-rYZE,115220
|
|
15
15
|
glymur/data/heliov.jpx,sha256=KXnYdBZgl25jcGLu-m-QfhuP9pqUXV0Hp9HHEdJqr34,1399071
|
|
@@ -17,9 +17,9 @@ glymur/data/nemo.jp2,sha256=yJ1NkTEwU0B_gBtAiA1c5hxtGYSJtJgq6cHC2IHpj70,1132373
|
|
|
17
17
|
glymur/lib/__init__.py,sha256=JnM9oPfcZhBDLKo7_yLS-lIRQ1wXb1N9hKKQ-G7vYVk,127
|
|
18
18
|
glymur/lib/openjp2.py,sha256=VHCy_TnBSDqQ8YlIQHkyFqUXOQ2E5C3jxJoziG73s0I,45052
|
|
19
19
|
glymur/lib/tiff.py,sha256=2o29IzYTsprVR_C6VDNHOzqk_U7aUdCoLQ2fjiyyoaI,50777
|
|
20
|
-
Glymur-0.13.
|
|
21
|
-
Glymur-0.13.
|
|
22
|
-
Glymur-0.13.
|
|
23
|
-
Glymur-0.13.
|
|
24
|
-
Glymur-0.13.
|
|
25
|
-
Glymur-0.13.
|
|
20
|
+
Glymur-0.13.7.dist-info/LICENSE.txt,sha256=G9pvBgkJdPTtZqQmoRyIgAydtic1ZwWtOWBea9VMW7I,1077
|
|
21
|
+
Glymur-0.13.7.dist-info/METADATA,sha256=VY-x5a8Txzk8VfHoiv3Z1vAvRytFnFzwbhQvSfW5gDA,1069
|
|
22
|
+
Glymur-0.13.7.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
23
|
+
Glymur-0.13.7.dist-info/entry_points.txt,sha256=inzxpDbDDfIxtdXpCncAHdAdwJfjtXt3xKvIOsuZsG8,93
|
|
24
|
+
Glymur-0.13.7.dist-info/top_level.txt,sha256=D0SvtBUoPxOs40OTRW3l-kjGFHM6VrXS8yZPK5Fx2wY,7
|
|
25
|
+
Glymur-0.13.7.dist-info/RECORD,,
|
glymur/jp2box.py
CHANGED
|
@@ -2969,9 +2969,9 @@ class XMLBox(Jp2kBox):
|
|
|
2969
2969
|
----------
|
|
2970
2970
|
xml : ElementTree
|
|
2971
2971
|
An ElementTree object already existing in python.
|
|
2972
|
-
filename : str or
|
|
2973
|
-
File
|
|
2974
|
-
|
|
2972
|
+
filename : file, str, or pathlib.Path
|
|
2973
|
+
File to read. If filename is not None, then the xml keyword
|
|
2974
|
+
argument must be None.
|
|
2975
2975
|
"""
|
|
2976
2976
|
super().__init__()
|
|
2977
2977
|
if filename is not None and xml is not None:
|
|
@@ -2981,7 +2981,7 @@ class XMLBox(Jp2kBox):
|
|
|
2981
2981
|
)
|
|
2982
2982
|
raise RuntimeError(msg)
|
|
2983
2983
|
if filename is not None:
|
|
2984
|
-
self.xml = ET.parse(
|
|
2984
|
+
self.xml = ET.parse(filename)
|
|
2985
2985
|
else:
|
|
2986
2986
|
self.xml = xml
|
|
2987
2987
|
self.length = length
|
glymur/jp2kr.py
CHANGED
|
@@ -886,9 +886,9 @@ class Jp2kr(Jp2kBox):
|
|
|
886
886
|
def get_codestream(self, header_only=True):
|
|
887
887
|
"""Retrieve codestream.
|
|
888
888
|
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
889
|
+
This differs from the codestream property in that segment
|
|
890
|
+
metadata that lies past the end of the codestream header
|
|
891
|
+
can be retrieved.
|
|
892
892
|
|
|
893
893
|
Parameters
|
|
894
894
|
----------
|
glymur/tiff.py
CHANGED
|
@@ -862,7 +862,7 @@ class Tiff2Jp2k(object):
|
|
|
862
862
|
partial_jp2_tile_rows = (self.imageheight / jth) != (self.imageheight // jth) # noqa : E501
|
|
863
863
|
partial_jp2_tile_cols = (self.imagewidth / jtw) != (self.imagewidth // jtw) # noqa : E501
|
|
864
864
|
|
|
865
|
-
num_jp2k_tile_rows = int(np.ceil(self.
|
|
865
|
+
num_jp2k_tile_rows = int(np.ceil(self.imageheight / jth))
|
|
866
866
|
num_jp2k_tile_cols = int(np.ceil(self.imagewidth / jtw))
|
|
867
867
|
|
|
868
868
|
jp2k_tile_row = int(np.ceil(jp2k_tile_num // num_jp2k_tile_cols))
|
glymur/version.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|