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.
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)
| File | Size | Uploaded | |
|---|---|---|---|
| jsw_pillow-1.0.24.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jsw_pillow-1.0.24-py3-none-any.whl | Python 3 | none | any | Details |
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
|