LICENSE 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ---------------------------------------------------------------------------
  2. Copyright (c) 1998-2008 Greg Roelofs. All rights reserved.
  3. This software is provided "as is," without warranty of any kind,
  4. express or implied. In no event shall the author or contributors
  5. be held liable for any damages arising in any way from the use of
  6. this software.
  7. The contents of this file are DUAL-LICENSED. You may modify and/or
  8. redistribute this software according to the terms of one of the
  9. following two licenses (at your option):
  10. LICENSE 1 ("BSD-like with advertising clause"):
  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. 1. Redistributions of source code must retain the above copyright
  15. notice, disclaimer, and this list of conditions.
  16. 2. Redistributions in binary form must reproduce the above copyright
  17. notice, disclaimer, and this list of conditions in the documenta-
  18. tion and/or other materials provided with the distribution.
  19. 3. All advertising materials mentioning features or use of this
  20. software must display the following acknowledgment:
  21. This product includes software developed by Greg Roelofs
  22. and contributors for the book, "PNG: The Definitive Guide,"
  23. published by O'Reilly and Associates.
  24. LICENSE 2 (GNU GPL v2 or later):
  25. This program is free software; you can redistribute it and/or modify
  26. it under the terms of the GNU General Public License as published by
  27. the Free Software Foundation; either version 2 of the License, or
  28. (at your option) any later version.
  29. This program is distributed in the hope that it will be useful,
  30. but WITHOUT ANY WARRANTY; without even the implied warranty of
  31. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  32. GNU General Public License for more details.
  33. You should have received a copy of the GNU General Public License
  34. along with this program; if not, write to the Free Software Foundation,
  35. Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  36. ---------------------------------------------------------------------------