Learn Ethical Hacking
Software

Trimage – A Lossless PNG and JPG Compressor Tool For Linux

Trimage – A Lossless Image Compressor Tool For Linux
Written by Jesse Afolabi

If you work with websites regularly or if you’re a writer like me and you often have to post images on the internet, then you’ll realize the importance of using lightweight images as they are generally faster to upload and are also good for search engine optimization and regular folks that take bandwidth conservation into serious consideration.

Trimage is an open-source lossless batch image converter tool that is cross-platform, GUI and command line-based, with a focus on PNG and JPG file types.

Trimage was originally inspired by imageoptim  for OSX systems and has mainly focused on flexibility and ease of use.

From their website,

RedHat RHCSA and RHCE Certification Exam Study Ebook

Trimage gives you various input functions to fit your own workflow: A regular file dialog, dragging and dropping and various command line options”.

Trimage’s simplistic interface will easily win you over if all you’ll basically need to do most of the time is converting PNGs and JPEGs without any extra features.

The extensive command line options available to it will also please those developers that spend most of their time in the Unix shell. If you, however, need more functionality for your image conversions together with more supported formats, then XnViewMP is potentially the way to go as the application is not only a batch image converter but a manipulator and a whole lot more.

trimage image compressor

trimage image compressor

trimage compressing

trimage compressing

Below are some basic command line options as seen on its website; so just in case you’re looking to use the application via the command line interface.

  • --version – display program’s version number and exit
  • -h, --help – display help message and exit
  • -v, --verbose – Verbose mode (default)
  • -q, --quiet – Quiet mode
  • -f FILENAME, --file=FILENAME – compresses image and exit
  • -d DIRECTORY, --directory=DIRECTORY – compresses images in directory and exit
  Download Android APKs on Your Linux System With Google Play Downloader

Installing Trimage in Linux

If you’re on Debian, Ubuntu and derivatives, you can easily download it from the standard repositories using the good CLI.

$ sudo apt install trimage

For Arch Users

you can find Trimage in the AUR.

# yaourt -S trimage-git

Other systems will need to visit the official website to find instructions as per your operating system and you can also visit their GitHub to find more related info if you care to.

Join Our Community Of 250,000+ Linux Lovers by liking us on Facebook, or follow us on Twitter, Google+ and Instagram.

If you liked this article, sign up for the fossmint newsletter for handpicked selection of stories from FossMint delivered to your inbox every day.


Top Deals

About the author

Jesse Afolabi

Jesse is that tech enthusiast you never heard of...he's mainly into things relating to Linux and Android and has an unending passion for both platforms which is why he writes about them.

  • Nanohard

    Thanks for this. I love those moments when you find something you need by accident. It’s like finding a $5 bill on the ground. RSS: subscribed.

    • Jesse Afolabi

      Thanks Nanohard 😀 ….. much appreciated!

  • Pingback: OTR Links 06/03/2016 | doug --- off the record()

Show Buttons
Hide Buttons