cpp-tiff 1.0.0__cp313-cp313-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.
- cpp_tiff-1.0.0.dist-info/METADATA +9 -0
- cpp_tiff-1.0.0.dist-info/RECORD +11 -0
- cpp_tiff-1.0.0.dist-info/WHEEL +5 -0
- cpp_tiff-1.0.0.dist-info/top_level.txt +1 -0
- cpptiff/__init__.py +1 -0
- cpptiff/cpptiff.cp313-win_amd64.pyd +0 -0
- cpptiff/cpptiffwrappers.py +11 -0
- cpptiff/libcppTiff.dll +0 -0
- cpptiff/libgcc_s_seh-1.dll +0 -0
- cpptiff/libgomp-1.dll +0 -0
- cpptiff/libwinpthread-1.dll +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
cpptiff/__init__.py,sha256=rNQYBYOlY6SxM83UCl2U7_EY2rPjCw3JVzZwwmmjbOE,50
|
|
2
|
+
cpptiff/cpptiff.cp313-win_amd64.pyd,sha256=R9brS2jwTTs5SIS2qd6ibmoqcUFU_gOrlw5ra2gY1yA,262656
|
|
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=UJbDlEYuWWwgv9Hu0As4Rgv2Qpdka2YFe6UlEKs4AoE,101
|
|
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 @@
|
|
|
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
|