Skip to main content

jsw-pillow

Pillow for jsw.

installation

pip install jsw-pillow -U

usage

  • watermark

Watermark

Watermark 水印的基本生成API。

Alt text

# watermark
from jsw_pillow import Watermark

# watermark - single
im1 = Watermark.multiple(
    source='./__tests__/assets/test.png',
    mark='js.work',
    font_size=50,
    angle=45,
    position='center',
    color=(0, 255, 0, int(255 * 0.5)),
)

# watermark - multiple
im2 = Watermark.multiple(
    source='./__tests__/assets/test.png',
    mark='js.work',
    font_size=50,
    angle=45,
    color=(0, 255, 0, int(255 * 0.5)),
)

positions

Only for single watermark.

Alt text

Metadata

Release files for jsw-pillow 1.0.24

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsw-pillow 1.0.24
File Size Uploaded Provenance Actions
jsw_pillow-1.0.24.tar.gz 4.5 kB Without provenance Details for jsw_pillow-1.0.24.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jsw-pillow 1.0.24
File Interpreter ABI Platform Actions
jsw_pillow-1.0.24-py3-none-any.whl Python 3 none any Details for jsw_pillow-1.0.24-py3-none-any.whl

Total release size: 10.5 kB

Release files / jsw_pillow-1.0.24.tar.gz

Download URL jsw_pillow-1.0.24.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d9ae7beefcf0fb11d0128f4122e7c8fdc605330589836496a352392c5be4b9f2
BLAKE2b-256 checksum
How to use checksums
04f32eb30f34fc11adac4aabd86bbda4b7d3607bafb79dd3ea999e5bfad50669
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5

Release files / jsw_pillow-1.0.24-py3-none-any.whl

Download URL jsw_pillow-1.0.24-py3-none-any.whl
Size 6.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e07fd89c3b48099ee1ff339bd6e46ef36217f6e66a47ae1765bd45b7302b4f1
BLAKE2b-256 checksum
How to use checksums
529faaac6df1e141328d7996db3c1ae756a757927768de411977a527e6b7ab61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.5

Security for jsw-pillow 1.0.24

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page