large-image-converter 1.29.7.dev8__py3-none-any.whl → 1.29.7.dev12__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.

Potentially problematic release.


This version of large-image-converter might be problematic. Click here for more details.

@@ -530,6 +530,10 @@ def _convert_large_image_frame(frame, numFrames, ts, frameOutputPath, tempPath,
530
530
  for tile in ts.tileIterator(tile_size=dict(width=_iterTileSize), frame=frame):
531
531
  _pool_add(tasks, (pool.submit(_convert_large_image_tile, tilelock, strips, tile), ))
532
532
  _drain_pool(pool, tasks)
533
+ minbands = min(strip.bands for strip in strips)
534
+ maxbands = max(strip.bands for strip in strips)
535
+ if minbands != maxbands:
536
+ strips = [strip[:minbands] for strip in strips]
533
537
  img = strips[0]
534
538
  for stripidx in range(1, len(strips)):
535
539
  img = img.insert(strips[stripidx], 0, stripidx * _iterTileSize, expand=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: large-image-converter
3
- Version: 1.29.7.dev8
3
+ Version: 1.29.7.dev12
4
4
  Summary: Converter for Large Image.
5
5
  Author: Kitware Inc
6
6
  Author-email: kitware@kitware.com
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.12
18
18
  Requires-Python: >=3.8
19
19
  Description-Content-Type: text/x-rst
20
20
  License-File: LICENSE
21
- Requires-Dist: large-image-source-tiff >=1.29.7.dev8
21
+ Requires-Dist: large-image-source-tiff >=1.29.7.dev12
22
22
  Requires-Dist: numpy
23
23
  Requires-Dist: psutil
24
24
  Requires-Dist: pyvips
@@ -26,7 +26,7 @@ Requires-Dist: tifftools
26
26
  Provides-Extra: all
27
27
  Requires-Dist: glymur ; extra == 'all'
28
28
  Requires-Dist: gdal ; extra == 'all'
29
- Requires-Dist: large-image[sources] >=1.29.7.dev8 ; extra == 'all'
29
+ Requires-Dist: large-image[sources] >=1.29.7.dev12 ; extra == 'all'
30
30
  Requires-Dist: packaging ; extra == 'all'
31
31
  Requires-Dist: scikit-image ; extra == 'all'
32
32
  Provides-Extra: geospatial
@@ -34,7 +34,7 @@ Requires-Dist: gdal ; extra == 'geospatial'
34
34
  Provides-Extra: jp2k
35
35
  Requires-Dist: glymur ; extra == 'jp2k'
36
36
  Provides-Extra: sources
37
- Requires-Dist: large-image[sources] >=1.29.7.dev8 ; extra == 'sources'
37
+ Requires-Dist: large-image[sources] >=1.29.7.dev12 ; extra == 'sources'
38
38
  Provides-Extra: stats
39
39
  Requires-Dist: packaging ; extra == 'stats'
40
40
  Requires-Dist: scikit-image ; extra == 'stats'
@@ -0,0 +1,9 @@
1
+ large_image_converter/__init__.py,sha256=tc_3t6OixaMdfSlwMMFLjQ3uuC8HZm7atoUbHU6UcHM,39472
2
+ large_image_converter/__main__.py,sha256=bGQaCR01kTGTnW2c2Z9z5BIiPSpCRPfj7_kPgppLeB4,13353
3
+ large_image_converter/format_aperio.py,sha256=NkKY3gaSjPlfxvcTQgFiMADdq_mkdpKjGQ7WT_QsvaM,11761
4
+ large_image_converter-1.29.7.dev12.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
5
+ large_image_converter-1.29.7.dev12.dist-info/METADATA,sha256=VEiFS2Utkcv2v27NoeJjvxev9hWndDlDuMHW2q_Z1Yo,4646
6
+ large_image_converter-1.29.7.dev12.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
7
+ large_image_converter-1.29.7.dev12.dist-info/entry_points.txt,sha256=TkXGWAaHgquk_ZXfqHTjQLjv8RZriv6ioiJd7JL6UIs,78
8
+ large_image_converter-1.29.7.dev12.dist-info/top_level.txt,sha256=cdRa-ZWWKzVHFsjK1Aq1f4bzAMPc3sgCpprmvpYczKg,22
9
+ large_image_converter-1.29.7.dev12.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- large_image_converter/__init__.py,sha256=EWUP451w9VZpI23NT7gw4fKIn2ouiROi_kA6ikfhxSY,39283
2
- large_image_converter/__main__.py,sha256=bGQaCR01kTGTnW2c2Z9z5BIiPSpCRPfj7_kPgppLeB4,13353
3
- large_image_converter/format_aperio.py,sha256=NkKY3gaSjPlfxvcTQgFiMADdq_mkdpKjGQ7WT_QsvaM,11761
4
- large_image_converter-1.29.7.dev8.dist-info/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
5
- large_image_converter-1.29.7.dev8.dist-info/METADATA,sha256=IV97iN-LSnF6zXliB5LXENaJRruB5ikD1AwMaOmBoao,4642
6
- large_image_converter-1.29.7.dev8.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
7
- large_image_converter-1.29.7.dev8.dist-info/entry_points.txt,sha256=TkXGWAaHgquk_ZXfqHTjQLjv8RZriv6ioiJd7JL6UIs,78
8
- large_image_converter-1.29.7.dev8.dist-info/top_level.txt,sha256=cdRa-ZWWKzVHFsjK1Aq1f4bzAMPc3sgCpprmvpYczKg,22
9
- large_image_converter-1.29.7.dev8.dist-info/RECORD,,