Trimage is a cross-platform GUI and command-line software to optimize image files via optipng, advpng and jpegoptim depending on the filetype (Currently PNG and JPG files are supported) .All image files are losslessy compressed on the highest available compression levels.Trimage gives you various input functions to fit your own workflow: A regular file dialog, dragging and dropping and various command line options.
Install Trimage compressor in Ubuntu and derivatives
Open the Terminal by pressing CTRL + ALT + T and enter the following command to install Trimage.
$ sudo apt-get install trimage
Open Trimage through Dashboard or Menu:
The main window of Trimage will look like below:
Add the photos which you want to compress by clicking on the Add and compress button:
Now the compression process will begin.It will take a while depends upon the image size.
That ’s it. Now you will have a new compressed image.You can see the original and compressed image ’s size in the Trimage interface itself.