| OLD | NEW |
| 1 /* png.h - header file for PNG reference library | 1 /* png.h - header file for PNG reference library |
| 2 * | 2 * |
| 3 * libpng version 1.2.45 - July 7, 2011 | 3 * libpng version 1.2.45 - July 7, 2011 |
| 4 * Copyright (c) 1998-2011 Glenn Randers-Pehrson | 4 * Copyright (c) 1998-2011 Glenn Randers-Pehrson |
| 5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) | 5 * (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger) |
| 6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) | 6 * (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.) |
| 7 * | 7 * |
| 8 * This code is released under the libpng license (See LICENSE, below) | 8 * This code is released under the libpng license (See LICENSE, below) |
| 9 * | 9 * |
| 10 * Authors and maintainers: | 10 * Authors and maintainers: |
| (...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 843 * on which the image was created, normally in the range [1.0, 2.5]. | 843 * on which the image was created, normally in the range [1.0, 2.5]. |
| 844 * Data is valid if (valid & PNG_INFO_gAMA) is non-zero. | 844 * Data is valid if (valid & PNG_INFO_gAMA) is non-zero. |
| 845 */ | 845 */ |
| 846 float gamma PNG_DEPSTRUCT; /* gamma value of image, if (valid & PNG_INFO_gAMA
) */ | 846 float gamma PNG_DEPSTRUCT; /* gamma value of image, if (valid & PNG_INFO_gAMA
) */ |
| 847 #endif | 847 #endif |
| 848 | 848 |
| 849 #ifdef PNG_sRGB_SUPPORTED | 849 #ifdef PNG_sRGB_SUPPORTED |
| 850 /* GR-P, 0.96a */ | 850 /* GR-P, 0.96a */ |
| 851 /* Data valid if (valid & PNG_INFO_sRGB) non-zero. */ | 851 /* Data valid if (valid & PNG_INFO_sRGB) non-zero. */ |
| 852 png_byte srgb_intent PNG_DEPSTRUCT; /* sRGB rendering intent [0, 1, 2, or 3]
*/ | 852 png_byte srgb_intent PNG_DEPSTRUCT; /* sRGB rendering intent [0, 1, 2, or 3]
*/ |
| 853 #ifdef CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA |
| 854 /* Set if cHRM or gAMA chunks were also seen in the PNG headers when |
| 855 * sRGB and iCCP read support are both enabled. Values contained are |
| 856 * chunk info->valid flags, viz., PNG_INFO_cHRM | PNG_INFO_gAMA. |
| 857 */ |
| 858 png_uint_32 chroma_or_gamma; |
| 859 #endif |
| 853 #endif | 860 #endif |
| 854 | 861 |
| 855 #ifdef PNG_TEXT_SUPPORTED | 862 #ifdef PNG_TEXT_SUPPORTED |
| 856 /* The tEXt, and zTXt chunks contain human-readable textual data in | 863 /* The tEXt, and zTXt chunks contain human-readable textual data in |
| 857 * uncompressed, compressed, and optionally compressed forms, respectively. | 864 * uncompressed, compressed, and optionally compressed forms, respectively. |
| 858 * The data in "text" is an array of pointers to uncompressed, | 865 * The data in "text" is an array of pointers to uncompressed, |
| 859 * null-terminated C strings. Each chunk has a keyword that describes the | 866 * null-terminated C strings. Each chunk has a keyword that describes the |
| 860 * textual data contained in that chunk. Keywords are not required to be | 867 * textual data contained in that chunk. Keywords are not required to be |
| 861 * unique, and the text string may be empty. Any number of text chunks may | 868 * unique, and the text string may be empty. Any number of text chunks may |
| 862 * be in an image. | 869 * be in an image. |
| (...skipping 2921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3784 | 3791 |
| 3785 #endif /* PNG_INTERNAL */ | 3792 #endif /* PNG_INTERNAL */ |
| 3786 | 3793 |
| 3787 #ifdef __cplusplus | 3794 #ifdef __cplusplus |
| 3788 } | 3795 } |
| 3789 #endif | 3796 #endif |
| 3790 | 3797 |
| 3791 #endif /* PNG_VERSION_INFO_ONLY */ | 3798 #endif /* PNG_VERSION_INFO_ONLY */ |
| 3792 /* Do not put anything past this line */ | 3799 /* Do not put anything past this line */ |
| 3793 #endif /* PNG_H */ | 3800 #endif /* PNG_H */ |
| OLD | NEW |