Trimage image compressor – 1.0.6

A cross-platform tool for losslessly optimizing PNG and JPG files for web.

Trimage is a cross-platform GUI and command-line interface to optimize image files for websites, using optipng, pngcrush, advpng and jpegoptim, depending on the filetype (currently, PNG and JPG files are supported). It was inspired by imageoptim. All image files are losslessy compressed on the highest available compression levels, and EXIF and other metadata is removed. Trimage gives you various input functions to fit your own workflow: A regular file dialog, dragging and dropping and various command line options.

Trimage in action

a screenshot of Trimage


Debian (sid)

Trimage is available in the official Debian Sid repositories:

  1. sudo apt-get install trimage


Trimage is available in the official repositories:

Download for Ubuntu


  1. sudo apt-get install trimage

Arch Linux

Trimage is available from AUR, to install, type:
  1. yaourt -S trimage


Trimage is available from Homebrew, to install, type:
  1. brew install trimage

Launch by executing trimage in

Other *nix

  1. Download the source via git or bzr (see repositories)
  2. Make sure you have all the requirements installed (see requirements)
  3. Enter python install into your console
  4. Launch by executing trimage

Help us make .snaps, .appimages etc: contact us or open a pull request


Git: Trimage is primarily developed on GitHub.

Bzr: Trimage is also available on Launchpad.

Trimage is MIT licenced. We encourage contributions via GitHub.


The following people helped develop Trimage:


Command line options

show program's version number and exit
-h, --help
show this help message and exit
-v, --verbose
Verbose mode (default)
-q, --quiet
Quiet mode
compresses image and exit
compresses images in directory and exit


Please use GitHub for reporting bugs and email for general questions (though we are not a helpdesk!)