Skip to content
Switch branches/tags

Made by @kilianvalkhof

Other projects:

  • 💻 Polypane - Develop responsive websites and apps twice as fast on multiple screens at once
  • 🖌️ Superposition - Kickstart your design system by extracting design tokens from your website
  • 🗒️ FromScratch - A smart but simple autosaving scratchpad

Trimage image compressor

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

Trimage is a cross-platform GUI and command-line interface to optimize image files via advpng, jpegoptim, optipng and pngcrush depending on the filetype (currently, PNG and JPG files are supported). It was inspired by imageoptim.

All image files are losslessly compressed on the highest available compression levels. Trimage gives you various input functions to fit your own workflow: a regular file dialog, dragging and dropping and various command line options.

Installation instructions

Visit to install Trimage as a package.

Building instructions


  • PyQt5
  • advpng
  • jpegoptim
  • optipng
  • pngcrush

Build from source

Build and install by running:

python build
sudo python install