Glymur 0.14.1__py3-none-any.whl → 0.14.2__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/jp2k.py +3 -3
- glymur/jp2kr.py +12 -22
- glymur/lib/_tiff.py +2142 -0
- glymur/lib/tiff.py +6 -2138
- glymur/tiff.py +2 -2
- glymur/version.py +1 -1
- {glymur-0.14.1.dist-info → glymur-0.14.2.dist-info}/METADATA +2 -2
- {glymur-0.14.1.dist-info → glymur-0.14.2.dist-info}/RECORD +12 -11
- {glymur-0.14.1.dist-info → glymur-0.14.2.dist-info}/WHEEL +1 -1
- {glymur-0.14.1.dist-info → glymur-0.14.2.dist-info}/entry_points.txt +0 -0
- {glymur-0.14.1.dist-info → glymur-0.14.2.dist-info}/licenses/LICENSE.txt +0 -0
- {glymur-0.14.1.dist-info → glymur-0.14.2.dist-info}/top_level.txt +0 -0
glymur/tiff.py
CHANGED
|
@@ -14,7 +14,7 @@ import numpy as np
|
|
|
14
14
|
from glymur import Jp2k, set_option
|
|
15
15
|
from glymur.core import SRGB
|
|
16
16
|
from ._core_converter import _2JP2Converter
|
|
17
|
-
from .lib import
|
|
17
|
+
from .lib import _tiff as libtiff
|
|
18
18
|
from . import jp2box
|
|
19
19
|
|
|
20
20
|
# we need a lower case mapping from the tag name to the tag number
|
|
@@ -243,7 +243,7 @@ class Tiff2Jp2k(_2JP2Converter):
|
|
|
243
243
|
temp_filename = str(self.jp2_path) + ".tmp"
|
|
244
244
|
self.jp2.wrap(temp_filename, boxes=self.jp2.box)
|
|
245
245
|
shutil.move(temp_filename, self.jp2_path)
|
|
246
|
-
self.jp2.
|
|
246
|
+
self.jp2._parse()
|
|
247
247
|
|
|
248
248
|
def append_extra_jp2_boxes(self):
|
|
249
249
|
"""Copy over the TIFF IFD. Place it in a UUID box. Append to the JPEG
|
glymur/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: Glymur
|
|
3
|
-
Version: 0.14.
|
|
3
|
+
Version: 0.14.2
|
|
4
4
|
Summary: Read and write JPEG 2000 files
|
|
5
5
|
Author-email: John Evans <jevans667cc@proton.me>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -21,7 +21,7 @@ Description-Content-Type: text/markdown
|
|
|
21
21
|
License-File: LICENSE.txt
|
|
22
22
|
Requires-Dist: numpy
|
|
23
23
|
Requires-Dist: lxml
|
|
24
|
-
Requires-Dist:
|
|
24
|
+
Requires-Dist: pillow
|
|
25
25
|
Dynamic: license-file
|
|
26
26
|
|
|
27
27
|
glymur: a Python interface for JPEG 2000
|
|
@@ -6,22 +6,23 @@ glymur/command_line.py,sha256=3Wngx3wfAvP2PEf4-XRbmm43Bz8zywIL3Gd-6k-wMvY,11485
|
|
|
6
6
|
glymur/config.py,sha256=lVunNA-A475BX27L_qmrec_lm1InzHuL4_jkG8v_1FA,4140
|
|
7
7
|
glymur/core.py,sha256=O07TfaRW2YmurkFMiurl0DkDSGB0slDAAzP83K1HPFA,3613
|
|
8
8
|
glymur/jp2box.py,sha256=9tBCbLqqwO-CP587a_dAW88W3MJLJMz-cAyQ_LSUO6A,113852
|
|
9
|
-
glymur/jp2k.py,sha256=
|
|
10
|
-
glymur/jp2kr.py,sha256=
|
|
9
|
+
glymur/jp2k.py,sha256=gcYXL9kO2HQP4BGU2yUWb1f5oyIL0oQ4k0Cf8wb_B7Y,56895
|
|
10
|
+
glymur/jp2kr.py,sha256=6Taw9EkohB5DibsNTMf5IJXDuFH6CU4ZuIfLKxKDDOY,35577
|
|
11
11
|
glymur/jpeg.py,sha256=PSsyv4ZQTMXGQnpX9Y5-JGxHa0t6QZPZvd5BsnOhahQ,5560
|
|
12
12
|
glymur/options.py,sha256=TZApl6r_qCERHSIcTdM0iGvYuQLrZMbOtyFJB7XkvK0,4413
|
|
13
|
-
glymur/tiff.py,sha256=
|
|
14
|
-
glymur/version.py,sha256=
|
|
13
|
+
glymur/tiff.py,sha256=tLFBuKlMxbMPphAZ-RWLQMWC0lYzB0cJVQmBlGRYpbo,29552
|
|
14
|
+
glymur/version.py,sha256=ZBW7UJ51M0JenE0HMhstb04Yfmvs-L_Y8JoiUB5pgXE,981
|
|
15
15
|
glymur/data/__init__.py,sha256=n2KZrHV15it7Wu4YCaBLXui1ZleQ30dnZ92dyP6q05k,955
|
|
16
16
|
glymur/data/goodstuff.j2k,sha256=xKQG68KMu33gYjRUDTQvam1Cue2tdio85rNp5J-rYZE,115220
|
|
17
17
|
glymur/data/heliov.jpx,sha256=KXnYdBZgl25jcGLu-m-QfhuP9pqUXV0Hp9HHEdJqr34,1399071
|
|
18
18
|
glymur/data/nemo.jp2,sha256=yJ1NkTEwU0B_gBtAiA1c5hxtGYSJtJgq6cHC2IHpj70,1132373
|
|
19
19
|
glymur/lib/__init__.py,sha256=JnM9oPfcZhBDLKo7_yLS-lIRQ1wXb1N9hKKQ-G7vYVk,127
|
|
20
|
+
glymur/lib/_tiff.py,sha256=t8XfgwX2jX0qSU8RuTkNvWLe2390Bp7TiVlr8K2Ku68,51828
|
|
20
21
|
glymur/lib/openjp2.py,sha256=0UWPp2mto8G43yRUhGfpcS1RV6l3ac1YQrlVyBhxvjs,44064
|
|
21
|
-
glymur/lib/tiff.py,sha256=
|
|
22
|
-
glymur-0.14.
|
|
23
|
-
glymur-0.14.
|
|
24
|
-
glymur-0.14.
|
|
25
|
-
glymur-0.14.
|
|
26
|
-
glymur-0.14.
|
|
27
|
-
glymur-0.14.
|
|
22
|
+
glymur/lib/tiff.py,sha256=H9hgYh-gBx8LFec4LYReQOpscY51hpK6TIU27-zY8gg,260
|
|
23
|
+
glymur-0.14.2.dist-info/licenses/LICENSE.txt,sha256=G9pvBgkJdPTtZqQmoRyIgAydtic1ZwWtOWBea9VMW7I,1077
|
|
24
|
+
glymur-0.14.2.dist-info/METADATA,sha256=shnQVp0ugOqRoBuuo-H1YKATQg1y39YVZ6M32JXlGa0,1274
|
|
25
|
+
glymur-0.14.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
26
|
+
glymur-0.14.2.dist-info/entry_points.txt,sha256=v_9O2V_6M5ir6_nYmtkpgY9QvN1H-CMVg6tKqcUN4v0,133
|
|
27
|
+
glymur-0.14.2.dist-info/top_level.txt,sha256=D0SvtBUoPxOs40OTRW3l-kjGFHM6VrXS8yZPK5Fx2wY,7
|
|
28
|
+
glymur-0.14.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|