pyimagecuda 0.0.4__cp312-cp312-win_amd64.whl → 0.1.0__cp312-cp312-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.
- pyimagecuda/__init__.py +5 -2
- pyimagecuda/adjust.py +14 -0
- pyimagecuda/blend.py +21 -0
- pyimagecuda/effect.py +89 -37
- pyimagecuda/filter.py +45 -14
- pyimagecuda/gl_interop.py +84 -0
- pyimagecuda/image.py +40 -14
- pyimagecuda/io.py +126 -25
- pyimagecuda/pyimagecuda_internal.cp312-win_amd64.pyd +0 -0
- pyimagecuda/resize.py +14 -3
- pyimagecuda/text.py +106 -0
- pyimagecuda/transform.py +103 -14
- {pyimagecuda-0.0.4.dist-info → pyimagecuda-0.1.0.dist-info}/METADATA +67 -12
- pyimagecuda-0.1.0.dist-info/RECORD +17 -0
- pyimagecuda/utils.py +0 -17
- pyimagecuda-0.0.4.dist-info/RECORD +0 -16
- {pyimagecuda-0.0.4.dist-info → pyimagecuda-0.1.0.dist-info}/WHEEL +0 -0
- {pyimagecuda-0.0.4.dist-info → pyimagecuda-0.1.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
pyimagecuda/__init__.py,sha256=A94o-xcZCZAKunZEK_z8pXSlwsNuLX00AcLBOrcAsZM,2219
|
|
2
|
+
pyimagecuda/adjust.py,sha256=xGSgifVWaFkaXyL718PUcYqwtZJAlnvMHNLQHiUS40M,3231
|
|
3
|
+
pyimagecuda/blend.py,sha256=sPupoAh9Mnz16dAsv6C3ynZvDHmV-0MR-A32KpEcE6Q,9132
|
|
4
|
+
pyimagecuda/effect.py,sha256=XTt7q7xr9T6TMqGkF00G8PgO04f70MMQuMxCl2hB2yM,6812
|
|
5
|
+
pyimagecuda/fill.py,sha256=7ybr-wkyr5_ziLL_6bvrLAW_Ixe1nMz36Lrj6jJAiOI,8934
|
|
6
|
+
pyimagecuda/filter.py,sha256=wOGh791djvkzPiwAz3kUABldaPOWVEO6Rqetgkw--N0,6306
|
|
7
|
+
pyimagecuda/gl_interop.py,sha256=x3P9MbjOSgwEMIdhkTE4lshAjn7YqXBM0JsKv2NsFUI,2654
|
|
8
|
+
pyimagecuda/image.py,sha256=UJaaxWctNSZ1lX45vzDhLXHjbhBlSPT54bB4MLyH3JE,3958
|
|
9
|
+
pyimagecuda/io.py,sha256=d8ODBO50bx43yNYUH5IjXxvrDW991W5-qJ2ex8DlNok,8616
|
|
10
|
+
pyimagecuda/pyimagecuda_internal.cp312-win_amd64.pyd,sha256=AVhgo0sNFu3gOi9d1GCs4PNa1p4o3LwJIlQ4TjMzkd8,1308672
|
|
11
|
+
pyimagecuda/resize.py,sha256=iw3wRiOfQYHJygkbUvDEiC-gtnX9gX6gpXAsAdjduOc,3244
|
|
12
|
+
pyimagecuda/text.py,sha256=QTiecJkpLb7RyIpl8D7aEj3yGaLWW4uQ-J82UKBMCjY,3502
|
|
13
|
+
pyimagecuda/transform.py,sha256=fp5_9tlA5TKZWSroViyK48u9yNGDr0ujBLyXckqgvRk,8902
|
|
14
|
+
pyimagecuda-0.1.0.dist-info/METADATA,sha256=2ojkw061PrlE6lY-4Ji2dxoSZP1_ZaIRbt-rzUiNBIY,6737
|
|
15
|
+
pyimagecuda-0.1.0.dist-info/WHEEL,sha256=chqeLhPBtPdrOoreR34YMcofSk3yWDQhkrsDJ2n48LU,106
|
|
16
|
+
pyimagecuda-0.1.0.dist-info/licenses/LICENSE,sha256=xfNh_pr4FPV8klv9rbs9GFflEfqf7vSFzcXK6BetRN0,1114
|
|
17
|
+
pyimagecuda-0.1.0.dist-info/RECORD,,
|
pyimagecuda/utils.py
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
from .image import ImageBase
|
|
2
|
-
|
|
3
|
-
def ensure_capacity(buffer: ImageBase, required_width: int, required_height: int) -> None:
|
|
4
|
-
"""
|
|
5
|
-
Checks if the buffer has enough capacity and updates its logical dimensions.
|
|
6
|
-
Raises ValueError if capacity is insufficient.
|
|
7
|
-
"""
|
|
8
|
-
max_w, max_h = buffer.get_max_capacity()
|
|
9
|
-
|
|
10
|
-
if required_width > max_w or required_height > max_h:
|
|
11
|
-
raise ValueError(
|
|
12
|
-
f"Buffer capacity too small: need {required_width}×{required_height}, "
|
|
13
|
-
f"got capacity {max_w}×{max_h}"
|
|
14
|
-
)
|
|
15
|
-
|
|
16
|
-
buffer.width = required_width
|
|
17
|
-
buffer.height = required_height
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
pyimagecuda/__init__.py,sha256=NUbXSns16c8fs0VqqeuMQ19zNMK9deU7Hd7eCZia1gA,2044
|
|
2
|
-
pyimagecuda/adjust.py,sha256=d2R7LFKqGQVNFwq6KXToDuOfRafvx3qiAXCPKB_Sp7A,2908
|
|
3
|
-
pyimagecuda/blend.py,sha256=EQgUz7dqfJbjUof1mMRy8OUX84D_eOuzh4n2y-comJY,8691
|
|
4
|
-
pyimagecuda/effect.py,sha256=W861V0xkzIMuJk6rZxfRtlK_H78IIPIvxHaXRZ5qduQ,6199
|
|
5
|
-
pyimagecuda/fill.py,sha256=7ybr-wkyr5_ziLL_6bvrLAW_Ixe1nMz36Lrj6jJAiOI,8934
|
|
6
|
-
pyimagecuda/filter.py,sha256=puUsGBaaWhPnByHytqeaH5Uu1PPVBzhW-sQVQIxtq2Y,5615
|
|
7
|
-
pyimagecuda/image.py,sha256=VRDHUOF2VClwdj3Q5YSQsmy9lpirwQvbC1P8avE3PdI,2864
|
|
8
|
-
pyimagecuda/io.py,sha256=aee7rAeMesONzafQcF28QwQ9FqfKFSqAvEPN7zKY2i0,5182
|
|
9
|
-
pyimagecuda/pyimagecuda_internal.cp312-win_amd64.pyd,sha256=zqfxoT2QjPIYvVTQnBqvM4AUSzUazi0FTdqpjsXdKRk,582656
|
|
10
|
-
pyimagecuda/resize.py,sha256=-I4dqMu0-5OBHh_qMkBdOxrHXqfkrpvYaULsDOqproo,2934
|
|
11
|
-
pyimagecuda/transform.py,sha256=n_fftpugw2SJscvwS4JzFjZ2m-lITAlHK0delnCScq8,6091
|
|
12
|
-
pyimagecuda/utils.py,sha256=8IZ35y783AVJVuoQmcStPVAyx5WK_PDhkWqLo51PbTo,633
|
|
13
|
-
pyimagecuda-0.0.4.dist-info/METADATA,sha256=sILv6k_PrXlJIFRexbNiNrniErLqBODvjm9nhSUieYg,4383
|
|
14
|
-
pyimagecuda-0.0.4.dist-info/WHEEL,sha256=chqeLhPBtPdrOoreR34YMcofSk3yWDQhkrsDJ2n48LU,106
|
|
15
|
-
pyimagecuda-0.0.4.dist-info/licenses/LICENSE,sha256=xfNh_pr4FPV8klv9rbs9GFflEfqf7vSFzcXK6BetRN0,1114
|
|
16
|
-
pyimagecuda-0.0.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|