Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
5aabf5b8
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
大约 1 年 前同步成功
通知
4
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Libpng
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5aabf5b8
编写于
11月 08, 2009
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[master] Imported from libpng-1.2.41beta15.tar
上级
20e82ae2
变更
23
隐藏空白更改
内联
并排
Showing
23 changed file
with
47 addition
and
98 deletion
+47
-98
ANNOUNCE
ANNOUNCE
+13
-0
CHANGES
CHANGES
+2
-2
INSTALL
INSTALL
+1
-1
LICENSE
LICENSE
+2
-2
README
README
+1
-1
Y2KINFO
Y2KINFO
+1
-1
libpng-1.2.41beta15.txt
libpng-1.2.41beta15.txt
+3
-35
libpng.3
libpng.3
+7
-39
libpngpf.3
libpngpf.3
+1
-1
png.5
png.5
+1
-1
png.c
png.c
+3
-3
pngget.c
pngget.c
+1
-1
pngread.c
pngread.c
+1
-1
pngrio.c
pngrio.c
+1
-1
pngrtran.c
pngrtran.c
+1
-1
pngrutil.c
pngrutil.c
+1
-1
pngset.c
pngset.c
+1
-1
pngtest.c
pngtest.c
+1
-1
pngtrans.c
pngtrans.c
+1
-1
pngwio.c
pngwio.c
+1
-1
pngwrite.c
pngwrite.c
+1
-1
pngwtran.c
pngwtran.c
+1
-1
pngwutil.c
pngwutil.c
+1
-1
未找到文件。
ANNOUNCE
浏览文件 @
5aabf5b8
...
...
@@ -117,6 +117,7 @@ version 1.2.41beta13 [November 3, 2009]
Added PNG_CONVERT_tIME_SUPPORTED macro.
version 1.2.41beta14 [November 8, 2009]
versions 1.2.41beta05 through 1.2.41beta13 were abandoned.
Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED
Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
Reverted iTXt compatibility stuff from 1.2.41beta05, 1.2.41beta11, and
...
...
@@ -127,6 +128,18 @@ version 1.2.41beta14 [November 8, 2009]
and removed reference to png_calloc from scripts/*.def
version 1.2.41beta15 [November 9, 2009]
Added PNG_DEPSTRUCT, PNG_DEPRECATED, PNG_USE_RESULT, PNG_NORETURN, and
PNG_ALLOCATED macros to detect deprecated direct access to the
png_struct or info_struct members and other deprecated usage in
applications (John Bowler).
Updated scripts/makefile* to add "-DPNG_CONFIGURE_LIBPNG" to CFLAGS,
to prevent warnings about direct access to png structs by libpng
functions while building libpng. They need to be tested, especially
those using compilers other than gcc.
Updated projects/visualc6 and visualc71 with "/d PNG_CONFIGURE_LIBPNG".
Removed three direct references to read_info_ptr members in pngtest.c
that were detected by the new PNG_DEPSTRUCT macro.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
...
...
CHANGES
浏览文件 @
5aabf5b8
...
...
@@ -2547,6 +2547,8 @@ version 1.2.41beta13 [November 3, 2009]
Added PNG_CONVERT_tIME_SUPPORTED macro.
version 1.2.41beta14 [November 8, 2009]
versions 1.2.41beta05 through 1.2.41beta13 were abandoned.
The 1.0.x/1.2.x series will only receive security updates from now on.
Make inclusion of time.h in pngconf.h depend on PNG_CONVERT_tIME_SUPPORTED
Make #define PNG_CONVERT_tIME_SUPPORTED depend on PNG_WRITE_tIME_SUPPORTED
Reverted iTXt compatibility stuff from 1.2.41beta05, 1.2.41beta11, and
...
...
@@ -2577,8 +2579,6 @@ or to glennrp at users.sourceforge.net
Glenn R-P
*/
versions 1.2.41beta01 through 1.2.41beta13 were abandoned [November 5, 2009].
The 1.0.x/1.2.x series will only receive security updates from now on.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
...
...
INSTALL
浏览文件 @
5aabf5b8
Installing libpng version 1.2.41beta15 - November
8
, 2009
Installing libpng version 1.2.41beta15 - November
9
, 2009
On Unix/Linux and similar systems, you can simply type
...
...
LICENSE
浏览文件 @
5aabf5b8
...
...
@@ -10,7 +10,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November
8
, 2009, are
libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November
9
, 2009, are
Copyright (c) 2004, 2006-2009 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
...
...
@@ -108,4 +108,4 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
November
8
, 2009
November
9
, 2009
README
浏览文件 @
5aabf5b8
README for libpng version 1.2.41beta15 - November
8
, 2009 (shared library 12.0)
README for libpng version 1.2.41beta15 - November
9
, 2009 (shared library 12.0)
See the note about version numbers near the top of png.h
See INSTALL for instructions on how to install libpng.
...
...
Y2KINFO
浏览文件 @
5aabf5b8
Y2K compliance in libpng:
=========================
November
8
, 2009
November
9
, 2009
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
...
...
libpng-1.2.41beta15.txt
浏览文件 @
5aabf5b8
libpng.txt - A description on how to use and modify libpng
libpng version 1.2.41beta15 - November
8
, 2009
libpng version 1.2.41beta15 - November
9
, 2009
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -11,7 +11,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.2.41beta15 - November
8
, 2009
libpng versions 0.97, January 1998, through 1.2.41beta15 - November
9
, 2009
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -3039,38 +3039,6 @@ The deprecated function
which also expands tRNS to alpha was replaced with
png_set_expand_gray_1_2_4_to_8()
which does not. It has been deprecated since libpng-1.0.18 and 1.2.9.
Functions png_set_benign_errors(), png_benign_error(), and
png_chunk_benign_error() were added.
Support for setting the maximum amount of memory that the application
will allocate for reading chunks was added, as a security measure.
The functions png_set_chunk_cache_max() and png_get_chunk_cache_max()
were added to the library.
We implemented support for I/O states. Added png_ptr member io_state, and
functions png_get_io_chunk_name() and png_get_io_state() in pngget.c
The png_calloc() function was added and is used in place of
of "png_malloc(); png_memset();" except in the case in png_read_png()
where the array consists of pointers; in this case a "for" loop is used
after the png_malloc() to set the pointers to NULL.
We added PNG_TRANSFORM_GRAY_TO_RGB to the available high-level
input transforms.
We added the png_set_premultiply_alpha and
png_do_read_premultiply_alpha() functions.
The call to png_do_chop() in pngrtran.c, which reduces 16-bit input
files to 8-bit bit depth, was relocated ahead of the building
of gamma tables. This allows us to build 8-bit tables instead
of 16-bit tables, when only 8-bit tables are needed. This avoids
wasting some computing resources when the application has called
the png_set_strip_16() function and encounters a 16-bit PNG file.
Checking for and reporting of errors in the IHDR chunk is more thorough.
IX. (Omitted)
X. Detecting libpng
...
...
@@ -3209,7 +3177,7 @@ source.
XIII. Y2K Compliance in libpng
November
8
, 2009
November
9
, 2009
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
...
...
libpng.3
浏览文件 @
5aabf5b8
.TH LIBPNG 3 "November
8
, 2009"
.TH LIBPNG 3 "November
9
, 2009"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.2.41beta15
.SH SYNOPSIS
...
...
@@ -821,7 +821,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.2.41beta15 - November
8
, 2009
libpng version 1.2.41beta15 - November
9
, 2009
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -832,7 +832,7 @@ libpng.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.2.41beta15 - November
8
, 2009
libpng versions 0.97, January 1998, through 1.2.41beta15 - November
9
, 2009
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2009 Glenn Randers-Pehrson
...
...
@@ -3860,38 +3860,6 @@ The deprecated function
which also expands tRNS to alpha was replaced with
png_set_expand_gray_1_2_4_to_8()
which does not. It has been deprecated since libpng-1.0.18 and 1.2.9.
Functions png_set_benign_errors(), png_benign_error(), and
png_chunk_benign_error() were added.
Support for setting the maximum amount of memory that the application
will allocate for reading chunks was added, as a security measure.
The functions png_set_chunk_cache_max() and png_get_chunk_cache_max()
were added to the library.
We implemented support for I/O states. Added png_ptr member io_state, and
functions png_get_io_chunk_name() and png_get_io_state() in pngget.c
The png_calloc() function was added and is used in place of
of "png_malloc(); png_memset();" except in the case in png_read_png()
where the array consists of pointers; in this case a "for" loop is used
after the png_malloc() to set the pointers to NULL.
We added PNG_TRANSFORM_GRAY_TO_RGB to the available high-level
input transforms.
We added the png_set_premultiply_alpha and
png_do_read_premultiply_alpha() functions.
The call to png_do_chop() in pngrtran.c, which reduces 16-bit input
files to 8-bit bit depth, was relocated ahead of the building
of gamma tables. This allows us to build 8-bit tables instead
of 16-bit tables, when only 8-bit tables are needed. This avoids
wasting some computing resources when the application has called
the png_set_strip_16() function and encounters a 16-bit PNG file.
Checking for and reporting of errors in the IHDR chunk is more thorough.
.SH IX. (Omitted)
.SH X. Detecting libpng
...
...
@@ -4030,7 +3998,7 @@ source.
.SH XIII. Y2K Compliance in libpng
November
8
, 2009
November
9
, 2009
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
...
...
@@ -4376,7 +4344,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.2.41beta15 - November
8
, 2009:
Libpng version 1.2.41beta15 - November
9
, 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).
...
...
@@ -4399,7 +4367,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November
8
, 2009, are
libpng versions 1.2.6, August 15, 2004, through 1.2.41beta15, November
9
, 2009, are
Copyright (c) 2004,2006-2008 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
...
...
@@ -4498,7 +4466,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
November
8
, 2009
November
9
, 2009
.\" end of man page
libpngpf.3
浏览文件 @
5aabf5b8
.TH LIBPNGPF 3 "November
8
, 2009"
.TH LIBPNGPF 3 "November
9
, 2009"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.2.41beta15
(private functions)
...
...
png.5
浏览文件 @
5aabf5b8
.TH PNG 5 "November
8
, 2009"
.TH PNG 5 "November
9
, 2009"
.SH NAME
png \- Portable Network Graphics (PNG) format
.SH DESCRIPTION
...
...
png.c
浏览文件 @
5aabf5b8
/* png.c - location for general purpose libpng functions
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
@@ -722,13 +722,13 @@ png_get_copyright(png_structp png_ptr)
#else
#ifdef __STDC__
return
((
png_charp
)
PNG_STRING_NEWLINE
\
"libpng version 1.2.41beta15 - November
8
, 2009"
PNG_STRING_NEWLINE
\
"libpng version 1.2.41beta15 - November
9
, 2009"
PNG_STRING_NEWLINE
\
"Copyright (c) 1998-2009 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
((
png_charp
)
"libpng version 1.2.41beta15 - November
8
, 2009\
return
((
png_charp
)
"libpng version 1.2.41beta15 - November
9
, 2009\
Copyright (c) 1998-2009 Glenn Randers-Pehrson\
Copyright (c) 1996-1997 Andreas Dilger\
Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc."
);
...
...
pngget.c
浏览文件 @
5aabf5b8
/* pngget.c - retrieval of values from info struct
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngread.c
浏览文件 @
5aabf5b8
/* pngread.c - read a PNG file
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngrio.c
浏览文件 @
5aabf5b8
/* pngrio.c - functions for data input
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngrtran.c
浏览文件 @
5aabf5b8
/* pngrtran.c - transforms the data in a row for PNG readers
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngrutil.c
浏览文件 @
5aabf5b8
/* pngrutil.c - utilities to read a PNG file
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngset.c
浏览文件 @
5aabf5b8
/* pngset.c - storage of image information into info struct
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngtest.c
浏览文件 @
5aabf5b8
/* pngtest.c - a simple test program to test libpng
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngtrans.c
浏览文件 @
5aabf5b8
/* pngtrans.c - transforms the data in a row (used by both readers and writers)
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngwio.c
浏览文件 @
5aabf5b8
/* pngwio.c - functions for data output
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngwrite.c
浏览文件 @
5aabf5b8
/* pngwrite.c - general routines to write a PNG file
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngwtran.c
浏览文件 @
5aabf5b8
/* pngwtran.c - transforms the data in a row for PNG writers
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
pngwutil.c
浏览文件 @
5aabf5b8
/* pngwutil.c - utilities to write a PNG file
*
* Last changed in libpng 1.2.41 [November
8
, 2009]
* Last changed in libpng 1.2.41 [November
9
, 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.)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录