Fixed typo
[TortoiseGit.git] / doc / images / pngquant-license.txt
blobc18877308207838e77a0830afe6cbfdd6973e2c1
1 The quantization and dithering code in pngquant is lifted from Jef Poskanzer's\r
2 'ppmquant', part of his wonderful PBMPLUS tool suite.\r
3 \r
4 Greg Roelofs hacked it into a (in his words) "slightly cheesy" 'pamquant' back\r
5 in 1997 (see http://pobox.com/~newt/greg_rgba.html) and finally he ripped out\r
6 the cheesy file-I/O parts and replaced them with nice PNG code in December\r
7 2000. The PNG reading and writing code is a merged and slightly simplified\r
8 version of readpng, readpng2, and writepng from his book:\r
9 \r
10    "PNG: The Definitive Guide."\r
12 Pngquant therefore inherits both licenses, one for each source file.\r
14 Note that both licenses are basically BSD-like; that is, use the code however\r
15 you like, as long as you acknowledge its origins.\r
17 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
19 pngquant.c:\r
21    Copyright (C) 1989, 1991 by Jef Poskanzer.\r
22    Copyright (C) 1997, 2000, 2002 by Greg Roelofs; based on an idea by\r
23                                   Stefan Schneider.\r
24    Copyright 2009-2012 by Kornel Lesinski.\r
26    Permission to use, copy, modify, and distribute this software and its\r
27    documentation for any purpose and without fee is hereby granted, provided\r
28    that the above copyright notice appear in all copies and that both that\r
29    copyright notice and this permission notice appear in supporting\r
30    documentation.  This software is provided "as is" without express or\r
31    implied warranty.\r
33 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r
35 rwpng.c (and rwpng.h):\r
37    Copyright (c) 1998-2002 Greg Roelofs.  All rights reserved.\r
39    This software is provided "as is," without warranty of any kind,\r
40    express or implied.  In no event shall the author or contributors\r
41    be held liable for any damages arising in any way from the use of\r
42    this software.\r
44    Permission is granted to anyone to use this software for any purpose,\r
45    including commercial applications, and to alter it and redistribute\r
46    it freely, subject to the following restrictions:\r
48    1. Redistributions of source code must retain the above copyright\r
49       notice, disclaimer, and this list of conditions.\r
50    2. Redistributions in binary form must reproduce the above copyright\r
51       notice, disclaimer, and this list of conditions in the documenta-\r
52       tion and/or other materials provided with the distribution.\r
53    3. All advertising materials mentioning features or use of this\r
54       software must display the following acknowledgment:\r
56          This product includes software developed by Greg Roelofs\r
57          and contributors for the book, "PNG: The Definitive Guide,"\r
58          published by O'Reilly and Associates.\r
60 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\r