Skip to content

Makes image 1:1 in size by padding it with white color.

License

Notifications You must be signed in to change notification settings

thisshri/photo-utility-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

photo-utility-tool made-with-python

This script takes an image and adds white padding to the image to make it 1:1 image.

How to run

  1. Clone the repository:

    git clone git@github.com:thisshri/photo-utility-tool.git

  2. Go to src directory and run:

    ./main.py --i foo.jpg

Examples

Image in the 1st row was padded on top and bottom to make it 1:1 where as image in 2nd row was padded on left and right.

Image Padding Before After
Vertical
horizontal

About

Makes image 1:1 in size by padding it with white color.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages