1--------------------------------------------------------------------------
2      Copyright (c) 2004-2007 Stuart Coyle
3
4      Copyright (c) 1998-2001 Greg Roelofs.  All rights reserved.
5
6      This software is provided "as is," without warranty of any kind,
7      express or implied.  In no event shall the author or contributors
8      be held liable for any damages arising in any way from the use of
9      this software.
10
11      Permission is granted to anyone to use this software for any purpose,
12      including commercial applications, and to alter it and redistribute
13      it freely, subject to the following restrictions:
14
15      1. Redistributions of source code must retain the above copyright
16         notice, disclaimer, and this list of conditions.
17      2. Redistributions in binary form must reproduce the above copyright
18         notice, disclaimer, and this list of conditions in the documenta-
19         tion and/or other materials provided with the distribution.
20      3. All advertising materials mentioning features or use of this
21         software must display the following acknowledgment:
22
23            This product includes software developed by Greg Roelofs
24            and contributors for the book, "PNG: The Definitive Guide,"
25            published by O'Reilly and Associates.
26
27  ---------------------------------------------------------------------------
28
29	NeuQuant Neural-Net Quantization Algorithm
30
31 	 Copyright (c) 1994 Anthony Dekker
32
33  NEUQUANT Neural-Net quantization algorithm by Anthony Dekker, 1994.
34  See "Kohonen neural networks for optimal colour quantization"
35  in "Network: Computation in Neural Systems" Vol. 5 (1994) pp 351-367.
36  for a discussion of the algorithm.
37  See also  http://members.ozemail.com.au/~dekker/NEUQUANT.HTML
38
39  Any party obtaining a copy of these files from the author, directly or
40  indirectly, is granted, free of charge, a full and unrestricted irrevocable,
41  world-wide, paid up, royalty-free, nonexclusive right and license to deal
42  in this software and documentation files (the "Software"), including without
43  limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
44  and/or sell copies of the Software, and to permit persons who receive
45  copies from any such party to do so, with the only requirement being
46  that this copyright notice remain intact.
47
48
49----------------------------------------------------------------------------
50
51Free Getopt
52Copyright (c)2002-2003 Mark K. Kim
53All rights reserved.
54
55Redistribution and use in source and binary forms, with or without
56modification, are permitted provided that the following conditions
57are met:
58
59  * Redistributions of source code must retain the above copyright
60    notice, this list of conditions and the following disclaimer.
61
62  * Redistributions in binary form must reproduce the above copyright
63    notice, this list of conditions and the following disclaimer in
64    the documentation and/or other materials provided with the
65    distribution.
66
67  * Neither the original author of this software nor the names of its
68    contributors may be used to endorse or promote products derived
69    from this software without specific prior written permission.
70
71THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
72"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
73LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
74FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
75COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
76INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
77BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
78OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
79AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
80OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
81THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
82DAMAGE.
83