[alpha] Restored premultiply feature from libpng-1.4.0beta105.

This commit is contained in:
Glenn Randers-Pehrson
2009-11-28 14:31:48 -06:00
parent 1d6d712e3b
commit f015d5aa82
7 changed files with 35 additions and 33 deletions

View File

@@ -1,5 +1,5 @@
Libpng 1.4.1alpha02 - November 27, 2009
Libpng 1.4.1alpha01 - November 27, 2009
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@@ -9,25 +9,25 @@ Files available for download:
Source files with LF line endings (for Unix/Linux) and with a
"configure" script
1.4.1alpha02.tar.xz (LZMA-compressed, recommended)
1.4.1alpha02.tar.gz
1.4.1alpha02.tar.bz2
1.4.1alpha01.tar.xz (LZMA-compressed, recommended)
1.4.1alpha01.tar.gz
1.4.1alpha01.tar.bz2
Source files with CRLF line endings (for Windows), without the
"configure" script
lp141a02.zip
lp141a02.7z
lp141a01.zip
lp141a01.7z
Other information:
1.4.1alpha02-README.txt
1.4.1alpha02-LICENSE.txt
1.4.1alpha01-README.txt
1.4.1alpha01-LICENSE.txt
Changes since the last public release (1.4.0beta106):
Changes since the last public release (1.4.0beta107):
version 1.4.1alpha01 [November 27, 2009]
Based on 1.4.0beta106
Based on version 1.4.0beta107
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@@ -2404,8 +2404,10 @@ version 1.4.0beta105 [November 25, 2009]
version 1.4.0beta106 [November 27, 2009]
Removed premultiplied alpha feature.
version 1.4.0beta107 [November 27, 2009]
Updated README
version 1.4.1alpha01 [November 27, 2009]
Based on 1.4.0beta106
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@@ -1,6 +1,6 @@
.TH LIBPNG 3 "November 27, 2009"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1alpha02
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1alpha01
.SH SYNOPSIS
\fI\fB
@@ -777,7 +777,7 @@ Following is a copy of the libpng.txt file that accompanies libpng.
.SH LIBPNG.TXT
libpng.txt - A description on how to use and modify libpng
libpng version 1.4.1alpha02 - November 27, 2009
libpng version 1.4.1alpha01 - November 27, 2009
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
@@ -788,7 +788,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.4.1alpha02 - November 27, 2009
libpng versions 0.97, January 1998, through 1.4.1alpha01 - November 27, 2009
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
@@ -1655,7 +1655,7 @@ things.
As of libpng version 1.2.9, png_set_expand_gray_1_2_4_to_8() was
added. It expands the sample depth without changing tRNS to alpha.
As of libpng version 1.4.1alpha02, not all possible expansions are supported.
As of libpng version 1.4.1alpha01, not all possible expansions are supported.
In the following table, the 01 means grayscale with depth<8, 31 means
indexed with depth<8, other numerals represent the color type, "T" means
@@ -3996,7 +3996,7 @@ Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
This is your unofficial assurance that libpng from version 0.71 and
upward through 1.4.1alpha02 are Y2K compliant. It is my belief that earlier
upward through 1.4.1alpha01 are Y2K compliant. It is my belief that earlier
versions were also Y2K compliant.
Libpng only has three year fields. One is a 2-byte unsigned integer that
@@ -4166,8 +4166,8 @@ the first widely used release:
1.4.0beta15-36 14 10400 14.so.0.0[.0]
1.4.0beta37-87 14 10400 14.so.14.0[.0]
1.4.0rc01 14 10400 14.so.14.0[.0]
1.4.0beta88-106 14 10400 14.so.14.0[.0]
1.4.1alpha01-02 14 10401 14.so.14.0[.0]
1.4.0beta88-107 14 10400 14.so.14.0[.0]
1.4.1alpha01 14 10401 14.so.14.0[.0]
Henceforth the source version will match the shared-library minor
and patch numbers; the shared-library major version number will be
@@ -4223,7 +4223,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.4.1alpha02 - November 27, 2009:
Libpng version 1.4.1alpha01 - November 27, 2009:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
@@ -4246,7 +4246,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.4.1alpha02, November 27, 2009, are
libpng versions 1.2.6, August 15, 2004, through 1.4.1alpha01, November 27, 2009, are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors

View File

@@ -1,6 +1,6 @@
.TH LIBPNGPF 3 "November 27, 2009"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1alpha02
libpng \- Portable Network Graphics (PNG) Reference Library 1.4.1alpha01
(private functions)
.SH SYNOPSIS
\fB#include <png.h>\fP

20
png.h
View File

@@ -1,7 +1,7 @@
/* png.h - header file for PNG reference library
*
* libpng version 1.4.1alpha02 - November 27, 2009
* libpng version 1.4.1alpha01 - November 27, 2009
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
@@ -11,7 +11,7 @@
* Authors and maintainers:
* libpng versions 0.71, May 1995, through 0.88, January 1996: Guy Schalnat
* libpng versions 0.89c, June 1996, through 0.96, May 1997: Andreas Dilger
* libpng versions 0.97, January 1998, through 1.4.1alpha02 - November 27, 2009: Glenn
* libpng versions 0.97, January 1998, through 1.4.1alpha01 - November 27, 2009: Glenn
* See also "Contributing Authors", below.
*
* Note about libpng version numbers:
@@ -131,8 +131,8 @@
* 1.4.0beta15-36 14 10400 14.so.0.0[.0]
* 1.4.0beta37-87 14 10400 14.so.14.0[.0]
* 1.4.0rc01 14 10400 14.so.14.0[.0]
* 1.4.0beta88-106 14 10400 14.so.14.0[.0]
* 1.4.1alpha01-2 14 10401 14.so.14.0[.0]
* 1.4.0beta88-107 14 10400 14.so.14.0[.0]
* 1.4.1alpha01 14 10401 14.so.14.0[.0]
*
* Henceforth the source version will match the shared-library major
* and minor numbers; the shared-library major version number will be
@@ -164,7 +164,7 @@
*
* This code is released under the libpng license.
*
* libpng versions 1.2.6, August 15, 2004, through 1.4.1alpha02, November 27, 2009, are
* libpng versions 1.2.6, August 15, 2004, through 1.4.1alpha01, November 27, 2009, are
* Copyright (c) 2004, 2006-2007 Glenn Randers-Pehrson, and are
* distributed according to the same disclaimer and license as libpng-1.2.5
* with the following individual added to the list of Contributing Authors:
@@ -282,7 +282,7 @@
* an official declaration.
*
* This is your unofficial assurance that libpng from version 0.71 and
* upward through 1.4.1alpha02 are Y2K compliant. It is my belief that earlier
* upward through 1.4.1alpha01 are Y2K compliant. It is my belief that earlier
* versions were also Y2K compliant.
*
* Libpng only has three year fields. One is a 2-byte unsigned integer
@@ -338,9 +338,9 @@
*/
/* Version information for png.h - this should match the version in png.c */
#define PNG_LIBPNG_VER_STRING "1.4.1alpha02"
#define PNG_LIBPNG_VER_STRING "1.4.1alpha01"
#define PNG_HEADER_VERSION_STRING \
" libpng version 1.4.1alpha02 - November 27, 2009\n"
" libpng version 1.4.1alpha01 - November 27, 2009\n"
#define PNG_LIBPNG_VER_SONUM 14
#define PNG_LIBPNG_VER_DLLNUM 14
@@ -353,7 +353,7 @@
* PNG_LIBPNG_VER_STRING, omitting any leading zero:
*/
#define PNG_LIBPNG_VER_BUILD 02
#define PNG_LIBPNG_VER_BUILD 01
/* Release Status */
#define PNG_LIBPNG_BUILD_ALPHA 1
@@ -1342,7 +1342,7 @@ struct png_struct_def
/* This triggers a compiler error in png.c, if png.c and png.h
* do not agree upon the version number.
*/
typedef png_structp version_1_4_1alpha02;
typedef png_structp version_1_4_1alpha01;
typedef png_struct FAR * FAR * png_structpp;

View File

@@ -1,7 +1,7 @@
/* pngconf.h - machine configurable file for libpng
*
* libpng version 1.4.1alpha02 - November 27, 2009
* libpng version 1.4.1alpha01 - November 27, 2009
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)

View File

@@ -1,7 +1,7 @@
/* pngpriv.h - private declarations for use inside libpng
*
* libpng version 1.4.1alpha02 - November 27, 2009
* libpng version 1.4.1alpha01 - November 27, 2009
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)