Skip to content

Lazar-T/image_compressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image_compressor

About

Compress size of jpg images reducing overall size with PIL. Included with two folders with images for testing purpose.

Screenshot

Screenshot

Usage

python compress.py /path/to/the/root/folder

Script will iterate over all sub folders in root directory and catch every image that ends with '.jpg' and compress it.

Requirements

image_compressor uses just PIL. You can install it with:

sudo apt-get install libjpeg libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev
pip install PIL

Installation and Running

https://github.com/Lazar-T/image_compressor
cd image_compressor
python compress /path/to/the/root/folder

About

Compress jpg images with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages