Skip to main content

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

  1. Install pipx
  2. Install easycrop
pipx install easycrop

How to use:

Base Image

Base image)

  1. Single file
crop examples/kanagawa.jpg -height 300 -width 300
Output Focused 300x300

300x300)

  1. Resize image to keep maximum information possible
crop examples/kanagawa.jpg -height 450 -width 450 -resize
Output: resized then 450x450,

450x450)

  1. Using ratio instead of size, will get biggest possible:
crop examples/kanagawa.jpg -ratio 1:1  
Output: 2990x2990

2990x2990)

  1. Make it recursive
crop -r {folder} -height {height} -width {width}

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

easycrop-0.0.3-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for easycrop-0.0.3.tar.gz
Algorithm Hash digest
SHA256 6fb99082ac592c70d49f4e9b914cd490b2eec8b36fdf433facb5fc802c3128a1
MD5 49baeb8e06ede09928fce7ddc8cd43b5
BLAKE2b-256 eb432cfb430adeb6d1d0799b7a83acff3388a38f7b12582fc242afc419ce6122

See more details on using hashes here.

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

Hashes for easycrop-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1c0d995f1fd6e9cb7d85a542d8848b3648e5ab35e26217b40fc228f8e0c9e49f
MD5 2f51559bb3f0c7049880b7f67514474d
BLAKE2b-256 3642eb12c6f3c15dae8c22af78f608d2596b1631b52b008a2951b6051cba7f94

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page