Skip to content

terrychou929/image-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Resize with Python

Steps

  1. git clone
    git clone {this directory}
  1. create venv
    python -m venv venv
  1. install requirements
    pip install -r requirements.txt
  1. put pictures into input folder
# find all files start with 2022 and 2023, then 15 digits + .jpg. Lastly zip them together.
find . -type f \( -name "2022?????????????????.jpg" -o -name "2023?????????????????.jpg"  \) -print | zip test.zip -@
  1. execute main script
    python main.py [scale|float]

About

Resize image files with python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages