| OLD | NEW |
| 1 /* | |
| 2 * COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: | |
| 3 * | |
| 4 * If you modify libpng you may insert additional notices immediately following | |
| 5 * this sentence. | |
| 6 * | |
| 7 * This code is released under the libpng license. | |
| 8 * | |
| 9 * libpng versions 1.2.6, August 15, 2004, through 1.6.16, December 22, 2014, ar
e | |
| 10 * Copyright (c) 2004, 2006-2014 Glenn Randers-Pehrson, and are | |
| 11 * distributed according to the same disclaimer and license as libpng-1.2.5 | |
| 12 * with the following individual added to the list of Contributing Authors: | |
| 13 * | |
| 14 * Cosmin Truta | |
| 15 * | |
| 16 * libpng versions 1.0.7, July 1, 2000, through 1.2.5, October 3, 2002, are | |
| 17 * Copyright (c) 2000-2002 Glenn Randers-Pehrson, and are | |
| 18 * distributed according to the same disclaimer and license as libpng-1.0.6 | |
| 19 * with the following individuals added to the list of Contributing Authors: | |
| 20 * | |
| 21 * Simon-Pierre Cadieux | |
| 22 * Eric S. Raymond | |
| 23 * Gilles Vollant | |
| 24 * | |
| 25 * and with the following additions to the disclaimer: | |
| 26 * | |
| 27 * There is no warranty against interference with your enjoyment of the | |
| 28 * library or against infringement. There is no warranty that our | |
| 29 * efforts or the library will fulfill any of your particular purposes | |
| 30 * or needs. This library is provided with all faults, and the entire | |
| 31 * risk of satisfactory quality, performance, accuracy, and effort is with | |
| 32 * the user. | |
| 33 * | |
| 34 * libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are | |
| 35 * Copyright (c) 1998, 1999, 2000 Glenn Randers-Pehrson, and are | |
| 36 * distributed according to the same disclaimer and license as libpng-0.96, | |
| 37 * with the following individuals added to the list of Contributing Authors: | |
| 38 * | |
| 39 * Tom Lane | |
| 40 * Glenn Randers-Pehrson | |
| 41 * Willem van Schaik | |
| 42 * | |
| 43 * libpng versions 0.89, June 1996, through 0.96, May 1997, are | |
| 44 * Copyright (c) 1996, 1997 Andreas Dilger | |
| 45 * Distributed according to the same disclaimer and license as libpng-0.88, | |
| 46 * with the following individuals added to the list of Contributing Authors: | |
| 47 * | |
| 48 * John Bowler | |
| 49 * Kevin Bracey | |
| 50 * Sam Bushell | |
| 51 * Magnus Holmgren | |
| 52 * Greg Roelofs | |
| 53 * Tom Tanner | |
| 54 * | |
| 55 * libpng versions 0.5, May 1995, through 0.88, January 1996, are | |
| 56 * Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc. | |
| 57 * | |
| 58 * For the purposes of this copyright and license, "Contributing Authors" | |
| 59 * is defined as the following set of individuals: | |
| 60 * | |
| 61 * Andreas Dilger | |
| 62 * Dave Martindale | |
| 63 * Guy Eric Schalnat | |
| 64 * Paul Schmidt | |
| 65 * Tim Wegner | |
| 66 * | |
| 67 * The PNG Reference Library is supplied "AS IS". The Contributing Authors | |
| 68 * and Group 42, Inc. disclaim all warranties, expressed or implied, | |
| 69 * including, without limitation, the warranties of merchantability and of | |
| 70 * fitness for any purpose. The Contributing Authors and Group 42, Inc. | |
| 71 * assume no liability for direct, indirect, incidental, special, exemplary, | |
| 72 * or consequential damages, which may result from the use of the PNG | |
| 73 * Reference Library, even if advised of the possibility of such damage. | |
| 74 * | |
| 75 * Permission is hereby granted to use, copy, modify, and distribute this | |
| 76 * source code, or portions hereof, for any purpose, without fee, subject | |
| 77 * to the following restrictions: | |
| 78 * | |
| 79 * 1. The origin of this source code must not be misrepresented. | |
| 80 * | |
| 81 * 2. Altered versions must be plainly marked as such and must not | |
| 82 * be misrepresented as being the original source. | |
| 83 * | |
| 84 * 3. This Copyright notice may not be removed or altered from | |
| 85 * any source or altered source distribution. | |
| 86 * | |
| 87 * The Contributing Authors and Group 42, Inc. specifically permit, without | |
| 88 * fee, and encourage the use of this source code as a component to | |
| 89 * supporting the PNG file format in commercial products. If you use this | |
| 90 * source code in a product, acknowledgment is not required but would be | |
| 91 * appreciated. | |
| 92 */ | |
| 93 | 1 |
| 94 /* | 2 This copy of the libpng notices is provided for your convenience. In case of |
| 95 * A "png_get_copyright" function is available, for convenient use in "about" | 3 any discrepancy between this copy and the notices in the file png.h that is |
| 96 * boxes and the like: | 4 included in the libpng distribution, the latter shall prevail. |
| 97 * | |
| 98 * printf("%s", png_get_copyright(NULL)); | |
| 99 * | |
| 100 * Also, the PNG logo (in PNG format, of course) is supplied in the | |
| 101 * files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). | |
| 102 */ | |
| 103 | 5 |
| 104 /* | 6 COPYRIGHT NOTICE, DISCLAIMER, and LICENSE: |
| 105 * Libpng is OSI Certified Open Source Software. OSI Certified is a | |
| 106 * certification mark of the Open Source Initiative. | |
| 107 */ | |
| 108 | 7 |
| 109 /* | 8 If you modify libpng you may insert additional notices immediately following |
| 110 * The contributing authors would like to thank all those who helped | 9 this sentence. |
| 111 * with testing, bug fixes, and patience. This wouldn't have been | |
| 112 * possible without all of you. | |
| 113 * | |
| 114 * Thanks to Frank J. T. Wojcik for helping with the documentation. | |
| 115 */ | |
| 116 | 10 |
| 117 /* | 11 This code is released under the libpng license. |
| 118 * Y2K compliance in libpng: | 12 |
| 119 * ========================= | 13 libpng versions 1.0.7, July 1, 2000, through 1.6.19, November 12, 2015, are |
| 120 * | 14 Copyright (c) 2000-2002, 2004, 2006-2015 Glenn Randers-Pehrson, are |
| 121 * December 22, 2014 | 15 derived from libpng-1.0.6, and are distributed according to the same |
| 122 * | 16 disclaimer and license as libpng-1.0.6 with the following individuals |
| 123 * Since the PNG Development group is an ad-hoc body, we can't make | 17 added to the list of Contributing Authors: |
| 124 * an official declaration. | 18 |
| 125 * | 19 Simon-Pierre Cadieux |
| 126 * This is your unofficial assurance that libpng from version 0.71 and | 20 Eric S. Raymond |
| 127 * upward through 1.6.16 are Y2K compliant. It is my belief that | 21 Mans Rullgard |
| 128 * earlier versions were also Y2K compliant. | 22 Cosmin Truta |
| 129 * | 23 Gilles Vollant |
| 130 * Libpng only has two year fields. One is a 2-byte unsigned integer | 24 James Yu |
| 131 * that will hold years up to 65535. The other, which is deprecated, | 25 |
| 132 * holds the date in text format, and will hold years up to 9999. | 26 and with the following additions to the disclaimer: |
| 133 * | 27 |
| 134 * The integer is | 28 There is no warranty against interference with your enjoyment of the |
| 135 * "png_uint_16 year" in png_time_struct. | 29 library or against infringement. There is no warranty that our |
| 136 * | 30 efforts or the library will fulfill any of your particular purposes |
| 137 * The string is | 31 or needs. This library is provided with all faults, and the entire |
| 138 * "char time_buffer[29]" in png_struct. This is no longer used | 32 risk of satisfactory quality, performance, accuracy, and effort is with |
| 139 * in libpng-1.6.x and will be removed from libpng-1.7.0. | 33 the user. |
| 140 * | 34 |
| 141 * There are seven time-related functions: | 35 libpng versions 0.97, January 1998, through 1.0.6, March 20, 2000, are |
| 142 * png.c: png_convert_to_rfc_1123_buffer() in png.c | 36 Copyright (c) 1998-2000 Glenn Randers-Pehrson, are derived from |
| 143 * (formerly png_convert_to_rfc_1123() prior to libpng-1.5.x and | 37 libpng-0.96, and are distributed according to the same disclaimer and |
| 144 * png_convert_to_rfc_1152() in error prior to libpng-0.98) | 38 license as libpng-0.96, with the following individuals added to the list |
| 145 * png_convert_from_struct_tm() in pngwrite.c, called in pngwrite.c | 39 of Contributing Authors: |
| 146 * png_convert_from_time_t() in pngwrite.c | 40 |
| 147 * png_get_tIME() in pngget.c | 41 Tom Lane |
| 148 * png_handle_tIME() in pngrutil.c, called in pngread.c | 42 Glenn Randers-Pehrson |
| 149 * png_set_tIME() in pngset.c | 43 Willem van Schaik |
| 150 * png_write_tIME() in pngwutil.c, called in pngwrite.c | 44 |
| 151 * | 45 libpng versions 0.89, June 1996, through 0.96, May 1997, are |
| 152 * All handle dates properly in a Y2K environment. The | 46 Copyright (c) 1996-1997 Andreas Dilger, are derived from libpng-0.88, |
| 153 * png_convert_from_time_t() function calls gmtime() to convert from system | 47 and are distributed according to the same disclaimer and license as |
| 154 * clock time, which returns (year - 1900), which we properly convert to | 48 libpng-0.88, with the following individuals added to the list of |
| 155 * the full 4-digit year. There is a possibility that libpng applications | 49 Contributing Authors: |
| 156 * are not passing 4-digit years into the png_convert_to_rfc_1123_buffer() | 50 |
| 157 * function, or that they are incorrectly passing only a 2-digit year | 51 John Bowler |
| 158 * instead of "year - 1900" into the png_convert_from_struct_tm() function, | 52 Kevin Bracey |
| 159 * but this is not under our control. The libpng documentation has always | 53 Sam Bushell |
| 160 * stated that it works with 4-digit years, and the APIs have been | 54 Magnus Holmgren |
| 161 * documented as such. | 55 Greg Roelofs |
| 162 * | 56 Tom Tanner |
| 163 * The tIME chunk itself is also Y2K compliant. It uses a 2-byte unsigned | 57 |
| 164 * integer to hold the year, and can hold years as large as 65535. | 58 libpng versions 0.5, May 1995, through 0.88, January 1996, are |
| 165 * | 59 Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. |
| 166 * zlib, upon which libpng depends, is also Y2K compliant. It contains | 60 |
| 167 * no date-related code. | 61 For the purposes of this copyright and license, "Contributing Authors" |
| 168 * | 62 is defined as the following set of individuals: |
| 169 * Glenn Randers-Pehrson | 63 |
| 170 * libpng maintainer | 64 Andreas Dilger |
| 171 * PNG Development Group | 65 Dave Martindale |
| 172 */ | 66 Guy Eric Schalnat |
| 67 Paul Schmidt |
| 68 Tim Wegner |
| 69 |
| 70 The PNG Reference Library is supplied "AS IS". The Contributing Authors |
| 71 and Group 42, Inc. disclaim all warranties, expressed or implied, |
| 72 including, without limitation, the warranties of merchantability and of |
| 73 fitness for any purpose. The Contributing Authors and Group 42, Inc. |
| 74 assume no liability for direct, indirect, incidental, special, exemplary, |
| 75 or consequential damages, which may result from the use of the PNG |
| 76 Reference Library, even if advised of the possibility of such damage. |
| 77 |
| 78 Permission is hereby granted to use, copy, modify, and distribute this |
| 79 source code, or portions hereof, for any purpose, without fee, subject |
| 80 to the following restrictions: |
| 81 |
| 82 1. The origin of this source code must not be misrepresented. |
| 83 |
| 84 2. Altered versions must be plainly marked as such and must not |
| 85 be misrepresented as being the original source. |
| 86 |
| 87 3. This Copyright notice may not be removed or altered from any |
| 88 source or altered source distribution. |
| 89 |
| 90 The Contributing Authors and Group 42, Inc. specifically permit, without |
| 91 fee, and encourage the use of this source code as a component to |
| 92 supporting the PNG file format in commercial products. If you use this |
| 93 source code in a product, acknowledgment is not required but would be |
| 94 appreciated. |
| 95 |
| 96 END OF COPYRIGHT NOTICE, DISCLAIMER, and LICENSE. |
| 97 |
| 98 A "png_get_copyright" function is available, for convenient use in "about" |
| 99 boxes and the like: |
| 100 |
| 101 printf("%s", png_get_copyright(NULL)); |
| 102 |
| 103 Also, the PNG logo (in PNG format, of course) is supplied in the |
| 104 files "pngbar.png" and "pngbar.jpg (88x31) and "pngnow.png" (98x31). |
| 105 |
| 106 Libpng is OSI Certified Open Source Software. OSI Certified Open Source is |
| 107 a certification mark of the Open Source Initiative. OSI has not addressed |
| 108 the additional disclaimers inserted at version 1.0.7. |
| 109 |
| 110 Glenn Randers-Pehrson |
| 111 glennrp at users.sourceforge.net |
| 112 November 12, 2015 |
| OLD | NEW |