Trimage image compressor – 1.0.5

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

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


If you're on Natty (11.04), Trimage is available in the official repositories:

Download for Ubuntu button


  1. sudo apt-get install trimage

If you're on Maveric (10.10), Karmic (9.10) or Lucid (10.04), type the following commands into your console:

  1. sudo add-apt-repository ppa:kilian/trimage
  2. sudo apt-get update
  3. sudo apt-get install trimage

If you are still on Jaunty, read this guide on installing PPA's.

Arch Linux

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

Mandriva Linux 2010.1

Trimage is available Via two RPMs provided by Mandriva international backports
  1. Trimage 1.0.5 32bit
  2. Trimage 1.0.5 63bit


Trimage is available for a variety of versions: 11.3, 11.4 and Factory and SLE. You can find them on

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 .deb's, rpms's etc: contact us


Trimage should be able to run on Mac. Help us with this


Trimage should be able to run on Windows. Help us with this


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:


If you enjoy using Trimage, please buy us a coffee or a beer :)

Click here to lend your support to: Trimage and make a donation at !


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!)

Planned features

Version 1.1.0 final:

Version 1.1.1 final:

Beyond that