diff options
| author | Jonathan Wright | 2010-01-04 21:20:59 +1300 |
|---|---|---|
| committer | Max Howell | 2010-01-24 12:27:40 +0000 |
| commit | bc213267a6892f26c2a785556b540b73849995a0 (patch) | |
| tree | 8bf9429abe227a6b4564ca7da98afd3780c061ae /Library | |
| parent | 148dcdc751dcbefe3af28bac0ea18e4f2b1fdb90 (diff) | |
| download | homebrew-bc213267a6892f26c2a785556b540b73849995a0.tar.bz2 | |
Pngnq 1.0
Pngnq quantizes 24-bit (RGB) and 32-bit (RGBA) PNG images down to 8-bit
(palette) PNG8 images.
http://pngnq.sourceforge.net/
See http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/ for
one motivation on using PNG8 images (IE6 support). Another motiviation
is that PNG8 images are smaller and do a good job of lossy compression
of screen shots.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pngnq.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/pngnq.rb b/Library/Formula/pngnq.rb new file mode 100644 index 000000000..8ceb99b31 --- /dev/null +++ b/Library/Formula/pngnq.rb @@ -0,0 +1,12 @@ +require 'formula' + +class Pngnq <Formula + url 'http://downloads.sourceforge.net/project/pngnq/pngnq/1.0/pngnq-1.0.tar.gz' + homepage 'http://pngnq.sourceforge.net/' + md5 '2d2cdacf0284477c662fee888c8092d5' + + def install + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make install" + end +end |
