Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
2bad851a
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,发现更多精彩内容 >>
提交
2bad851a
编写于
2月 18, 2013
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[libpng16] Updated "png_sizeof" to "sizeof" in the manual.
上级
f2350f39
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
17 addition
and
17 deletion
+17
-17
libpng-manual.txt
libpng-manual.txt
+6
-6
libpng.3
libpng.3
+10
-10
libpngpf.3
libpngpf.3
+1
-1
未找到文件。
libpng-manual.txt
浏览文件 @
2bad851a
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.6.1beta02 - February 1
7
, 2013
libpng version 1.6.1beta02 - February 1
8
, 2013
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2013 Glenn Randers-Pehrson
...
...
@@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.6.1beta02 - February 1
7
, 2013
libpng versions 0.97, January 1998, through 1.6.1beta02 - February 1
8
, 2013
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2013 Glenn Randers-Pehrson
...
...
@@ -636,7 +636,7 @@ callback function:
/* also ignore unused known chunks: */
png_set_keep_unknown_chunks(read_ptr, 1, unused_chunks,
(int)
sizeof(
unused_chunks)/5);
(int)
(sizeof
unused_chunks)/5);
#endif
User limits
...
...
@@ -988,7 +988,7 @@ where row_pointers is an array of pointers to the pixel data for each row:
If you know your image size and pixel size ahead of time, you can allocate
row_pointers prior to calling png_read_png() with
if (height > PNG_UINT_32_MAX/
png_sizeof(png_byte
))
if (height > PNG_UINT_32_MAX/
(sizeof (png_byte)
))
png_error (png_ptr,
"Image is too tall to process in memory");
...
...
@@ -997,7 +997,7 @@ row_pointers prior to calling png_read_png() with
"Image is too wide to process in memory");
row_pointers = png_malloc(png_ptr,
height*
png_sizeof(png_bytep
));
height*
(sizeof (png_bytep)
));
for (int i=0; i<height, i++)
row_pointers[i]=NULL; /* security precaution */
...
...
@@ -5151,7 +5151,7 @@ Other rules can be inferred by inspecting the libpng source.
XVI. Y2K Compliance in libpng
February 1
7
, 2013
February 1
8
, 2013
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
...
...
libpng.3
浏览文件 @
2bad851a
.TH LIBPNG 3 "February 1
7
, 2013"
.TH LIBPNG 3 "February 1
8
, 2013"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.1beta02
.SH SYNOPSIS
...
...
@@ -504,7 +504,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng.
.SH LIBPNG.TXT
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.6.1beta02 - February 1
7
, 2013
libpng version 1.6.1beta02 - February 1
8
, 2013
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2013 Glenn Randers-Pehrson
...
...
@@ -515,7 +515,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.6.1beta02 - February 1
7
, 2013
libpng versions 0.97, January 1998, through 1.6.1beta02 - February 1
8
, 2013
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2013 Glenn Randers-Pehrson
...
...
@@ -1140,7 +1140,7 @@ callback function:
/* also ignore unused known chunks: */
png_set_keep_unknown_chunks(read_ptr, 1, unused_chunks,
(int)
sizeof(
unused_chunks)/5);
(int)
(sizeof
unused_chunks)/5);
#endif
.SS User limits
...
...
@@ -1492,7 +1492,7 @@ where row_pointers is an array of pointers to the pixel data for each row:
If you know your image size and pixel size ahead of time, you can allocate
row_pointers prior to calling png_read_png() with
if (height > PNG_UINT_32_MAX/
png_sizeof(png_byte
))
if (height > PNG_UINT_32_MAX/
(sizeof (png_byte)
))
png_error (png_ptr,
"Image is too tall to process in memory");
...
...
@@ -1501,7 +1501,7 @@ row_pointers prior to calling png_read_png() with
"Image is too wide to process in memory");
row_pointers = png_malloc(png_ptr,
height*
png_sizeof(png_bytep
));
height*
(sizeof (png_bytep)
));
for (int i=0; i<height, i++)
row_pointers[i]=NULL; /* security precaution */
...
...
@@ -5656,7 +5656,7 @@ Other rules can be inferred by inspecting the libpng source.
.SH XVI. Y2K Compliance in libpng
February 1
7
, 2013
February 1
8
, 2013
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
...
...
@@ -5927,7 +5927,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.6.1beta02 - February 1
7
, 2013:
Libpng version 1.6.1beta02 - February 1
8
, 2013:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
...
...
@@ -5950,7 +5950,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.6.1beta02, February 1
7
, 2013, are
libpng versions 1.2.6, August 15, 2004, through 1.6.1beta02, February 1
8
, 2013, 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
...
...
@@ -6049,7 +6049,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
February 1
7
, 2013
February 1
8
, 2013
.\" end of man page
libpngpf.3
浏览文件 @
2bad851a
.TH LIBPNGPF 3 "February 1
6
, 2013"
.TH LIBPNGPF 3 "February 1
8
, 2013"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.6.1beta02
(private functions)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录