[devel] Removed an extra debug statement from pngwutil.c
This commit is contained in:
parent
c81bb8a463
commit
626afd6219
4
ANNOUNCE
4
ANNOUNCE
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.4.0beta75 - August 13, 2009
|
Libpng 1.4.0beta75 - August 21, 2009
|
||||||
|
|
||||||
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.
|
||||||
@ -530,7 +530,7 @@ version 1.4.0beta73 [August 1, 2009]
|
|||||||
version 1.4.0beta74 [August 8, 2009]
|
version 1.4.0beta74 [August 8, 2009]
|
||||||
Changed png_ptr and info_ptr member "trans" to "trans_alpha".
|
Changed png_ptr and info_ptr member "trans" to "trans_alpha".
|
||||||
|
|
||||||
version 1.4.0beta75 [August 13, 2009]
|
version 1.4.0beta75 [August 21, 2009]
|
||||||
Removed an extra png_debug() recently added to png_write_find_filter().
|
Removed an extra png_debug() recently added to png_write_find_filter().
|
||||||
|
|
||||||
version 1.4.0betaN [future]
|
version 1.4.0betaN [future]
|
||||||
|
2
CHANGES
2
CHANGES
@ -2207,7 +2207,7 @@ version 1.4.0beta73 [August 1, 2009]
|
|||||||
version 1.4.0beta74 [August 8, 2009]
|
version 1.4.0beta74 [August 8, 2009]
|
||||||
Changed png_ptr and info_ptr member "trans" to "trans_alpha".
|
Changed png_ptr and info_ptr member "trans" to "trans_alpha".
|
||||||
|
|
||||||
version 1.4.0beta75 [August 13, 2009]
|
version 1.4.0beta75 [August 21, 2009]
|
||||||
Removed an extra png_debug() recently added to png_write_find_filter().
|
Removed an extra png_debug() recently added to png_write_find_filter().
|
||||||
|
|
||||||
version 1.4.0betaN [future]
|
version 1.4.0betaN [future]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
/* pngwutil.c - utilities to write a PNG file
|
/* pngwutil.c - utilities to write a PNG file
|
||||||
*
|
*
|
||||||
* Last changed in libpng 1.4.0 [August 15, 2009]
|
* Last changed in libpng 1.4.0 [August 21, 2009]
|
||||||
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
|
* Copyright (c) 1998-2009 Glenn Randers-Pehrson
|
||||||
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
|
||||||
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)
|
||||||
@ -740,7 +740,7 @@ png_write_gAMA(png_structp png_ptr, double file_gamma)
|
|||||||
|
|
||||||
png_debug(1, "in png_write_gAMA");
|
png_debug(1, "in png_write_gAMA");
|
||||||
|
|
||||||
/* File_gamma is saved in 1/100,000ths */
|
/* file_gamma is saved in 1/100,000ths */
|
||||||
igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5);
|
igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5);
|
||||||
png_save_uint_32(buf, igamma);
|
png_save_uint_32(buf, igamma);
|
||||||
png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4);
|
png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4);
|
||||||
@ -757,7 +757,7 @@ png_write_gAMA_fixed(png_structp png_ptr, png_fixed_point file_gamma)
|
|||||||
|
|
||||||
png_debug(1, "in png_write_gAMA");
|
png_debug(1, "in png_write_gAMA");
|
||||||
|
|
||||||
/* File_gamma is saved in 1/100,000ths */
|
/* file_gamma is saved in 1/100,000ths */
|
||||||
png_save_uint_32(buf, (png_uint_32)file_gamma);
|
png_save_uint_32(buf, (png_uint_32)file_gamma);
|
||||||
png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4);
|
png_write_chunk(png_ptr, (png_bytep)png_gAMA, buf, (png_size_t)4);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user