aboutsummaryrefslogtreecommitdiff
path: root/graphics/pngquant/pkg-descr
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2012-04-21 18:48:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2012-04-21 18:48:11 +0000
commit9dcf4bcaca13a5ebc0114388de603d00ccaadd0b (patch)
tree60119b12267d8c28fc8a1115a883896bbccbf1c3 /graphics/pngquant/pkg-descr
parent762365343771fae3a93e0fb6a9932f5e918722a9 (diff)
downloadports-9dcf4bcaca13a5ebc0114388de603d00ccaadd0b.tar.gz
ports-9dcf4bcaca13a5ebc0114388de603d00ccaadd0b.zip
Notes
Diffstat (limited to 'graphics/pngquant/pkg-descr')
-rw-r--r--graphics/pngquant/pkg-descr39
1 files changed, 16 insertions, 23 deletions
diff --git a/graphics/pngquant/pkg-descr b/graphics/pngquant/pkg-descr
index cace7fb63c4c..b4f6da610b49 100644
--- a/graphics/pngquant/pkg-descr
+++ b/graphics/pngquant/pkg-descr
@@ -1,24 +1,17 @@
-The pngquant utility converts 32-bit RGBA PNGs to 8-bit RGBA-palette PNGs (or
-fewer than 8 bits, if you want), via quantization and ordered or diffusion
-(Floyd-Steinberg) dithering. You can also use it on RGB or even palette images
-(for example, to further color-reduce them to 16 colors). It does:
- - nice reduction of all PNG image types to 256-color (or smaller) palette
- - automatic optimization of tRNS chunks
- - batch conversion of multiple files (e.g., "pngquant 256 *.png")
- - Unix-style command-line filtering (e.g., "... | pngquant 16 | ...")
-It does still lack a few features:
- - no ancillary chunk preservation (except gAMA)
- - no preservation of significant-bits info after rescaling (sBIT chunk)
- - no mapfile support
- - no "native" handling of 16-bit-per-sample files or gray+alpha files
- (all samples are truncated to 8 bits and all images are promoted
- to RGBA before quantization)
-By the way, be sure to check "before" and "after" file sizes, preferably with
-pngcrush (http://pmt.sourceforge.net/pngcrush/); dithered palette images may
-be four times smaller to begin with, but they do not compress nearly as well
-as grayscale and truecolor images. Some images, such as Henri Sivonen's alpha
-button (http://www.pp.htv.fi/hsivone1/css-test/bitmapstyle.html), can be made
-smaller as full 32-bit RGBA images (4076 bytes in this case) than as either
-FS-dithered palette (4550 bytes) or ordered-dither palette (4482 bytes) images.
+pngquant is a command-line utility to quantize and dither 32-bit RGBA
+PNGs down to 8-bit (or smaller) RGBA-palette PNGs, usually with a
+significant reduction in file size (40-70% smaller than 24-bit PNGs).
-WWW: http://www.libpng.org/pub/png/apps/pngquant.html
+This unique type of PNG supports full alpha transparency and is
+compatible with all modern web browsers, and has better fallback in IE6
+than 24-bit PNGs.
+
+Features:
+ - High-quality palette generation using modernized Median Cut
+ algorithm.
+ - Unique dithering algorithm that adds less noise to images than the
+ standard Floyd-Steinberg.
+ - Easy to integrate with shell scripts, GUIs and server-side software.
+ - Fast mode for processing large numbers of images.
+
+WWW: http://pngquant.org/