mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Imported from libpng-1.7.0beta67.tar
This commit is contained in:
parent
5cf6ed45c8
commit
dbd98b8c68
2
README
2
README
@ -1,4 +1,4 @@
|
||||
README for libpng version 1.7.0beta67 - October 2, 2015 (shared library 17.0)
|
||||
README for libpng version 1.7.0beta67 - November 3, 2015 (shared library 17.0)
|
||||
See the note about version numbers near the top of png.h
|
||||
|
||||
See INSTALL for instructions on how to install libpng.
|
||||
|
1
TODO
1
TODO
@ -25,5 +25,6 @@ Investigate pre-incremented loop counters and other loop constructions.
|
||||
Add interpolated method of handling interlacing.
|
||||
Switch to the simpler zlib (zlib/libpng) license if legally possible.
|
||||
Extend pngvalid.c to validate more of the libpng transformations.
|
||||
Refactor preprocessor conditionals to compile entire statements
|
||||
|
||||
*/
|
||||
|
@ -7158,7 +7158,7 @@ image_transform_png_set_rgb_to_gray_ini(const image_transform *this,
|
||||
* conversion adds another +/-2 in the 16-bit case and
|
||||
* +/-(1<<(15-PNG_MAX_GAMMA_8)) in the 8-bit case.
|
||||
*/
|
||||
that->pm->limit += (pow)(
|
||||
that->pm->limit += pow(
|
||||
# if PNG_MAX_GAMMA_8 < 14
|
||||
(that->this.bit_depth == 16 ? 8. :
|
||||
6. + (1<<(15-PNG_MAX_GAMMA_8)))
|
||||
@ -7182,7 +7182,7 @@ image_transform_png_set_rgb_to_gray_ini(const image_transform *this,
|
||||
* affects the limit used for checking for internal calculation errors,
|
||||
* not the actual limit imposed by pngvalid on the output errors.
|
||||
*/
|
||||
that->pm->limit += (pow)(
|
||||
that->pm->limit += pow(
|
||||
# if DIGITIZE
|
||||
1.3
|
||||
# else
|
||||
@ -10960,13 +10960,11 @@ static const color_encoding test_encodings[] =
|
||||
/*red: */ { 0.716500716779386, 0.258728243040113, 0.000000000000000 },
|
||||
/*green:*/ { 0.101020574397477, 0.724682314948566, 0.051211818965388 },
|
||||
/*blue: */ { 0.146774385252705, 0.016589442011321, 0.773892783545073} },
|
||||
#if PNG_LIBPNG_VER >= 10700
|
||||
/* Fake encoding which selects just the green channel */
|
||||
/*gamma:*/ { 1.45/2.2, /* the 'Mac' gamma */
|
||||
/*red: */ { 0.716500716779386, 0.000000000000000, 0.000000000000000 },
|
||||
/*green:*/ { 0.101020574397477, 1.000000000000000, 0.051211818965388 },
|
||||
/*blue: */ { 0.146774385252705, 0.000000000000000, 0.773892783545073} },
|
||||
#endif
|
||||
};
|
||||
|
||||
/* signal handler
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH LIBPNGPF 3 "October 2, 2015"
|
||||
.TH LIBPNGPF 3 "November 3, 2015"
|
||||
.SH NAME
|
||||
libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta67
|
||||
(private functions)
|
||||
|
2
png.5
2
png.5
@ -1,4 +1,4 @@
|
||||
.TH PNG 5 "October 2, 2015"
|
||||
.TH PNG 5 "November 3, 2015"
|
||||
.SH NAME
|
||||
png \- Portable Network Graphics (PNG) format
|
||||
.SH DESCRIPTION
|
||||
|
4
png.c
4
png.c
@ -699,13 +699,13 @@ png_get_copyright(png_const_structrp png_ptr)
|
||||
#else
|
||||
# ifdef __STDC__
|
||||
return PNG_STRING_NEWLINE \
|
||||
"libpng version 1.7.0beta67 - October 2, 2015" PNG_STRING_NEWLINE \
|
||||
"libpng version 1.7.0beta67 - November 3, 2015" PNG_STRING_NEWLINE \
|
||||
"Copyright (c) 1998-2015 Glenn Randers-Pehrson" PNG_STRING_NEWLINE \
|
||||
"Copyright (c) 1996-1997 Andreas Dilger" PNG_STRING_NEWLINE \
|
||||
"Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc." \
|
||||
PNG_STRING_NEWLINE;
|
||||
# else
|
||||
return "libpng version 1.7.0beta67 - October 2, 2015\
|
||||
return "libpng version 1.7.0beta67 - November 3, 2015\
|
||||
Copyright (c) 1998-2015 Glenn Randers-Pehrson\
|
||||
Copyright (c) 1996-1997 Andreas Dilger\
|
||||
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc.";
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
/* pngconf.h - machine configurable file for libpng
|
||||
*
|
||||
* libpng version 1.7.0beta67, October 2, 2015
|
||||
* libpng version 1.7.0beta67, November 3, 2015
|
||||
*
|
||||
* Copyright (c) 1998-2015 Glenn Randers-Pehrson
|
||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
VisualStudio instructions
|
||||
|
||||
libpng version 1.7.0beta67 - October 2, 2015
|
||||
libpng version 1.7.0beta67 - November 3, 2015
|
||||
|
||||
Copyright (c) 1998-2010 Glenn Randers-Pehrson
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<!--
|
||||
* zlib.props - location of zlib source
|
||||
*
|
||||
* libpng version 1.7.0beta67 - October 2, 2015
|
||||
* libpng version 1.7.0beta67 - November 3, 2015
|
||||
*
|
||||
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
|
||||
*
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
Makefiles for libpng version 1.7.0beta67 - October 2, 2015
|
||||
Makefiles for libpng version 1.7.0beta67 - November 3, 2015
|
||||
|
||||
pnglibconf.h.prebuilt => Stores configuration settings
|
||||
makefile.linux => Linux/ELF makefile
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
/* pnglibconf.h - library build configuration */
|
||||
|
||||
/* Libpng version 1.7.0beta67 - October 2, 2015 */
|
||||
/* Libpng version 1.7.0beta67 - November 3, 2015 */
|
||||
|
||||
/* Copyright (c) 1998-2015 Glenn Randers-Pehrson */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user