Crops images with python using Pillow. Useful for cropping multiple images at the same time. The dafult resolution is 1920x1080
- Install pipx
- Install easycrop
pipx install easycrop
- Single file
crop examples/kanagawa.jpg -height 300 -width 300
- Resize image to keep maximum information possible
crop examples/kanagawa.jpg -height 450 -width 450 -resize
- Using ratio instead of size, will get biggest possible:
crop examples/kanagawa.jpg -ratio 1:1
- Make it recursive
crop -r {folder} -height {height} -width {width}