mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
34 lines
1 KiB
Markdown
34 lines
1 KiB
Markdown
# 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](http://advancemame.sourceforge.net/comp-readme.html), [jpegoptim](http://www.kokkonen.net/tjko/projects.html), [optipng](http://optipng.sourceforge.net) and [pngcrush](https://pmt.sourceforge.io/pngcrush) depending on the
|
|
filetype (currently, PNG and JPG files are supported).
|
|
It was inspired by
|
|
[imageoptim](http://imageoptim.pornel.net).
|
|
|
|
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 [Trimage.org](http://trimage.org) to install Trimage as a package.
|
|
|
|
## Building instructions
|
|
|
|
### Prerequisites
|
|
|
|
- PyQt5
|
|
- advpng
|
|
- jpegoptim
|
|
- optipng
|
|
- pngcrush
|
|
|
|
### Build from source
|
|
|
|
Build and install by running:
|
|
|
|
python setup.py build
|
|
sudo python setup.py install
|