In this post today I am explaining about python image optimizer script. With help of an image optimizer script, you can optimize images as your requirements with different sizes.
Python Image Optimizer Script
Download and Install:
git clone https://github.com/stefankumpan/Image-Optimizer-Script.git cd Image-Optimizer-Script pip install -r requirements.txt
- Copy the images to the input directory
- Open the console and type
python3 main.py or python main.py
The optimized images are then located in the output directory