Batch compress and remove EXIF info in images using Trimage for Linux

Trimage is a simple cross-platform utility that can compress your images and photos without change in the image quality. It’s great for reducing the image file size significantly before sharing it on the web via blog or uploading the images to a photo-sharing website.


High Compression Ratio

Trimage can compress your images, keeping the same dimensions of the image. It uses optipng, pngcrush, advpng and jpegoptim image compression standards depending on the filetype. Currently, it supports PNG and JPG image formats.

Lossless Compression

Compression is lossless on the highest available compression levels. The utility shows the current image size and the compressed image size. The EXIF and metadata are removed from the images and this is highly recommended when you share images online.

Trimage on Linux Mint
Trimage on Linux Mint

Batch Process

It’s very easy to work with Trimage. You need to drag and drop all the images into its user interface and click ‘Add and Compress’. The button name is misleading and functions only as ‘Add’. Then you have to click ‘Recompress’ to actually compress the images. Note that the original images will be overwritten with the compressed images. Therefore if you are still paranoid that the image quality may go down after compression, take a backup of images before adding them to Trimage.

Install Trimage in Ubuntu, Linux Mint, and elementary OS

Trimage is included in the official repositories, so all you need to do is apt-get and install it.

Launch ‘Terminal’ and run the following command:

sudo apt-get install trimage

If you running old versions, you can add the PPA repository of Trimage yourselves.

sudo add-apt-repository ppa:kilian/trimage
sudo apt-get update
sudo apt-get install trimage

Install Trimage in Arch Linux and antergos

Trimage is available in AUR. Therefore simply launch ‘Terminal’ and run the following command:

yaourt -S trimage-git

Install Trimage in Fedora and Mandriva

RPM binaries are readily available to download from official webpage. You can simply download and run the .rpm file to install it.

Leave a comment

Your email address will not be published. Required fields are marked *