- 01 11月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
code for too little gain; implementing full ICC color correction is maybe desireable but is left up to applications.
-
- 26 10月, 2012 1 次提交
-
-
由 John Bowler 提交于
management system (CMS). In practice it is not possible to obtain cHRM information reliably using just the end-point tags because they do not exist in the vast majority of profiles. Instead it is necessary to run the endpoints through the ICC colorimetric intent transform (as described in the v4 spec). Since this is likely to be too much code inside libpng for too little gain (it implies a fairly complete CMS implementation) the code has been changed to allow an external CMS to be used. This code is temporarily disabled until a suitable set of test cases using one or more external CMS implementations have been implemented.
-
- 25 10月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 27 9月, 2012 1 次提交
-
-
由 John Bowler 提交于
correctly and correct comments.
-
- 07 9月, 2012 2 次提交
-
-
由 John Bowler 提交于
-
由 John Bowler 提交于
type rules. By the ANSI-C standard the new types should be identical to the previous versions, and all known versions of gcc tested with the previous versions except for GCC-4.2.1 work with this version. The change makes the ANSI-C rule that const applied to an array of elements applies instead to the elements in the array moot by explicitly applying const to the base elements of the png_icc_matrix and png_icc_vector types. The accidental (harmless) 'const' previously applied to the parameters of two of the functions have also been removed.
-
- 05 9月, 2012 5 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
Glenn thought the "adopted" were typos and changed them all to "adapted". This reverts the spelling and adds parenthetical comments when each word first appears in png.h.
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
fixed Cygwin+MSVC build errors. The ICC profile handling now includes more checking. Several errors that caused rejection of the profile are now handled with a warning in such a way that the invalid profiles will be read by default in release (but not pre-RC) builds but will not be written by default. The easy part of handling a cHRM chunk is written, where the ICC profile contains the required data. The more difficult part plus guessing a gAMA value requires code to pass selected RGB values through the profile.
-
- 30 8月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 26 8月, 2012 1 次提交
-
-
由 John Bowler 提交于
contrib/libtests/makepng: corrected 'rgb' and 'gray' cases. profile_error messages could be truncated; made a correct buffer size calculation and adjusted pngerror.c appropriately. png_icc_check_* checking improved; changed the functions to receive the correct color type of the PNG on read or write and check that it matches the color space of the profile (despite what the comments said before, there is danger in assuming the app will cope correctly with an RGB profile on a grayscale image and, since it violates the PNG spec, allowing it is certain to produce inconsistent app behavior and might even cause app crashes.) Check that profiles contain the tags needed to process the PNG (tags all required by the ICC spec). Removed unused PNG_STATIC from pngpriv.h.
-
- 23 8月, 2012 1 次提交
-
-
由 John Bowler 提交于
-
- 18 8月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 16 8月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
control of the unknown handling, corrects the pre-existing bug where the per-chunk 'keep' setting is ignored and makes it possible to skip IDAT chunks in the sequential reader (broken in earlier 1.6 versions). There is a new test program, test-unknown.c, which is a work in progress (not currently part of the test suite). Comments in the header files now explain how the unknown handling works.
-
- 12 8月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 11 8月, 2012 3 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
png_memset(), png_memcpy(), and png_memcmp() macros.
-
由 Glenn Randers-Pehrson 提交于
This is a small function, but avoiding compiling it also avoids needing to link with "-lm" unnecessarily.
-
- 10 8月, 2012 2 次提交
-
-
由 John Bowler 提交于
-
由 Glenn Randers-Pehrson 提交于
a consistent style for (sizeof type) and (sizeof (array))
-
- 22 7月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 11 7月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 17 6月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 13 6月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
replacement with png_convert_to_rfc1123_buffer().
-
- 07 6月, 2012 4 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 24 5月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 30 4月, 2012 1 次提交
-
-
由 John Bowler 提交于
on alignment increasing pointer casts when -Wcast-align is passed. This fixes the cases clang warns about either (pngread.c) by eliminating the casts from png_bytep to png_uint_16p or, for pngrutil.c where the cast is previously verified or pngstest.c where it is OK by introducing new png_aligncast macros to do the cast in a way that clang accepts.
-
- 28 4月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-