Easy image Cropper CLI.
Project description
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}
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
easycrop-0.0.3.tar.gz
(4.6 MB
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 easycrop-0.0.3.tar.gz.
File metadata
- Download URL: easycrop-0.0.3.tar.gz
- Upload date:
- Size: 4.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fb99082ac592c70d49f4e9b914cd490b2eec8b36fdf433facb5fc802c3128a1
|
|
| MD5 |
49baeb8e06ede09928fce7ddc8cd43b5
|
|
| BLAKE2b-256 |
eb432cfb430adeb6d1d0799b7a83acff3388a38f7b12582fc242afc419ce6122
|
File details
Details for the file easycrop-0.0.3-py3-none-any.whl.
File metadata
- Download URL: easycrop-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c0d995f1fd6e9cb7d85a542d8848b3648e5ab35e26217b40fc228f8e0c9e49f
|
|
| MD5 |
2f51559bb3f0c7049880b7f67514474d
|
|
| BLAKE2b-256 |
3642eb12c6f3c15dae8c22af78f608d2596b1631b52b008a2951b6051cba7f94
|