Current average size compressions is: 87.5% Smaller than the original File
Test file was 1.5 mb, which is 1536 kb Output file was 193 kb
Python | Download Latest Version
Clone this Repo / Download the latest release
git clone https://github.com/hassanaftab93/Image-Compressor.git
cd
to the Project directory
cd /Path/To/Project
Create a Virtual Environment for this Project
python -m venv venv
Activate Virtual Environment for this Project
Windows:
source venv/Scripts/activate
Linux/MacOS:
source ./venv/bin/activate
Install the Required Libraries
pip install -r requirements.txt
Place the Images to be compressed in src
folder
Run the File 'compress.py'
python compress.py
Click here to learn more about: Contributions