No project description provided
Project description
jsw-pillow
Pillow for jsw.
installation
pip install jsw-pillow -U
usage
- watermark
Watermark
Watermark 水印的基本生成API。
# 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jsw_pillow-1.0.24.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jsw_pillow-1.0.24.tar.gz.
File metadata
- Download URL: jsw_pillow-1.0.24.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9ae7beefcf0fb11d0128f4122e7c8fdc605330589836496a352392c5be4b9f2
|
|
| MD5 |
7304a0281f73e71460e501bfce4666b0
|
|
| BLAKE2b-256 |
04f32eb30f34fc11adac4aabd86bbda4b7d3607bafb79dd3ea999e5bfad50669
|
File details
Details for the file jsw_pillow-1.0.24-py3-none-any.whl.
File metadata
- Download URL: jsw_pillow-1.0.24-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e07fd89c3b48099ee1ff339bd6e46ef36217f6e66a47ae1765bd45b7302b4f1
|
|
| MD5 |
8e92c433a62af7be90743bfb7aa43e0b
|
|
| BLAKE2b-256 |
529faaac6df1e141328d7996db3c1ae756a757927768de411977a527e6b7ab61
|