- 07 2月, 2014 1 次提交
-
-
由 John Bowler 提交于
-
- 06 2月, 2014 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 31 1月, 2014 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 01 1月, 2014 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 23 12月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 20 12月, 2013 1 次提交
-
-
由 John Bowler 提交于
function definitions before the place where they are called so that they can be masde static. Move the intrapixel functions and the grayscale palette builder out of the png?tran.c files. The latter isn't a transform function and is no longer used internally, and the former MNG specific functions are better placed in pngread/pngwrite.c
-
- 19 12月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 26 11月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
reported by clang scan-build.
-
- 23 11月, 2013 2 次提交
-
-
由 John Bowler 提交于
-
由 Glenn Randers-Pehrson 提交于
configurations don't build because of missing contrib/libtests test programs and overly complex dependencies in scripts/pnglibconf.dfa. This change adds contrib/conftest/*.dfa files that can be used in automatic build scripts to ensure that these configurations continue to build.
-
- 22 8月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 28 3月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 07 3月, 2013 1 次提交
-
-
由 John Bowler 提交于
a flag to change default. In 1.6.0 when the simplified API was used to produce color-mapped output from an input image with no gamma information the gamma assumed for the input could be different from that assumed for non-color-mapped output. In particular 16-bit depth input files were assumed to be sRGB encoded, whereas in the 'direct' case they were assumed to have linear data. This was an error. The fix makes the simplified API treat all input files the same way and adds a new flag to the png_image::flags member to allow the application/user to specify that 16-bit files contain sRGB data rather than the default linear. Fixed bugs in the pngpixel and makepng test programs.
-
- 03 3月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 02 3月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 19 2月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 18 2月, 2013 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
Folded some long lines.
-
由 Glenn Randers-Pehrson 提交于
-
- 14 2月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 01 1月, 2013 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
-
- 05 9月, 2012 1 次提交
-
-
由 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.
-
- 01 9月, 2012 1 次提交
-
-
由 John Bowler 提交于
message if the version field is not set.
-
- 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.
-
- 11 8月, 2012 2 次提交
-
-
由 Glenn Randers-Pehrson 提交于
png_memset(), png_memcpy(), and png_memcmp() macros.
-
由 Glenn Randers-Pehrson 提交于
except in pngtest.c and example.c where these macros are not visible.
-
- 10 8月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
a consistent style for (sizeof type) and (sizeof (array))
-
- 17 6月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
ignore all unknown chunks and all known chunks except for IHDR, PLTE, tRNS, IDAT, and IEND. Previously it only meant ignore all unknown chunks, the same as num_chunks == 0. Revised png_image_skip_unused_chunks() to provide a list of chunks to be processed instead of a list of chunks to ignore. Revised contrib/gregbook/readpng2.c accordingly.
-
- 09 6月, 2012 1 次提交
-
-
由 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.
-
- 29 3月, 2012 1 次提交
-
-
由 John Bowler 提交于
iCCP profile over writing the sRGB chunk, controlled by the PNG_sRGB_PROFILE_CHECKS option.
-
- 21 3月, 2012 1 次提交
-
-
由 John Bowler 提交于
load iCCP
-
- 19 3月, 2012 4 次提交
-
-
由 John Bowler 提交于
This allows the --strict option to pass in the pngstest checks
-
由 John Bowler 提交于
benign errors; also added --strict to pngstest - not enabled yet because a warning is produced.
-
由 John Bowler 提交于
checks. The code now does a png_error if an attempt is made to do the row initialization twice; this is an application error and it has serious consequences because the transform data in png_struct is changed by each call.
-
由 John Bowler 提交于
This turns on PNG_FLAG_DETECT_UNINITIALIZED to detect app code that fails to call one of the 'start' routines (not enabled in libpng-1.5 because it is technically an API change, since it did normally work before.) It also makes duplicate calls to png_read_start_row (an internal function called at the start of the image read) benign, as they were before changes to use png_inflate_claim. Somehow webkit is causing this to happen; this is probably a mis-feature in the zlib changes so this commit is only a work-round.
-
- 16 3月, 2012 1 次提交
-
-
由 John Bowler 提交于
default. Also changed some warnings in the iCCP and sRGB handling from to benign errors. Configuration now makes read benign errors warnings and write benign errors to errors by default (thus changing the behavior on read). The simplified API always forces read benign errors to errors (regardless of the system default, unless this is disabled in which case the simplified API can't be built.)
-
- 10 3月, 2012 1 次提交
-
-
由 Glenn Randers-Pehrson 提交于
palette index.
-
- 09 3月, 2012 1 次提交
-
-
由 John Bowler 提交于
functions [rw]util.c. A new shared keyword check routine was also added and the 'zbuf' is no longer allocated on progressive read. It is now possible to call png_inflate() incrementally.
-
- 06 3月, 2012 1 次提交
-
-
由 John Bowler 提交于
read code now claims and releases png_ptr->zstream, like the write code. The bug whereby the progressive reader failed to release the zstream is now fixed, all initialization is delayed, and the code checks for changed parameters on deflate rather than always calling deflatedEnd/deflateInit.
-