Trimage/trimage
Linux 4255dd7b62 * Change jpegoptim to guetzli
* guetzli compresses JPGs MUCH better than jpegoptim, the output quality is near to the original image
* guetzli needs a lot of CPU and RAM resources to work, but it is compensated with much better reduce of the size of the image
* guetzli's git is here: https://github.com/google/guetzli; it is already in Debian's repos: https://packages.debian.org/search?keywords=guetzli&searchon=names&suite=all&section=all, it has also already been packaged for ALT Linux and Slackware: https://pkgs.org/download/guetzli
* Added Russian translations into the .desktop file
2017-07-09 12:48:01 +03:00

24 lines
888 B
Python
Executable file

#!/usr/bin/env python
#coding: utf-8
#
#Copyright (c) 2010 Kilian Valkhof, Paul Chaplin, Tarnay Kálmán
#
#Permission is hereby granted, free of charge, to any person
#obtaining a copy of this software and associated documentation
#files (the "Software"), to deal in the Software without
#restriction, including without limitation the rights to use,
#copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the
#Software is furnished to do so, subject to the following
#conditions:
#
#The above copyright notice and this permission notice shall be
#included in all copies or substantial portions of the Software.
import os, sys
import subprocess
import trimage
if __name__ == "__main__":
path = os.path.join(os.path.dirname(trimage.__file__), "trimage.py")
subprocess.call([sys.executable, path] + sys.argv[1:])