提交 948c6ee8 编写于 作者: G Glenn Randers-Pehrson

[master] Removed a harmless extra png_set_invert_alpha()

from pngwrite.c
上级 b7a9d80f
Libpng 1.2.41beta09 - October 30, 2009
Libpng 1.2.41beta09 - October 31, 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.
......@@ -84,7 +84,8 @@ version 1.2.41beta08 [October 30, 2009]
Relocated png_do_chop() ahead of building gamma tables in pngrtran.c
This avoids building 16-bit gamma tables unnecessarily.
version 1.2.41beta09 [October 30, 2009]
version 1.2.41beta09 [October 31, 2009]
Removed a harmless extra png_set_invert_alpha() from pngwrite.c
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
......
......@@ -2466,7 +2466,7 @@ version 1.2.40beta01 [August 20, 2009]
version 1.2.40rc01 [September 2, 2009]
Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
version 1.2.40 and 1.0.49 [October 30, 2009]
version 1.2.40 and 1.0.49 [October 31, 2009]
No changes.
version 1.0.50 [September 10, 2009]
......@@ -2514,7 +2514,8 @@ version 1.2.41beta08 [October 30, 2009]
Relocated png_do_chop() ahead of building gamma tables in pngrtran.c
This avoids building 16-bit gamma tables unnecessarily.
version 1.2.41beta09 [October 30, 2009]
version 1.2.41beta09 [October 31, 2009]
Removed a harmless extra png_set_invert_alpha() from pngwrite.c
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit
......
/* pngwrite.c - general routines to write a PNG file
*
* Last changed in libpng 1.2.41 [October 30, 2009]
* Last changed in libpng 1.2.41 [October 31, 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.)
......@@ -1565,12 +1565,6 @@ png_write_png(png_structp png_ptr, png_infop info_ptr,
png_set_packswap(png_ptr);
#endif
#ifdef PNG_WRITE_INVERT_ALPHA_SUPPORTED
/* Invert the alpha channel from opacity to transparency */
if (transforms & PNG_TRANSFORM_INVERT_ALPHA)
png_set_invert_alpha(png_ptr);
#endif
#ifdef PNG_WRITE_INVERT_ALPHA_SUPPORTED
/* Invert the alpha channel from opacity to transparency */
if (transforms & PNG_TRANSFORM_INVERT_ALPHA)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册