jpegoptim
jpegoptim is a command-line utility to optimize and compress JPEG/JFIF and JPG files. This utility support lossless optimization which is based on optimizing the Huffman tables. Now let’s see how to install the jpegoptim on different Linux distributions.
Optimize and Compress JPEG or PNG Images in Linux Command line
Today there are many GUI tools that compress and optimize the images, which are very useful. But if you are terminal addicted and want to compress and optimize the images in the terminal before uploading to the cloud, then you can do it. There are two tools by using which we can compress and optimize images. These are –
- jpegoptim
- OptiPNG