freebsd-ports/graphics/pngnq/files/patch-pngcomp.c
Martin Wilke ac281e3d68 Pngnq is a tool for quantizing PNG images in RGBA format.
Pngnq is an adaptation by Stuart Coyle of Greg Roelf's pnqquant using
Anthony Dekker's neuquant algorithm.

The neuquant algorithm uses a neural network to optimise the color map
selection. This is fast and quite accurate, giving good results on many
types of images.

WWW: http://pngnq.sourceforge.net/

PR:		ports/134420
Submitted by:	stb at lassitu.de
2009-05-10 22:37:04 +00:00

10 lines
244 B
C

--- pngcomp.c.orig 2007-11-12 13:59:38.000000000 +0100
+++ pngcomp.c 2009-05-10 15:07:38.000000000 +0200
@@ -41,6 +41,7 @@
#include <string.h>
#include <math.h>
#include <ctype.h>
+#include <unistd.h>
#include "png.h"
#include "rwpng.h"