Skip to content

Instantly share code, notes, and snippets.

@skiold
Created March 19, 2013 22:03
Show Gist options
  • Save skiold/5200549 to your computer and use it in GitHub Desktop.
Save skiold/5200549 to your computer and use it in GitHub Desktop.
External tools used for image shrinking.
JPEG:
* jpegtran (http://jpegclub.org/jpegtran/; included in libjpeg-progs package
on Ubuntu)
- centos6, repo base, libjpeg-turbo
* Jpegoptim (http://www.kokkonen.net/tjko/projects.html)
- no package
- requires libjpeg >= v6a (http://www.ijg.org/)
GIF (used only for optimizing animated GIFs):
* Gifsicle (http://www.lcdf.org/gifsicle/)
- epel
PNG:
* OptiPNG (http://optipng.sourceforge.net/)
- epel
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment