Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
d1c5f48c
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
12 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
d1c5f48c
编写于
5月 09, 2014
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Minor update to documentation and CHANGES/ANNOUNCE files.
上级
e95ce2c5
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
34 addition
and
21 deletion
+34
-21
ANNOUNCE
ANNOUNCE
+7
-6
CHANGES
CHANGES
+6
-5
libpng-manual.txt
libpng-manual.txt
+7
-3
libpng.3
libpng.3
+11
-7
pngtrans.c
pngtrans.c
+3
-0
未找到文件。
ANNOUNCE
浏览文件 @
d1c5f48c
Libpng 1.6.11beta06 - May
7
, 2014
Libpng 1.6.11beta06 - May
10
, 2014
This is not intended to be a public release. It will be replaced
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.
within a few weeks by a public version or by another test version.
...
@@ -49,10 +49,11 @@ Version 1.6.11beta03 [April 6, 2014]
...
@@ -49,10 +49,11 @@ Version 1.6.11beta03 [April 6, 2014]
Version 1.6.11beta04 [April 19, 2014]
Version 1.6.11beta04 [April 19, 2014]
Made progressive reading of interlaced images consistent with the
Made progressive reading of interlaced images consistent with the
behavior of the sequential reader and consistent with the manual,
behavior of the sequential reader and consistent with the manual, by
by moving some code out of the PNG_READ_INTERLACING_SUPPORTED blocks.
moving some code out of the PNG_READ_INTERLACING_SUPPORTED blocks. The
The row_callback now receives the proper pass number and unexpanded rows,
row_callback now receives the proper pass number and unexpanded rows, when
when png_combine_row is not used or not built,
png_combine_row() isn't built or used, and png_set_interlace_handling()
is not called.
Allow PNG_sRGB_PROFILE_CHECKING = (-1) to mean no sRGB profile checking.
Allow PNG_sRGB_PROFILE_CHECKING = (-1) to mean no sRGB profile checking.
Version 1.6.11beta05 [April 26, 2014]
Version 1.6.11beta05 [April 26, 2014]
...
@@ -61,7 +62,7 @@ Version 1.6.11beta05 [April 26, 2014]
...
@@ -61,7 +62,7 @@ Version 1.6.11beta05 [April 26, 2014]
"Not recognizing known sRGB profile that has been edited" warning for
"Not recognizing known sRGB profile that has been edited" warning for
ICC V2 profiles that lack the MD5 signature in the profile header.
ICC V2 profiles that lack the MD5 signature in the profile header.
Version 1.6.11beta06 [May
7
, 2014]
Version 1.6.11beta06 [May
10
, 2014]
Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
...
...
CHANGES
浏览文件 @
d1c5f48c
...
@@ -4900,10 +4900,11 @@ Version 1.6.11beta03 [April 6, 2014]
...
@@ -4900,10 +4900,11 @@ Version 1.6.11beta03 [April 6, 2014]
Version 1.6.11beta04 [April 19, 2014]
Version 1.6.11beta04 [April 19, 2014]
Made progressive reading of interlaced images consistent with the
Made progressive reading of interlaced images consistent with the
behavior of the sequential reader and consistent with the manual,
behavior of the sequential reader and consistent with the manual, by
by moving some code out of the PNG_READ_INTERLACING_SUPPORTED blocks.
moving some code out of the PNG_READ_INTERLACING_SUPPORTED blocks. The
The row_callback now receives the proper pass number and unexpanded rows,
row_callback now receives the proper pass number and unexpanded rows, when
when png_combine_row is not used or not built,
png_combine_row() isn't built or used, and png_set_interlace_handling()
is not called.
Allow PNG_sRGB_PROFILE_CHECKING = (-1) to mean no sRGB profile checking.
Allow PNG_sRGB_PROFILE_CHECKING = (-1) to mean no sRGB profile checking.
Version 1.6.11beta05 [April 26, 2014]
Version 1.6.11beta05 [April 26, 2014]
...
@@ -4912,7 +4913,7 @@ Version 1.6.11beta05 [April 26, 2014]
...
@@ -4912,7 +4913,7 @@ Version 1.6.11beta05 [April 26, 2014]
"Not recognizing known sRGB profile that has been edited" warning for
"Not recognizing known sRGB profile that has been edited" warning for
ICC V2 profiles that lack the MD5 signature in the profile header.
ICC V2 profiles that lack the MD5 signature in the profile header.
Version 1.6.11beta06 [May
7
, 2014]
Version 1.6.11beta06 [May
10
, 2014]
Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
Added PNG_SKIP_sRGB_CHECK_PROFILE choice for png_set_option().
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
...
...
libpng-manual.txt
浏览文件 @
d1c5f48c
libpng-manual.txt - A description on how to use and modify libpng
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.6.11beta06 - May
7
, 2014
libpng version 1.6.11beta06 - May
10
, 2014
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2014 Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson
...
@@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
...
@@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
Based on:
libpng versions 0.97, January 1998, through 1.6.11beta06 - May
7
, 2014
libpng versions 0.97, January 1998, through 1.6.11beta06 - May
10
, 2014
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson
...
@@ -5045,6 +5045,10 @@ means of
...
@@ -5045,6 +5045,10 @@ means of
png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE,
png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE,
PNG_OPTION_ON);
PNG_OPTION_ON);
It's not a good idea to do this if you are using the "simplified API",
which needs to be able to recognize an sRGB profile conveyed via the iCCP
chunk.
The PNG spec requirement that only grayscale profiles may appear in images
The PNG spec requirement that only grayscale profiles may appear in images
with color type 0 or 4 and that even if the image only contains gray pixels,
with color type 0 or 4 and that even if the image only contains gray pixels,
only RGB profiles may appear in images with color type 2, 3, or 6, is now
only RGB profiles may appear in images with color type 2, 3, or 6, is now
...
@@ -5269,7 +5273,7 @@ Other rules can be inferred by inspecting the libpng source.
...
@@ -5269,7 +5273,7 @@ Other rules can be inferred by inspecting the libpng source.
XVI. Y2K Compliance in libpng
XVI. Y2K Compliance in libpng
May
7
, 2014
May
10
, 2014
Since the PNG Development group is an ad-hoc body, we can't make
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
an official declaration.
...
...
libpng.3
浏览文件 @
d1c5f48c
.TH LIBPNG 3 "May
7
, 2014"
.TH LIBPNG 3 "May
10
, 2014"
.SH NAME
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.11beta06
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.11beta06
.SH SYNOPSIS
.SH SYNOPSIS
...
@@ -504,7 +504,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng.
...
@@ -504,7 +504,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng.
.SH LIBPNG.TXT
.SH LIBPNG.TXT
libpng-manual.txt - A description on how to use and modify libpng
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.6.11beta06 - May
7
, 2014
libpng version 1.6.11beta06 - May
10
, 2014
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2014 Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson
...
@@ -515,7 +515,7 @@ libpng-manual.txt - A description on how to use and modify libpng
...
@@ -515,7 +515,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
Based on:
libpng versions 0.97, January 1998, through 1.6.11beta06 - May
7
, 2014
libpng versions 0.97, January 1998, through 1.6.11beta06 - May
10
, 2014
Updated and distributed by Glenn Randers-Pehrson
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson
Copyright (c) 1998-2014 Glenn Randers-Pehrson
...
@@ -5549,6 +5549,10 @@ means of
...
@@ -5549,6 +5549,10 @@ means of
png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE,
png_set_option(ping, PNG_SKIP_sRGB_CHECK_PROFILE,
PNG_OPTION_ON);
PNG_OPTION_ON);
It's not a good idea to do this if you are using the "simplified API",
which needs to be able to recognize an sRGB profile conveyed via the iCCP
chunk.
The PNG spec requirement that only grayscale profiles may appear in images
The PNG spec requirement that only grayscale profiles may appear in images
with color type 0 or 4 and that even if the image only contains gray pixels,
with color type 0 or 4 and that even if the image only contains gray pixels,
only RGB profiles may appear in images with color type 2, 3, or 6, is now
only RGB profiles may appear in images with color type 2, 3, or 6, is now
...
@@ -5773,7 +5777,7 @@ Other rules can be inferred by inspecting the libpng source.
...
@@ -5773,7 +5777,7 @@ Other rules can be inferred by inspecting the libpng source.
.SH XVI. Y2K Compliance in libpng
.SH XVI. Y2K Compliance in libpng
May
7
, 2014
May
10
, 2014
Since the PNG Development group is an ad-hoc body, we can't make
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
an official declaration.
...
@@ -6070,7 +6074,7 @@ possible without all of you.
...
@@ -6070,7 +6074,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.6.11beta06 - May
7
, 2014:
Libpng version 1.6.11beta06 - May
10
, 2014:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
...
@@ -6093,7 +6097,7 @@ this sentence.
...
@@ -6093,7 +6097,7 @@ this sentence.
This code is released under the libpng license.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, May
7
, 2014, are
libpng versions 1.2.6, August 15, 2004, through 1.6.11beta06, May
10
, 2014, are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
Copyright (c) 2004,2006-2007 Glenn Randers-Pehrson, and are
distributed according to the same disclaimer and license as libpng-1.2.5
distributed according to the same disclaimer and license as libpng-1.2.5
with the following individual added to the list of Contributing Authors
with the following individual added to the list of Contributing Authors
...
@@ -6192,7 +6196,7 @@ certification mark of the Open Source Initiative.
...
@@ -6192,7 +6196,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
glennrp at users.sourceforge.net
May
7
, 2014
May
10
, 2014
.\" end of man page
.\" end of man page
pngtrans.c
浏览文件 @
d1c5f48c
...
@@ -328,6 +328,9 @@ png_do_swap(png_row_infop row_info, png_bytep row)
...
@@ -328,6 +328,9 @@ png_do_swap(png_row_infop row_info, png_bytep row)
for
(
i
=
0
;
i
<
istop
;
i
++
,
rp
+=
2
)
for
(
i
=
0
;
i
<
istop
;
i
++
,
rp
+=
2
)
{
{
#ifdef PNG_BUILTIN_BSWAP16_SUPPORTED
#ifdef PNG_BUILTIN_BSWAP16_SUPPORTED
/* Feature added to libpng-1.6.11 for testing purposes, not
* enabled by default.
*/
*
(
png_uint_16
*
)
rp
=
__builtin_bswap16
(
*
(
png_uint_16
*
)
rp
);
*
(
png_uint_16
*
)
rp
=
__builtin_bswap16
(
*
(
png_uint_16
*
)
rp
);
#else
#else
png_byte
t
=
*
rp
;
png_byte
t
=
*
rp
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录