PILTools
Python Imaging Library Tools
Pillow is "the friendly PIL fork by Alex Clark and Contributors".
This tool suite is meant to augment the existing Python Imaging Library with the following tools:
- Recrop: A dynamic image resizer. Given a target (width, height) dimension, resize the image, then crop with respect to a focus area.
- (More tools to come)
Install
pip install piltools
Example A(spect) R(atio) Resize
from PIL import Image
from piltools.transform import ar_resize
im = Image.open("./cosmos.jpg")
# Double image in size
ar_resize(im, 2).show()
Example ReCrop
from PIL import Image
from piltools.transform import recrop
im = Image.open("./cosmos.jpg")
# Create an ad Banner using top center portion of image
recrop(im, (468, 60), v_align="top", h_align="center").show()
Metadata
Release files for piltools 0.0.4
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 |
|---|---|---|---|---|
| piltools-0.0.4.tar.gz | 3.5 kB | Without provenance | Details for piltools-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| piltools-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for piltools-0.0.4-py3-none-any.whl |
Total release size: 7.5 kB
Release files / piltools-0.0.4.tar.gz
| Download URL | piltools-0.0.4.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ad62d4adf74d8d7364adb761e118d92e745c34ae62469480f9abad86e5dab0e
|
|
BLAKE2b-256 checksum How to use checksums |
5b668ab01f34d771dc81bf628cdb487993eca2c367e49efceeb60f8cdeb5a3a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2
|
Release files / piltools-0.0.4-py3-none-any.whl
| Download URL | piltools-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ca91d800ff9056e22bbf14e841b473fe867fb73a98fcc267755cf589a3f8b9e
|
|
BLAKE2b-256 checksum How to use checksums |
8b1113d6a93ca904d0427f02b7585a1195c0cac9594c1ec23206f6f6684ba2ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.2
|
Security for piltools 0.0.4
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.