-
Notifications
You must be signed in to change notification settings - Fork 55
/
index.html
189 lines (182 loc) · 6.75 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!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.3</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.1.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.1 final:</p>
<ul>
<li>Use multiprocessing instead of threads</li>
</ul>
<p>Beyond that</p>
<ul>
<li>Deletion of rows in the table view</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>