forked from samastur/image-diet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrequirements.txt
49 lines (41 loc) · 1.36 KB
/
requirements.txt
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
External tools used for image shrinking.
JPEG:
* jpegtran (http://jpegclub.org/jpegtran/; included in libjpeg-progs package
on Ubuntu)
* Jpegoptim (http://www.kokkonen.net/tjko/projects.html)
GIF (used only for optimizing animated GIFs):
* Gifsicle (http://www.lcdf.org/gifsicle/)
PNG:
* OptiPNG (http://optipng.sourceforge.net/)
* AdvanceCOMP PNG (http://advancemame.sourceforge.net/doc-advpng.html)
* Pngcrush (http://pmt.sourceforge.net/pngcrush/)
Ubuntu packages are:
* libjpeg-progs
* jpegoptim
* gifsicle
* optipng
* advancecomp
* pngcrush
CentOS packages are:
* jpegtran: libjpeg
* jpegoptim: can't find rpm on internet
* gifsicle: gifsicle package on repoforge
* optipng: optipng package in EPEL
* advancecomp: advancecomp package on repoforge
* pngcrush: pngcrush package on repoforge
Brew for MacOSX:
* jpeg
* jpegoptim
* gifsicle
* optipng
* advancecomp
* pngcrush
Alternative on MacOSX:
Install imageoptim (http://imageoptim.com) and then symlink from /usr/bin/
to all the required packages:
sudo ln -s /Applications/ImageOptim.app/Contents/MacOS/advpng
sudo ln -s /Applications/ImageOptim.app/Contents/MacOS/gifsicle
sudo ln -s /Applications/ImageOptim.app/Contents/MacOS/jpegoptim
sudo ln -s /Applications/ImageOptim.app/Contents/MacOS/jpegtran
sudo ln -s /Applications/ImageOptim.app/Contents/MacOS/optipng
sudo ln -s /Applications/ImageOptim.app/Contents/MacOS/pngcrush