mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 01:58:41 -05:00
190 lines
6.8 KiB
HTML
190 lines
6.8 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf8">
|
|
<title>Trimage (lossless) image compressor</title>
|
|
<link href="http://github.com/Kilian/sencss/raw/master/source/sen.css" rel="stylesheet" type="text/css">
|
|
<style>
|
|
body {
|
|
background:#fff
|
|
font-size:13px;
|
|
}
|
|
#wrap {
|
|
position:relative;
|
|
width:614px;
|
|
margin:50px auto 0;
|
|
padding-left:40px;
|
|
}
|
|
.block {
|
|
width:33%;
|
|
float:right;
|
|
clear:right;
|
|
}
|
|
.block2 {
|
|
width:63%;
|
|
float:left;
|
|
margin-right:3%
|
|
}
|
|
h1 img {
|
|
position:absolute;
|
|
top:-40px;
|
|
left:10px;
|
|
}
|
|
.subtitle {
|
|
font-style:italic;
|
|
display:block;
|
|
margin-bottom:1em;
|
|
font-size:1.5em;
|
|
margin-top:-0.75em;
|
|
}
|
|
.tri {
|
|
-moz-column-count:3;
|
|
-webkit-column-count:3;
|
|
-moz-column-gap:2em;
|
|
-webkit-column-gap:2em;
|
|
}
|
|
img {
|
|
margin-bottom:1.5em;
|
|
}
|
|
h3 img {margin:0;}
|
|
h2, h1 {
|
|
color:#fff;
|
|
background:#76b9fb;
|
|
padding:10px;
|
|
-moz-border-radius:5px;
|
|
-webkit-border-radius:5px;
|
|
clear:both;
|
|
}
|
|
h1, .subtitle {padding-left:80px;}
|
|
.footer {
|
|
background:#76b9fb;
|
|
padding:10px;
|
|
-moz-border-radius:5px;
|
|
-webkit-border-radius:5px;
|
|
clear:both;
|
|
text-align:center;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="wrap">
|
|
<h1><img src="trimage-icon.png" alt=""> Trimage image compressor – 1.0.1b (beta)</h1>
|
|
<span class="subtitle">A cross-platform tool for losslessly optimizing PNG and JPG files.</span>
|
|
<p class="tri">Trimage is a cross-platform GUI and command-line interface to optimize image
|
|
files via <a href="http://optipng.sourceforge.net/">optipng</a>,
|
|
<a href="http://advancemame.sourceforge.net/comp-readme.html">advpng</a> and
|
|
<a href="http://www.kokkonen.net/tjko/projects.html">jpegoptim</a>, depending on the filetype
|
|
(currently, PNG and JPG files are supported). It was inspired by
|
|
<a href="http://imageoptim.pornel.net/">imageoptim</a>. 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.</p>
|
|
|
|
<h2>Trimage in action</h2>
|
|
<img src="image.png" alt="a screenshot of Trimage">
|
|
|
|
<div class="block2">
|
|
<h2>Download</h2>
|
|
<h3><img src="ubuntu.png" alt=""> Ubuntu</h3>
|
|
<p>If you're on karmic or lucid, type the following commands into your console:</p>
|
|
<ol>
|
|
<li><code>sudo add-apt-repository ppa:kilian/trimage</code></li>
|
|
<li><code>sudo apt-get update</code></li>
|
|
<li><code>sudo apt-get install trimage</code></li>
|
|
</ol>
|
|
<p>If you are still on Jaunty, read <a href="https://launchpad.net/+help/soyuz/ppa-sources-list.html">this guide</a> on installing PPA's.</p>
|
|
<h3>Arch Linux</h3>
|
|
Trimage is available from AUR, to install, type:
|
|
<ol>
|
|
<li><code>yaourt -S trimage-git</code></li>
|
|
</ol>
|
|
<h3><img src="linux.png" alt=""> Other *nix</h3>
|
|
<ol>
|
|
<li>Download the source via git or bzr (see repositories)</li>
|
|
<li>Make sure you have all the requirements installed (see requirements)</li>
|
|
<li>Enter <code>python setup.py install</code> into your console</li>
|
|
<li>Launch by executing <code>trimage</code></li>
|
|
</ol>
|
|
<p>Help us make .deb's, rpms's etc: <a href="mailto:help@trimage.org">contact us</a></p>
|
|
<h3><img src="mac.png" alt=""> Mac</h3>
|
|
<p>Trimage should be able to run on Mac. <a href="mailto:help@trimage.org">Help us with this</a></p>
|
|
<h3><img src="windows.png" alt=""> Windows</h3>
|
|
<p>Trimage should be able to run on Windows. <a href="mailto:help@trimage.org">Help us with this</a></p>
|
|
</div>
|
|
<div class="block">
|
|
<h2>Repositories</h2>
|
|
<p><strong>Git:</strong> Trimage is primarily developed on <a href="http://github.com/Kilian/Trimage">GitHub</a>.</p>
|
|
<p><strong>Bzr:</strong> Trimage is also available on <a href="https://launchpad.net/trimage">Launchpad</a>.</p>
|
|
<p>Trimage is MIT licenced. We encourage contributions via GitHub.</p>
|
|
</div>
|
|
<div class="block">
|
|
<h2>Thanks</h2>
|
|
<p>The following people helped develop Trimage:</p>
|
|
<ul>
|
|
<li>Neil Wallace</li>
|
|
<li>Jeroen Goudsmit</li>
|
|
<li>Tarnay Kálmán</li>
|
|
</ul>
|
|
</div>
|
|
<div class="block">
|
|
<h2>Donate</h2>
|
|
<p>If you enjoy using Trimage, please buy us a coffee or a beer :)</p>
|
|
<a href='http://www.pledgie.com/campaigns/9607'><img alt='Click here to lend your support to: Trimage and make a donation at www.pledgie.com !' src='http://www.pledgie.com/campaigns/9607.png?skin_name=chrome' border='0' /></a>
|
|
</div>
|
|
<div class="block">
|
|
<h2>Requirements</h2>
|
|
<ul>
|
|
<li>python <em>2.6</em></li>
|
|
<li>python-qt4 <em>4.4</em></li>
|
|
<li>optipng <em>0.6.2.1</em></li>
|
|
<li>advancecomp <em>1.15</em></li>
|
|
<li>jpegoptim <em>1.2.2</em></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="block2">
|
|
<h2>Command line options</h2>
|
|
<dl>
|
|
<dt>--version</dt>
|
|
<dd>show program's version number and exit</dd>
|
|
<dt>-h, --help</dt>
|
|
<dd>show this help message and exit</dd>
|
|
<dt>-v, --verbose</dt>
|
|
<dd>Verbose mode (default)</dd>
|
|
<dt>-q, --quiet</dt>
|
|
<dd>Quiet mode</dd>
|
|
<dt>-f FILENAME, --file=FILENAME</dt>
|
|
<dd>compresses image and exit</dd>
|
|
<dt>-d DIRECTORY, --directory=DIRECTORY</dt>
|
|
<dd>compresses images in directory and exit</dd>
|
|
</dl>
|
|
</div>
|
|
<div class="block">
|
|
<h2>Help</h2>
|
|
<p>Please use <a href="http://github.com/Kilian/Trimage">GitHub</a> for reporting bugs and email <a href="mailto:help@trimage.org">help@trimage.org</a> for general questions (though we are not a helpdesk!)</p>
|
|
</div>
|
|
|
|
<h2>Planned features</h2>
|
|
<p>Version 1.0.0 final:</p>
|
|
<ul>
|
|
<li>Expand command line options</li>
|
|
<li>Make sure a compressed file is always smaller than the original one, or don't compress</li>
|
|
<li>General refactoring</li>
|
|
</ul>
|
|
<p>Version 1.1.0 final:</p>
|
|
<ul>
|
|
<li>Use multiprocessing</li>
|
|
</ul>
|
|
|
|
<p>Beyond that</p>
|
|
<ul>
|
|
<li>Deletion of rows in the table view</li>
|
|
<li>Notification area widget</li>
|
|
<li>Integration with online services such as punypng</li>
|
|
<li><a href="mailto:help@trimage.org">Suggest something</a></li>
|
|
</ul>
|
|
<p class="footer">Trimage is © 2010 <a href="http://kilianvalkhof.com">Kilian Valkhof</a>, <a href="http://paulchaplin.com">Paul Chaplin</a>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|