mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
A cross-platform tool for optimizing PNG and JPG files.
- (The imghdr module is in the standard library,
so this creates no extra dependency.)
- store filenames in unicode internally
- got rid of QString and QStringList
- got rid of unicodize
- fix crash if directory didn't end with slash
- added time.sleep(0.1) before quit inside Worker.run
to avoid a segfault when no images were processed
(For example an empty directory was passed to trimage)
(This segfault was present even before I touched anything)
(A better "fix" would be not even initializing the GUI when
there is no need)
|
||
|---|---|---|
| debian | ||
| desktop | ||
| resources | ||
| src/trimage | ||
| website | ||
| .gitignore | ||
| COPYING | ||
| MANIFEST.in | ||
| README | ||
| setup.py | ||
| trimage | ||
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 "optipng":http://optipng.sourceforge.net/, "advpng":http://advancemame.sourceforge.net/comp-readme.html and "jpegoptim":http://www.kokkonen.net/tjko/projects.html, depending on the filetype (currently, PNG and JPG files are supported). It was inspired by "imageoptim":http://imageoptim.pornel.net/. All image files are losslessy 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. Visit "Trimage.org":http://trimage.org for more information