Skip to content

this script compresses images inside a specific directory

Notifications You must be signed in to change notification settings

argon3x/imgcompressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

imgcompressor

this script compresses the images, causing them to resize.

Note

to save the compressed images a directory must be created before executing the script

  • Run script with python

      python3 imgcompressor.py -d [path directory with images] -n [new path directory]
    

or

  • Give permission of execution

      chmod u+x imgcompressor.py
    
  • Run script

      ./imgcompressor.py -d [path directory with images] -n [new path directory]
    
  • for more help use

      ./imgcompressor.py --help
    

Install dependency

    pip3 install Pillow

Sopported

support