CROP Images with CLI
Crops images with python using Pillow. Useful for cropping multiple images at the same time. The dafult resolution is 1920x1080
How to install
- Install pipx
- Install easycrop
pipx install easycrop
How to use:
Base Image
)
- Single file
crop examples/kanagawa.jpg -height 300 -width 300
Output Focused 300x300
)
- Resize image to keep maximum information possible
crop examples/kanagawa.jpg -height 450 -width 450 -resize
Output: resized then 450x450,
)
- Using ratio instead of size, will get biggest possible:
crop examples/kanagawa.jpg -ratio 1:1
Output: 2990x2990
)
- Make it recursive
crop -r {folder} -height {height} -width {width}
Metadata
Release files for easycrop 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| easycrop-0.0.3.tar.gz | 4.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| easycrop-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 MB
Release files / easycrop-0.0.3.tar.gz
| Download URL | easycrop-0.0.3.tar.gz |
|---|---|
| Size | 4.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fb99082ac592c70d49f4e9b914cd490b2eec8b36fdf433facb5fc802c3128a1
|
|
BLAKE2b-256 checksum How to use checksums |
eb432cfb430adeb6d1d0799b7a83acff3388a38f7b12582fc242afc419ce6122
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|
Release files / easycrop-0.0.3-py3-none-any.whl
| Download URL | easycrop-0.0.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c0d995f1fd6e9cb7d85a542d8848b3648e5ab35e26217b40fc228f8e0c9e49f
|
|
BLAKE2b-256 checksum How to use checksums |
3642eb12c6f3c15dae8c22af78f608d2596b1631b52b008a2951b6051cba7f94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.2
|