Worked using python2.7/ python3
#Installation
pip install Image
#Run
#Will give you help
python CompressMe.py -h
#Will give the count of all the images whose size is greater than 1000KB
python CompressMe.py -f path-to-your-folder -sa 1000
#This is apply the compress on the images of size > 1000KB. The quality -q is default to 65%
python CompressMe.py -f path-to-your-folder -sa 1000 -c