- 25 10月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
in pngrtran.c (Domani Hannes).
-
- 30 9月, 2012 2 次提交
-
-
由 John Bowler 提交于
Also added pngunkown to the vstudio builds, fixed build errors and corrected a minor exit code error in pngvalid if the 'touch' file name is invalid.
-
由 John Bowler 提交于
-
- 28 9月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
with zlib-1.2.7
-
- 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 3 次提交
-
-
由 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.
-
- 02 9月, 2012 1 次提交
-
-
由 John Bowler 提交于
option to pngtest. The "--relaxed" option turns off the benign errors that are enabled by default in pre-RC builds. makepng can now write ICC profiles where the length has not been extended to a multiple of 4, and pngtest now intercepts all libpng errors, allowing the previously-introduced "--strict test" on no warnings to actually work.
-
- 01 9月, 2012 3 次提交
-
-
由 Glenn Randers-Pehrson 提交于
structure in the manual.
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
message if the version field is not set.
-
- 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.
-
- 18 8月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 John Bowler 提交于
png_handle_unknown() when SAVE support is absent. Moved the shell test scripts for contrib/libtests from the libpng top directory to contrib/libtests. png_handle_unknown() must always read or skip the chunk, if SAVE_UNKNOWN_CHUNKS is turned off *and* the application does not set a user callback an unknown chunk will not be read, leading to a read error, which was revealed by the "tunknown" test.
-
- 17 8月, 2012 2 次提交
-
-
由 John Bowler 提交于
libpng handling of unknown chunks other than vpAg and sTER (including unsafe-to-copy chunks which were dropped before) and eliminates the repositioning of vpAg and sTER in pngtest.png by changing pngtest.png (so the chunks are where libpng would put them).
-
由 John Bowler 提交于
png_set_keep_unknown_chunks() to be turned off if not required and causes both read and write to behave appropriately (on read this is only possible if the user callback is used to handle unknown chunks). The change also removes the support for storing unknown chunks in the info_struct if the only unknown handling enabled is via the callback, allowing libpng to be configured with callback reading and none of the unnecessary code.
-
- 16 8月, 2012 1 次提交
-
-
由 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 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-
- 11 8月, 2012 6 次提交
-
-
由 John Bowler 提交于
Both object to the split initialization of num_chunks.
-
由 Glenn Randers-Pehrson 提交于
and png_memcmp() macros.
-
由 Glenn Randers-Pehrson 提交于
png_memset(), png_memcpy(), and png_memcmp() macros.
-
由 John Bowler 提交于
support. Now "make check" will succeed even if libpng is compiled with -DPNG_NO_READ or -DPNG_NO_WRITE. The tests performed are reduced, but the basic reading and writing of a PNG file is always tested by one or more of the tests.
-
由 Glenn Randers-Pehrson 提交于
except in pngtest.c and example.c where these macros are not visible.
-
由 John Bowler 提交于
errors) and cause it not to fail at the comparison step if libpng lacks support for writing chunks that it reads from the input (currently only implemented for compressed text chunks).
-
- 10 8月, 2012 5 次提交
-
-
由 John Bowler 提交于
-
由 John Bowler 提交于
issues with 1.12 and insisting on anything less would allow 1.12 to be used.
-
由 John Bowler 提交于
on read and write. In libpng 1.6 the two cases can be distinguished and considerable code cleanup, and extra error checking, is possible. This makes calls on the write side that have no effect be ignored with a png_app_error(), which can be disabled in the app using png_set_benign_errors(), and removes the spurious use of usr_channels on the read side.
-
由 Glenn Randers-Pehrson 提交于
a consistent style for (sizeof type) and (sizeof (array))
-
由 John Bowler 提交于
of strcpy() was accidentally re-introduced in libpng16; this change replaces it with strncpy().
-
- 09 8月, 2012 1 次提交
-
-
由 John Bowler 提交于
Because of the changes to support symbol prefixing PNG_INTERNAL_FUNCTION declares floating point APIs during libpng builds even if they are completely disabled. This requires the png floating point types (png_double*) to be declared even though the functions are never actually defined. This change provides a dummy definition so that the declarations work, yet any implementation will fail to compile because of an incomplete type.
-
- 03 8月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
They have not been exported to applications since libpng12.
-
- 22 7月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
由 Glenn Randers-Pehrson 提交于
-