Imagine is a free and open source image compression and optimization application for Linux, Windows and macOS. Currently it supports JPEG, PNG and WebP file formats. It supports format conversion and batch file optimization. It is based on pngquant, mozjpeg and WebP. It is a electron app and released under MIT License.
How to Install Imagine on Ubuntu Linux
Imagine is available as a portable AppImage file format. Download Imagine in .AppImage file format from the above download link and save it on your Downloads folder. Here the downloaded file name is “Imagine-0.7.2.AppImage“. You can change below commands based on your downloaded file name.
Open the terminal application (ctrl+alt+t) and run below commands one by one.
sudo chmod +x ~ Imagine-0.7.2.AppImage