It is a python script to compress images if you need to.
- Install the library Pillow.
- Run
pip install Pillow
- Run the script
./script.py - Set the file path of the image you want to compress
- Set the compress factor, higher amount more reduction and lower less reduction
- Your image will be saved in the folder with the name compressed.jpg