imageio 2.37.2__tar.gz → 2.37.3__tar.gz
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.
- {imageio-2.37.2 → imageio-2.37.3/ImageIO.egg-info}/PKG-INFO +5 -5
- {imageio-2.37.2 → imageio-2.37.3}/LICENSE +1 -1
- {imageio-2.37.2/ImageIO.egg-info → imageio-2.37.3}/PKG-INFO +5 -5
- {imageio-2.37.2 → imageio-2.37.3}/README.md +3 -3
- {imageio-2.37.2 → imageio-2.37.3}/docs/conf.py +1 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/__init__.py +2 -2
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/findlib.py +1 -2
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/format.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/util.py +0 -2
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/__init__.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/_dicom.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/_swf.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/_tifffile.py +3 -5
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/feisem.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/freeimagemulti.py +2 -2
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/lytro.py +2 -2
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/pillow_legacy.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/spe.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/swf.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/tifffile.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/pyproject.toml +5 -2
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_core.py +1 -1
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_ffmpeg_info.py +2 -4
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_lytro.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_pillow.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_spe.py +0 -1
- {imageio-2.37.2 → imageio-2.37.3}/CONTRIBUTORS.txt +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/ImageIO.egg-info/SOURCES.txt +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/ImageIO.egg-info/dependency_links.txt +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/ImageIO.egg-info/entry_points.txt +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/ImageIO.egg-info/not-zip-safe +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/ImageIO.egg-info/requires.txt +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/ImageIO.egg-info/top_level.txt +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/MANIFEST.in +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/Makefile +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/_static/imageio_logo.png +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/_templates/better_class.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/_templates/formats.rst.template +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/_templates/plugin.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/development/index.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/development/plugins.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/examples.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/formats/formats_by_plugin.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/formats/index.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/formats/video_formats.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/imageio_ext.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/index.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/make.bat +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/reference/core_v3.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/reference/index.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/reference/userapi.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/cmdlinescripts.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/drop27.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/envvariables.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/freezing.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/index.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/installation.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/overview.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/requests.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/scipy.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/docs/user_guide/standardimages.rst +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/__main__.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/config/__init__.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/config/extensions.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/config/extensions.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/config/plugins.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/config/plugins.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/__init__.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/fetching.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/format.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/imopen.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/imopen.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/legacy_plugin_wrapper.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/legacy_plugin_wrapper.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/request.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/request.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/core/v3_plugin_api.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/freeze.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/_bsdf.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/_freeimage.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/bsdf.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/dicom.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/example.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/ffmpeg.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/fits.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/freeimage.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/gdal.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/grab.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/npz.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/opencv.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/pillow.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/pillow_info.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/pillowmulti.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/pyav.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/rawpy.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/simpleitk.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/plugins/tifffile_v3.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/py.typed +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/testing.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/typing.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/v2.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/v2.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/v3.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/imageio/v3.pyi +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/setup.cfg +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/conftest.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_bsdf.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_config.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_dicom.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_fei_tiff.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_ffmpeg.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_fits.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_format.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_freeimage.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_gdal.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_grab.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_legacy_plugin_wrapper.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_meta.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_npz.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_opencv.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_pillow_legacy.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_pyav.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_rawpy.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_simpleitk.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_swf.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_tifffile.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_tifffile_v3.py +0 -0
- {imageio-2.37.2 → imageio-2.37.3}/tests/test_v2.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ImageIO
|
|
3
|
-
Version: 2.37.
|
|
3
|
+
Version: 2.37.3
|
|
4
4
|
Summary: Read and write images and video across all major formats. Supports scientific and volumetric data.
|
|
5
5
|
Author: ImageIO contributors
|
|
6
6
|
Maintainer-email: Sebastian Wallkotter <sebastian@wallkoetter.net>, Almar Klein <almar.klein@gmail.com>
|
|
@@ -23,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
-
Requires-Python: >=3.
|
|
26
|
+
Requires-Python: >=3.10
|
|
27
27
|
Description-Content-Type: text/x-rst
|
|
28
28
|
License-File: LICENSE
|
|
29
29
|
Requires-Dist: numpy
|
|
@@ -125,7 +125,7 @@ Website: <https://imageio.readthedocs.io/>
|
|
|
125
125
|
|
|
126
126
|
Imageio is a mature Python library that makes it easy to read and write image
|
|
127
127
|
and video data. This includes animated images, video, volumetric data, and
|
|
128
|
-
scientific formats. It is cross-platform, runs on Python 3.
|
|
128
|
+
scientific formats. It is cross-platform, runs on Python 3.10+, and is easy to
|
|
129
129
|
install.
|
|
130
130
|
|
|
131
131
|
Professional support is available via
|
|
@@ -165,7 +165,7 @@ See the [API docs](https://imageio.readthedocs.io/en/stable/reference/index.html
|
|
|
165
165
|
[install](https://imageio.readthedocs.io/en/stable/getting_started/installation.html)
|
|
166
166
|
using Conda or pip
|
|
167
167
|
- Few core dependencies (only NumPy and Pillow)
|
|
168
|
-
- Pure Python, runs on Python 3.
|
|
168
|
+
- Pure Python, runs on Python 3.10+, and PyPy
|
|
169
169
|
- Cross platform, runs on Windows, Linux, macOS
|
|
170
170
|
- More than 295 supported
|
|
171
171
|
[formats](https://imageio.readthedocs.io/en/stable/formats/index.html)
|
|
@@ -179,7 +179,7 @@ See the [API docs](https://imageio.readthedocs.io/en/stable/reference/index.html
|
|
|
179
179
|
|
|
180
180
|
Minimal requirements:
|
|
181
181
|
|
|
182
|
-
- Python 3.
|
|
182
|
+
- Python 3.10+
|
|
183
183
|
- NumPy
|
|
184
184
|
- Pillow >= 8.3.2
|
|
185
185
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ImageIO
|
|
3
|
-
Version: 2.37.
|
|
3
|
+
Version: 2.37.3
|
|
4
4
|
Summary: Read and write images and video across all major formats. Supports scientific and volumetric data.
|
|
5
5
|
Author: ImageIO contributors
|
|
6
6
|
Maintainer-email: Sebastian Wallkotter <sebastian@wallkoetter.net>, Almar Klein <almar.klein@gmail.com>
|
|
@@ -23,7 +23,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.14
|
|
26
|
-
Requires-Python: >=3.
|
|
26
|
+
Requires-Python: >=3.10
|
|
27
27
|
Description-Content-Type: text/x-rst
|
|
28
28
|
License-File: LICENSE
|
|
29
29
|
Requires-Dist: numpy
|
|
@@ -125,7 +125,7 @@ Website: <https://imageio.readthedocs.io/>
|
|
|
125
125
|
|
|
126
126
|
Imageio is a mature Python library that makes it easy to read and write image
|
|
127
127
|
and video data. This includes animated images, video, volumetric data, and
|
|
128
|
-
scientific formats. It is cross-platform, runs on Python 3.
|
|
128
|
+
scientific formats. It is cross-platform, runs on Python 3.10+, and is easy to
|
|
129
129
|
install.
|
|
130
130
|
|
|
131
131
|
Professional support is available via
|
|
@@ -165,7 +165,7 @@ See the [API docs](https://imageio.readthedocs.io/en/stable/reference/index.html
|
|
|
165
165
|
[install](https://imageio.readthedocs.io/en/stable/getting_started/installation.html)
|
|
166
166
|
using Conda or pip
|
|
167
167
|
- Few core dependencies (only NumPy and Pillow)
|
|
168
|
-
- Pure Python, runs on Python 3.
|
|
168
|
+
- Pure Python, runs on Python 3.10+, and PyPy
|
|
169
169
|
- Cross platform, runs on Windows, Linux, macOS
|
|
170
170
|
- More than 295 supported
|
|
171
171
|
[formats](https://imageio.readthedocs.io/en/stable/formats/index.html)
|
|
@@ -179,7 +179,7 @@ See the [API docs](https://imageio.readthedocs.io/en/stable/reference/index.html
|
|
|
179
179
|
|
|
180
180
|
Minimal requirements:
|
|
181
181
|
|
|
182
|
-
- Python 3.
|
|
182
|
+
- Python 3.10+
|
|
183
183
|
- NumPy
|
|
184
184
|
- Pillow >= 8.3.2
|
|
185
185
|
|
|
@@ -14,7 +14,7 @@ Website: <https://imageio.readthedocs.io/>
|
|
|
14
14
|
|
|
15
15
|
Imageio is a mature Python library that makes it easy to read and write image
|
|
16
16
|
and video data. This includes animated images, video, volumetric data, and
|
|
17
|
-
scientific formats. It is cross-platform, runs on Python 3.
|
|
17
|
+
scientific formats. It is cross-platform, runs on Python 3.10+, and is easy to
|
|
18
18
|
install.
|
|
19
19
|
|
|
20
20
|
Professional support is available via
|
|
@@ -54,7 +54,7 @@ See the [API docs](https://imageio.readthedocs.io/en/stable/reference/index.html
|
|
|
54
54
|
[install](https://imageio.readthedocs.io/en/stable/getting_started/installation.html)
|
|
55
55
|
using Conda or pip
|
|
56
56
|
- Few core dependencies (only NumPy and Pillow)
|
|
57
|
-
- Pure Python, runs on Python 3.
|
|
57
|
+
- Pure Python, runs on Python 3.10+, and PyPy
|
|
58
58
|
- Cross platform, runs on Windows, Linux, macOS
|
|
59
59
|
- More than 295 supported
|
|
60
60
|
[formats](https://imageio.readthedocs.io/en/stable/formats/index.html)
|
|
@@ -68,7 +68,7 @@ See the [API docs](https://imageio.readthedocs.io/en/stable/reference/index.html
|
|
|
68
68
|
|
|
69
69
|
Minimal requirements:
|
|
70
70
|
|
|
71
|
-
- Python 3.
|
|
71
|
+
- Python 3.10+
|
|
72
72
|
- NumPy
|
|
73
73
|
- Pillow >= 8.3.2
|
|
74
74
|
|
|
@@ -74,7 +74,7 @@ master_doc = "index"
|
|
|
74
74
|
|
|
75
75
|
# General information about the project.
|
|
76
76
|
project = "imageio"
|
|
77
|
-
copyright = "2014-
|
|
77
|
+
copyright = "2014-2026, imageio contributors"
|
|
78
78
|
|
|
79
79
|
# The version info for the project you're documenting, acts as replacement for
|
|
80
80
|
# |version| and |release|, also used in various other places throughout the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright (c) 2014-
|
|
2
|
+
# Copyright (c) 2014-2026, imageio contributors
|
|
3
3
|
# imageio is distributed under the terms of the (new) BSD License.
|
|
4
4
|
|
|
5
5
|
# This docstring is used at the index of the documentation pages, and
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"""
|
|
9
9
|
Imageio is a Python library that provides an easy interface to read and
|
|
10
10
|
write a wide range of image data, including animated images, volumetric
|
|
11
|
-
data, and scientific formats. It is cross-platform, runs on Python 3.
|
|
11
|
+
data, and scientific formats. It is cross-platform, runs on Python 3.10+,
|
|
12
12
|
and is easy to install.
|
|
13
13
|
|
|
14
14
|
Main website: https://imageio.readthedocs.io/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright (c) 2015-
|
|
2
|
+
# Copyright (c) 2015-2026, imageio contributors
|
|
3
3
|
# Copyright (C) 2013, Zach Pincus, Almar Klein and others
|
|
4
4
|
|
|
5
5
|
"""This module contains generic code to find and load a dynamic library."""
|
|
@@ -8,7 +8,6 @@ import os
|
|
|
8
8
|
import sys
|
|
9
9
|
import ctypes
|
|
10
10
|
|
|
11
|
-
|
|
12
11
|
LOCALDIR = os.path.abspath(os.path.dirname(__file__))
|
|
13
12
|
|
|
14
13
|
# Flag that can be patched / set to True to disable loading non-system libs
|
|
@@ -42,7 +42,6 @@ from ..config import known_plugins, known_extensions, PluginConfig, FileExtensio
|
|
|
42
42
|
from ..config.plugins import _original_order
|
|
43
43
|
from .imopen import imopen
|
|
44
44
|
|
|
45
|
-
|
|
46
45
|
# survived for backwards compatibility
|
|
47
46
|
# I don't know if external plugin code depends on it existing
|
|
48
47
|
# We no longer do
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
Various utilities for imageio
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
-
|
|
9
8
|
from collections import OrderedDict
|
|
10
9
|
import numpy as np
|
|
11
10
|
import os
|
|
@@ -15,7 +14,6 @@ import sys
|
|
|
15
14
|
import time
|
|
16
15
|
import logging
|
|
17
16
|
|
|
18
|
-
|
|
19
17
|
logger = logging.getLogger("imageio")
|
|
20
18
|
|
|
21
19
|
IS_PYPY = "__pypy__" in sys.builtin_module_names
|
|
@@ -4734,8 +4734,7 @@ class TiffSequence(object):
|
|
|
4734
4734
|
|
|
4735
4735
|
"""
|
|
4736
4736
|
|
|
4737
|
-
_patterns = {
|
|
4738
|
-
"axes": r"""
|
|
4737
|
+
_patterns = {"axes": r"""
|
|
4739
4738
|
# matches Olympus OIF and Leica TIFF series
|
|
4740
4739
|
_?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))
|
|
4741
4740
|
_?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))?
|
|
@@ -4744,8 +4743,7 @@ class TiffSequence(object):
|
|
|
4744
4743
|
_?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))?
|
|
4745
4744
|
_?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))?
|
|
4746
4745
|
_?(?:(q|l|p|a|c|t|x|y|z|ch|tp)(\d{1,4}))?
|
|
4747
|
-
"""
|
|
4748
|
-
}
|
|
4746
|
+
"""}
|
|
4749
4747
|
|
|
4750
4748
|
class ParseError(Exception):
|
|
4751
4749
|
pass
|
|
@@ -7809,7 +7807,7 @@ def read_lsm_channelcolors(fh):
|
|
|
7809
7807
|
"""Read LSM ChannelColors structure from file and return as dict."""
|
|
7810
7808
|
result = {"Mono": False, "Colors": [], "ColorNames": []}
|
|
7811
7809
|
pos = fh.tell()
|
|
7812
|
-
|
|
7810
|
+
size, ncolors, nnames, coffset, noffset, mono = struct.unpack(
|
|
7813
7811
|
"<IIIIII", fh.read(24)
|
|
7814
7812
|
)
|
|
7815
7813
|
if ncolors != nnames:
|
|
@@ -306,8 +306,8 @@ class GifFormat(FreeimageMulti):
|
|
|
306
306
|
Y = np.argwhere(diff.sum(1))
|
|
307
307
|
# Get rect coordinates
|
|
308
308
|
if X.size and Y.size:
|
|
309
|
-
x0, x1 =
|
|
310
|
-
y0, y1 =
|
|
309
|
+
x0, x1 = X[0].item(), X[-1].item() + 1
|
|
310
|
+
y0, y1 = Y[0].item(), Y[-1].item() + 1
|
|
311
311
|
else: # No change ... make it minimal
|
|
312
312
|
x0, x1 = 0, 2
|
|
313
313
|
y0, y1 = 0, 2
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
# Copyright (c) 2018, imageio contributors
|
|
2
|
+
# Copyright (c) 2018-2026, imageio contributors
|
|
3
3
|
# imageio is distributed under the terms of the (new) BSD License.
|
|
4
4
|
#
|
|
5
5
|
|
|
@@ -20,6 +20,7 @@ include_thumbnail : bool
|
|
|
20
20
|
Whether to include an image thumbnail in the metadata.
|
|
21
21
|
|
|
22
22
|
"""
|
|
23
|
+
|
|
23
24
|
#
|
|
24
25
|
#
|
|
25
26
|
# This code is based on work by
|
|
@@ -42,7 +43,6 @@ import numpy as np
|
|
|
42
43
|
from ..core import Format
|
|
43
44
|
from ..v2 import imread
|
|
44
45
|
|
|
45
|
-
|
|
46
46
|
logger = logging.getLogger(__name__)
|
|
47
47
|
|
|
48
48
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ImageIO"
|
|
7
|
-
version = "2.37.
|
|
7
|
+
version = "2.37.3"
|
|
8
8
|
authors = [
|
|
9
9
|
{name = "ImageIO contributors"}
|
|
10
10
|
]
|
|
@@ -17,7 +17,7 @@ description = "Read and write images and video across all major formats. Support
|
|
|
17
17
|
|
|
18
18
|
license = "BSD-2-Clause"
|
|
19
19
|
license-files = ["LICENSE"]
|
|
20
|
-
requires-python = ">=3.
|
|
20
|
+
requires-python = ">=3.10"
|
|
21
21
|
dependencies = [
|
|
22
22
|
"numpy",
|
|
23
23
|
"pillow>=8.3.2", # pinned to > 8.3.2 due to security vulnerability (GHSA-98vv-pw6r-q6q4)
|
|
@@ -154,6 +154,9 @@ readme = {file = ["README.md"]}
|
|
|
154
154
|
[tool.setuptools.package-data]
|
|
155
155
|
imageio = ["py.typed", "**/*.pyi", "*.pyi"]
|
|
156
156
|
|
|
157
|
+
[tool.pytest.ini_options]
|
|
158
|
+
pythonpath = ["."]
|
|
159
|
+
|
|
157
160
|
[tool.flake8]
|
|
158
161
|
# Note: flake8 doesn't natively support pyproject.toml
|
|
159
162
|
# This section is here for documentation; you may need to keep setup.cfg
|
|
@@ -924,7 +924,7 @@ def test_faulty_legacy_mode_access():
|
|
|
924
924
|
def test_mvolread_out_of_bytes(test_images):
|
|
925
925
|
with pytest.raises(RuntimeError):
|
|
926
926
|
iio.mvolread(
|
|
927
|
-
"
|
|
927
|
+
test_images / "multipage_rgb.tif",
|
|
928
928
|
memtest="1B",
|
|
929
929
|
)
|
|
930
930
|
|
|
@@ -24,8 +24,7 @@ def dedent(text, dedent=8):
|
|
|
24
24
|
def test_webcam_parse_device_names():
|
|
25
25
|
# Ensure that the device list parser returns all video devices (issue #283)
|
|
26
26
|
|
|
27
|
-
sample = dedent(
|
|
28
|
-
r"""
|
|
27
|
+
sample = dedent(r"""
|
|
29
28
|
ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
|
|
30
29
|
built with gcc 6.3.0 (GCC)
|
|
31
30
|
configuration: --enable-gpl --enable-version3 --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynthlibswresample 2. 3.100 / 2. 3.100
|
|
@@ -41,8 +40,7 @@ def test_webcam_parse_device_names():
|
|
|
41
40
|
[dshow @ 039a7e20] "SPDIF Interface (Multimedia Audio Device)"
|
|
42
41
|
[dshow @ 039a7e20] Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{617B63FB-CFC0-4D10-AE30-42A66CAF6A4E}"
|
|
43
42
|
dummy: Immediate exit requested
|
|
44
|
-
"""
|
|
45
|
-
)
|
|
43
|
+
""")
|
|
46
44
|
|
|
47
45
|
# Parse the sample
|
|
48
46
|
device_names = imageio.plugins.ffmpeg.parse_device_names(sample)
|
|
@@ -9,7 +9,6 @@ import imageio.v2 as iio
|
|
|
9
9
|
from imageio.core import Request
|
|
10
10
|
from conftest import deprecated_test
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
# Set file names for test images in imageio-binaries repo
|
|
14
13
|
LFR_FILENAME = "Ankylosaurus_&_Stegosaurus.LFR"
|
|
15
14
|
THUMB_FILENAME = "Ankylosaurus_&_Stegosaurus_Thumbnail.jpg"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|