/Image-Compressor

This script compresses the image choosen to much reduced size. Image can be of any format. Note : The image should be in same folder as the script It will return with the compressed image when you compile. It automates the task of compressing the image in day to day lives

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Image-Compressor

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

📑 Steps to use

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

📚 Contributing

Click here to learn more about: Contributions

✒️ Author

🔗 Links

Type Link
Portfolio portfolio
LinkedIn linkedin