JPG PNG Optimizer allows you to optimize JPG, JPEG and PNG files in a given folder.
Install the folloing dependencies on linux
$ sudo apt-get install jpegoptim
$ sudo apt-get install pngquant
It is important to pass *.* to select all jpg, jpeg and png files from that folder
$ python3 jpg-png-optimizer.py "./test/*.*"
This project would not have been possible without jpegoptim and pngquant
Contributers in this project
Ashish Patel |
Contributions of any kind are welcome!
MIT