Optimize jpg with jpegoptim

Install Jpegptim

$ apt-get install jpegoptim

Optimize one file with Jpegptim

$ jpegoptim file.jpg --strip-all

Optimize all files with Jpegptim in directory

$ jpegoptim *.jpg --strip-all

Leave a Reply

Your email address will not be published. Required fields are marked *