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

Trimage

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.

Trimage

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.

Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover, and enjoys hands-on with new promising distros. Currently, I'm using Linux Mint as a daily driver and run several other distros such as Fedora, Solus, Ubuntu, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread my love for Linux. If you find time, drop me an email or feedback from 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz