Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Libpng
提交
5b40b013
T
Third Party Libpng
项目概览
OpenHarmony
/
Third Party Libpng
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
5b40b013
编写于
11月 25, 2010
作者:
G
Glenn Randers-Pehrson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[devel] Added a remark about png_get_uint_16 in the libpng-manual.txt
and libpng.3
上级
b93e0326
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
40 addition
and
18 deletion
+40
-18
libpng-manual.txt
libpng-manual.txt
+18
-7
libpng.3
libpng.3
+22
-11
未找到文件。
libpng-manual.txt
浏览文件 @
5b40b013
libpng-manual.txt - A description on how to use and modify libpng
libpng version 1.5.0beta56 - November 2
1
, 2010
libpng version 1.5.0beta56 - November 2
5
, 2010
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2010 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.5.0beta56 - November 2
1
, 2010
libpng versions 0.97, January 1998, through 1.5.0beta56 - November 2
5
, 2010
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2010 Glenn Randers-Pehrson
...
...
@@ -3191,6 +3191,12 @@ deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with
png_set_expand_gray_1_2_4_to_8() because the former function also
expanded palette images.
Macros for png_get_uint_16, png_get_uint_32, and png_get_int_32
were added and are used by default instead of the corresponding
functions. Unfortunately,
from libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the
function) incorrectly returned a value of type png_uint_32.
We changed the prototype for png_malloc() from
png_malloc(png_structp png_ptr, png_uint_32 size)
to
...
...
@@ -3228,7 +3234,12 @@ PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS.
We removed the trailing '.' from the warning and error messages.
X. Detecting libpng
X. Changes to Libpng from version 1.4.x to 1.5.x
From libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the
function) incorrectly returned a value of type png_uint_32.
XI. Detecting libpng
The png_get_io_ptr() function has been present since libpng-0.88, has never
changed, and is unaffected by conditional compilation macros. It is the
...
...
@@ -3237,7 +3248,7 @@ libpng version since 0.88. In an autoconf "configure.in" you could use
AC_CHECK_LIB(png, png_get_io_ptr, ...
XI. Source code repository
XI
I
. Source code repository
Since about February 2009, version 1.2.34, libpng has been under "git" source
control. The git repository was built from old libpng-x.y.z.tar.gz files
...
...
@@ -3256,7 +3267,7 @@ the libpng bug tracker at
http://libpng.sourceforge.net
XII. Coding style
XII
I
. Coding style
Our coding style is similar to the "Allman" style, with curly
braces on separate lines:
...
...
@@ -3364,9 +3375,9 @@ Lines do not exceed 80 characters.
Other rules can be inferred by inspecting the libpng source.
XI
II
. Y2K Compliance in libpng
XI
V
. Y2K Compliance in libpng
November 2
1
, 2010
November 2
5
, 2010
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
...
...
libpng.3
浏览文件 @
5b40b013
.TH LIBPNG 3 "November 2
1
, 2010"
.TH LIBPNG 3 "November 2
5
, 2010"
.SH NAME
libpng \- Portable Network Graphics (PNG) Reference Library 1.5.0beta56
.SH SYNOPSIS
...
...
@@ -851,7 +851,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.5.0beta56 - November 2
1
, 2010
libpng version 1.5.0beta56 - November 2
5
, 2010
Updated and distributed by Glenn Randers-Pehrson
<glennrp at users.sourceforge.net>
Copyright (c) 1998-2010 Glenn Randers-Pehrson
...
...
@@ -862,7 +862,7 @@ libpng-manual.txt - A description on how to use and modify libpng
Based on:
libpng versions 0.97, January 1998, through 1.5.0beta56 - November 2
1
, 2010
libpng versions 0.97, January 1998, through 1.5.0beta56 - November 2
5
, 2010
Updated and distributed by Glenn Randers-Pehrson
Copyright (c) 1998-2010 Glenn Randers-Pehrson
...
...
@@ -4042,6 +4042,12 @@ deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with
png_set_expand_gray_1_2_4_to_8() because the former function also
expanded palette images.
Macros for png_get_uint_16, png_get_uint_32, and png_get_int_32
were added and are used by default instead of the corresponding
functions. Unfortunately,
from libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the
function) incorrectly returned a value of type png_uint_32.
We changed the prototype for png_malloc() from
png_malloc(png_structp png_ptr, png_uint_32 size)
to
...
...
@@ -4079,7 +4085,12 @@ PNG_QUANTIZE_[RED,GREEN,BLUE]_BITS.
We removed the trailing '.' from the warning and error messages.
.SH X. Detecting libpng
.SH X. Changes to Libpng from version 1.4.x to 1.5.x
From libpng-1.4.0 until 1.4.4, the png_get_uint_16 macro (but not the
function) incorrectly returned a value of type png_uint_32.
.SH XI. Detecting libpng
The png_get_io_ptr() function has been present since libpng-0.88, has never
changed, and is unaffected by conditional compilation macros. It is the
...
...
@@ -4088,7 +4099,7 @@ libpng version since 0.88. In an autoconf "configure.in" you could use
AC_CHECK_LIB(png, png_get_io_ptr, ...
.SH XI. Source code repository
.SH XI
I
. Source code repository
Since about February 2009, version 1.2.34, libpng has been under "git" source
control. The git repository was built from old libpng-x.y.z.tar.gz files
...
...
@@ -4107,7 +4118,7 @@ the libpng bug tracker at
http://libpng.sourceforge.net
.SH XII. Coding style
.SH XII
I
. Coding style
Our coding style is similar to the "Allman" style, with curly
braces on separate lines:
...
...
@@ -4215,9 +4226,9 @@ Lines do not exceed 80 characters.
Other rules can be inferred by inspecting the libpng source.
.SH XI
II
. Y2K Compliance in libpng
.SH XI
V
. Y2K Compliance in libpng
November 2
1
, 2010
November 2
5
, 2010
Since the PNG Development group is an ad-hoc body, we can't make
an official declaration.
...
...
@@ -4460,7 +4471,7 @@ possible without all of you.
Thanks to Frank J. T. Wojcik for helping with the documentation.
Libpng version 1.5.0beta56 - November 2
1
, 2010:
Libpng version 1.5.0beta56 - November 2
5
, 2010:
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
...
...
@@ -4483,7 +4494,7 @@ this sentence.
This code is released under the libpng license.
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta56, November 2
1
, 2010, are
libpng versions 1.2.6, August 15, 2004, through 1.5.0beta56, November 2
5
, 2010, 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
...
...
@@ -4582,7 +4593,7 @@ certification mark of the Open Source Initiative.
Glenn Randers-Pehrson
glennrp at users.sourceforge.net
November 2
1
, 2010
November 2
5
, 2010
.\" end of man page
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录