How to compress and optimize JPG and PNG image files on ubuntu

If you want to optimize and compress the images for your website or any other purpose without losing its quality, the best available option in your Ubuntu is Trimage. Trimage is a cross-platform tool with GUI and command-line interface to compress and optimize JPG and PNG image files. It uses optipng, pngcrush, advpng and jpegoptim libs for compression. The supported file formats are PNG and JPG. The compression is losslessy compression and it removes all EXIF and other metadatas.

Trimage

Install Trimage on Ubuntu

To install Trimage on Ubuntu, Open your Ubuntu terminal using the Show Apps or via ctrl+alt+t keys and run below Trimage install command.

sudo apt install trimage -y

It will install the latest Trimage image compressor on your system. To open Trimage, click the Show Apps from Ubuntu dock launcher and type Trimage in the search field. Then click Trimage. You can also open it using below command.

trimage

The user interface is simple. Just drag and drop images on the window or click the Add and compress button to add images and compress. After the compress it will show the results.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Also Read:  How to Enable Night Light in Ubuntu

Leave a Reply