Install jpegoptim by entering the following commands in the terminal:
sudo apt update sudo apt install jpegoptim
Description:
utility to optimize jpeg files
Jpegoptim can optimize/compress jpeg files. Program support lossless optimization, which is based on optimizing the Huffman tables. So called, "lossy" optimization (compression) is done by re-encoding the image using user specified image quality factor.
Homepage: http://www.kokkonen.net/tjko/projects.html
Version: 1.4.4-1
Section: universe/graphics