large-image-converter 1.32.4.dev13__py3-none-any.whl → 1.32.4.dev17__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.

@@ -573,6 +573,14 @@ def _convert_large_image_frame(
573
573
  maxbands = max(strip.bands for strip in strips)
574
574
  if minbands != maxbands:
575
575
  strips = [strip[:minbands] for strip in strips]
576
+ # Persist the strips to temp files to build them into single objects;
577
+ # otherwise vips will use arbitrarily large amounts of memory
578
+ for sidx in range(len(strips)):
579
+ _pool_log(len(strips) - sidx, len(strips), 'resolving strips')
580
+ strip = strips[sidx]
581
+ vimgTemp = pyvips.Image.new_temp_file('%s.v')
582
+ strip.write(vimgTemp)
583
+ strips[sidx] = vimgTemp
576
584
  img = strips[0]
577
585
  for stripidx in range(1, len(strips)):
578
586
  img = img.insert(strips[stripidx], 0, stripidx * _iterTileSize, expand=True)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: large-image-converter
3
- Version: 1.32.4.dev13
3
+ Version: 1.32.4.dev17
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.13
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.32.4.dev13
21
+ Requires-Dist: large-image-source-tiff>=1.32.4.dev17
22
22
  Requires-Dist: numpy
23
23
  Requires-Dist: psutil
24
24
  Requires-Dist: pyvips
@@ -28,14 +28,14 @@ Requires-Dist: glymur; extra == "jp2k"
28
28
  Provides-Extra: geospatial
29
29
  Requires-Dist: gdal; extra == "geospatial"
30
30
  Provides-Extra: sources
31
- Requires-Dist: large-image[sources]>=1.32.4.dev13; extra == "sources"
31
+ Requires-Dist: large-image[sources]>=1.32.4.dev17; extra == "sources"
32
32
  Provides-Extra: stats
33
33
  Requires-Dist: packaging; extra == "stats"
34
34
  Requires-Dist: scikit-image; extra == "stats"
35
35
  Provides-Extra: all
36
36
  Requires-Dist: glymur; extra == "all"
37
37
  Requires-Dist: gdal; extra == "all"
38
- Requires-Dist: large-image[sources]>=1.32.4.dev13; extra == "all"
38
+ Requires-Dist: large-image[sources]>=1.32.4.dev17; extra == "all"
39
39
  Requires-Dist: packaging; extra == "all"
40
40
  Requires-Dist: scikit-image; extra == "all"
41
41
  Dynamic: author
@@ -0,0 +1,9 @@
1
+ large_image_converter/__init__.py,sha256=gAUfTuJ4_GdV_ltb21QLTCY3dkJVu_e-GF5Ll8Pzxsk,44445
2
+ large_image_converter/__main__.py,sha256=SZOjDmX42vH4GcKB_5wdDHyB-aOy9LCx4_J97vQEjug,13358
3
+ large_image_converter/format_aperio.py,sha256=NkKY3gaSjPlfxvcTQgFiMADdq_mkdpKjGQ7WT_QsvaM,11761
4
+ large_image_converter-1.32.4.dev17.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
5
+ large_image_converter-1.32.4.dev17.dist-info/METADATA,sha256=ePCagF242pzlggQ96huBHFPclgmUwzdMLO0i6HoRTX4,4845
6
+ large_image_converter-1.32.4.dev17.dist-info/WHEEL,sha256=DnLRTWE75wApRYVsjgc6wsVswC54sMSJhAEd4xhDpBk,91
7
+ large_image_converter-1.32.4.dev17.dist-info/entry_points.txt,sha256=TkXGWAaHgquk_ZXfqHTjQLjv8RZriv6ioiJd7JL6UIs,78
8
+ large_image_converter-1.32.4.dev17.dist-info/top_level.txt,sha256=cdRa-ZWWKzVHFsjK1Aq1f4bzAMPc3sgCpprmvpYczKg,22
9
+ large_image_converter-1.32.4.dev17.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (80.4.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- large_image_converter/__init__.py,sha256=8AQ_3ugUBZjcJcMfyVKAjLCh48aIhybu3oBhiPXaT1k,44053
2
- large_image_converter/__main__.py,sha256=SZOjDmX42vH4GcKB_5wdDHyB-aOy9LCx4_J97vQEjug,13358
3
- large_image_converter/format_aperio.py,sha256=NkKY3gaSjPlfxvcTQgFiMADdq_mkdpKjGQ7WT_QsvaM,11761
4
- large_image_converter-1.32.4.dev13.dist-info/licenses/LICENSE,sha256=psuoW8kuDP96RQsdhzwOqi6fyWv0ct8CR6Jr7He_P_k,10173
5
- large_image_converter-1.32.4.dev13.dist-info/METADATA,sha256=n8Ukz8sm5A3dI43scEnc8VQ9iAIx-pz0v5_fyWIgnEg,4845
6
- large_image_converter-1.32.4.dev13.dist-info/WHEEL,sha256=0CuiUZ_p9E4cD6NyLD6UG80LBXYyiSYZOKDm5lp32xk,91
7
- large_image_converter-1.32.4.dev13.dist-info/entry_points.txt,sha256=TkXGWAaHgquk_ZXfqHTjQLjv8RZriv6ioiJd7JL6UIs,78
8
- large_image_converter-1.32.4.dev13.dist-info/top_level.txt,sha256=cdRa-ZWWKzVHFsjK1Aq1f4bzAMPc3sgCpprmvpYczKg,22
9
- large_image_converter-1.32.4.dev13.dist-info/RECORD,,