xl-image
xilong image processing utility library
Installation
pip install xl-image
Usage
from xl_image import Image
# Create image from base64 string
img = Image("data:image/png;base64,...")
# Add watermark
watermarked = img.watermark("Watermark Text")
# Create thumbnail
thumb_data = img.thumbnail((128, 128))
# Trim image
trimmed = img.trim()
# Get image size
width, height = img.size
# Get image bytes
image_bytes = img.bytes
Metadata
Release files for xl-image 1.0.1
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 |
|---|---|---|---|---|
| xl_image-1.0.1.tar.gz | 2.4 kB | Without provenance | Details for xl_image-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xl_image-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for xl_image-1.0.1-py3-none-any.whl |
Total release size: 5.4 kB
Release files / xl_image-1.0.1.tar.gz
| Download URL | xl_image-1.0.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2c7ac5ca3ec9916ab813cfeeef6173bed636a0bcc5fb8df566d4638eadd809d
|
|
BLAKE2b-256 checksum How to use checksums |
ddea645533560ca64260397c0a67d05c172ea64325de23221c0b85b3e10e1e0c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|
Release files / xl_image-1.0.1-py3-none-any.whl
| Download URL | xl_image-1.0.1-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68e04b88118e4dec17be5d03b2d1d0b64600be7ef848df264c40a4c78d77c665
|
|
BLAKE2b-256 checksum How to use checksums |
4ea4f0c0740a18eef0ff856fa828c2dc6d8d6e67f2bac4d46c5587c0312d696e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|
Security for xl-image 1.0.1
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.