cpp-tiff 1.0.0__cp38-cp38-win_amd64.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.
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.1
2
+ Name: cpp-tiff
3
+ Version: 1.0.0
4
+ Summary: Python bindings for cpp-tiff
5
+ Classifier: Programming Language :: Python :: 3
6
+ Classifier: Operating System :: OS Independent
7
+ Requires-Python: >=3.8
8
+ Requires-Dist: numpy >=1.20
9
+
@@ -0,0 +1,11 @@
1
+ cpptiff/__init__.py,sha256=rNQYBYOlY6SxM83UCl2U7_EY2rPjCw3JVzZwwmmjbOE,50
2
+ cpptiff/cpptiff.cp38-win_amd64.pyd,sha256=lNyJkfVANpucSgY1Tf5aYkEy8OUFZa59ZFQ0T_d9U2w,259584
3
+ cpptiff/cpptiffwrappers.py,sha256=YKkSD_nVnCzWGqz_CXuZYNRwjY9cJQwV97q70m9b6Ok,348
4
+ cpptiff/libcppTiff.dll,sha256=b65eq5WbMtHkCBCOk8xE6srzZMgRM8HvcIIVMdyoTy8,2192202
5
+ cpptiff/libgcc_s_seh-1.dll,sha256=1tpM-hmVu1L0DawZCrNtsdD1017zD3iDIb4NnEIWYBg,101376
6
+ cpptiff/libgomp-1.dll,sha256=tmxzZP1_KK79N2oKVtnp2bzXiB50EAxJhmr1yEh6Izw,258048
7
+ cpptiff/libwinpthread-1.dll,sha256=4BuOhf1nwrhh9k1MzH32B1m1iapBAACij6K4SiCJF1s,54784
8
+ cpp_tiff-1.0.0.dist-info/METADATA,sha256=9TA-e488WtUYrqNQb2S1FS4j9Q74tt6aHZENOuehLoo,246
9
+ cpp_tiff-1.0.0.dist-info/WHEEL,sha256=rTcqimtzpX3smAWAhGmiRSWAxTY4PqYPNE-p4kscHDQ,99
10
+ cpp_tiff-1.0.0.dist-info/top_level.txt,sha256=7R5B-YLztzQ_9LyzPchaFZh1g5ApvbivJrpWMud_fU4,8
11
+ cpp_tiff-1.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.3.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp38-cp38-win_amd64
5
+
@@ -0,0 +1 @@
1
+ cpptiff
cpptiff/__init__.py ADDED
@@ -0,0 +1 @@
1
+ from .cpptiffwrappers import read_tiff, write_tiff
Binary file
@@ -0,0 +1,11 @@
1
+ import numpy as np
2
+ from .cpptiff import pybind11_read_tiff, pybind11_write_tiff
3
+
4
+ def read_tiff(file_name):
5
+ im = pybind11_read_tiff(file_name)
6
+ im = np.transpose(im, (2, 1, 0))
7
+ return im
8
+ def write_tiff(file_name, data, compression='lzw'):
9
+ data = np.transpose(data, (2, 1, 0))
10
+ pybind11_write_tiff(file_name, data, compression)
11
+ return
cpptiff/libcppTiff.dll ADDED
Binary file
Binary file
cpptiff/libgomp-1.dll ADDED
Binary file
Binary file