User Tools

Site Tools


optimize_jpg_files

Install jpegoptim
sudo apt-get install jpegoptim

How to compress a file
jpegoptim filename.jpeg

To compress above the image from 5.6MB to around 500k.
$ jpegoptim –size=500k filename.jpeg

Compress all images at once.
jpegoptim *.JPG

optimize_jpg_files.txt · Last modified: 2021/02/21 00:46 (external edit)