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.
This commit is contained in:
parent
a6ffef9a50
commit
0deb232437
1 changed files with 12 additions and 0 deletions
12
Formula/pngnq.rb
Normal file
12
Formula/pngnq.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue