Skip to content

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

Notifications You must be signed in to change notification settings

hunj/square-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages