/square-image

add a blurry background to fit portrait-size image into a square

Primary LanguagePython

square-image

adds a blurry background to fit a portrait-size image into a square. appends _edit at the end of the file name.

requirements

  • Python 3.11
  • Pillow

usage

Single file

$ python resizer.py <path-to-image-file>

Also supports directory

python resizer.py /path/to/directory

example

sample input

sample input

sample output

sample result