Rotates images, makes the created background transparent
$pip install transparent-rotate
from transparent_rotate import rotate_with_adjusting,rotate_without_adjusting
i1 = r"https://github.com/hansalemaos/screenshots/raw/main/splitted1.png"
i2 = rotate_without_adjusting(
img="https://github.com/hansalemaos/screenshots/raw/main/papag_00000008.png",
angle=60,
save_path=None,
)
# The picture can easily be merged with other pictures
from cv2watermark import merge_image_percentage_width_position
merg3 = merge_image_percentage_width_position(
back=i1,
front=i2,
percentx=20,
percenty=20,
front_percentage_width=30,
save_path="f:\\cv2mergepics\\rotate1.png",
)
i1 = r"https://github.com/hansalemaos/screenshots/raw/main/splitted1.png"
i2 = rotate_with_adjusting(
img="https://github.com/hansalemaos/screenshots/raw/main/papag_00000008.png",
angle=60,
save_path=None,
)
merg3 = merge_image_percentage_width_position(
back=i1,
front=i2,
percentx=20,
percenty=20,
front_percentage_width=30,
save_path="f:\\cv2mergepics\\rotate2.png",
)
Metadata
Release files for transparent-rotate 0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| transparent_rotate-0.10.tar.gz | 3.4 kB | Without provenance | Details for transparent_rotate-0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| transparent_rotate-0.10-py3-none-any.whl | Python 3 | none | any | Details for transparent_rotate-0.10-py3-none-any.whl |
Total release size: 8.3 kB
Release files / transparent_rotate-0.10.tar.gz
| Download URL | transparent_rotate-0.10.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2b49fc38340e8ccb1f85cf24a196050fa1113439b70905e0184f51627bc7218e
|
|
BLAKE2b-256 checksum How to use checksums |
a2b197dfc6913c7f452d6d42b0bb0d713a02381fae5e3afa03e2279e243ad5a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / transparent_rotate-0.10-py3-none-any.whl
| Download URL | transparent_rotate-0.10-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4278f5dfa3ba7eeeaf4b1d8767b06ce4c1c43f913e5823492f5a2676f47e0b58
|
|
BLAKE2b-256 checksum How to use checksums |
de4e96838b627580e53ba2136251af5160bb2a0d1c701b7253391ceb058b292a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for transparent-rotate 0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.