1
--- a/libpng-1.2.41.txt 2009-12-03 12:46:00.000000000 +1100
2
+++ b/libpng-1.2.41.txt 2009-12-04 11:59:32.000000000 +1100
4
gray = (rw*red + gw*green + bw*blue)/65536;
6
The default values approximate those recommended in the Charles
7
-Poynton's Color FAQ, <http://www.inforamp.net/~poynton/>
8
-Copyright (c) 1998-01-04 Charles Poynton <poynton at inforamp.net>
10
+<http://www.poynton.com/notes/colour_and_gamma/ColorFAQ.html>
11
+Copyright (c) 2006-11-28 Charles Poynton <poynton at poynton.com>
13
Y = 0.212671 * R + 0.715160 * G + 0.072169 * B
15
--- a/png.h 2009-12-03 12:46:00.000000000 +1100
16
+++ b/png.h 2009-12-04 11:56:48.000000000 +1100
17
@@ -1859,15 +1859,17 @@
18
png_ptr_ptr, png_infopp info_ptr_ptr, png_infopp end_info_ptr_ptr));
20
/* Free all memory used by the read (old method - NOT DLL EXPORTED) */
21
-extern void png_read_destroy PNGARG((png_structp png_ptr, png_infop info_ptr,
22
- png_infop end_info_ptr)) PNG_DEPRECATED;
23
+/* Debian note: exporting as it is required by legacy applications */
24
+extern PNG_EXPORT(void,png_read_destroy) PNGARG((png_structp png_ptr, png_infop info_ptr,
25
+ png_infop end_info_ptr));
27
/* Free any memory associated with the png_struct and the png_info_structs */
28
extern PNG_EXPORT(void,png_destroy_write_struct)
29
PNGARG((png_structpp png_ptr_ptr, png_infopp info_ptr_ptr));
31
/* Free any memory used in png_ptr struct (old method - NOT DLL EXPORTED) */
32
-extern void png_write_destroy PNGARG((png_structp png_ptr)) PNG_DEPRECATED;
33
+/* Debian note: exporting as it is required by legacy applications */
34
+extern PNG_EXPORT(void,png_write_destroy) PNGARG((png_structp png_ptr));
36
/* Set the libpng method of handling chunk CRC errors */
37
extern PNG_EXPORT(void,png_set_crc_action) PNGARG((png_structp png_ptr,
38
--- a/png.5 2009-12-03 12:46:00.000000000 +1100
39
+++ b/png.5 2009-12-04 11:59:32.000000000 +1100
44
-.IR libpng(3) ", " zlib(3) ", " deflate(5) ", and " zlib(5)
51
PNG specification (second edition), November 2003: