summaryrefslogtreecommitdiff
path: root/pngwutil.c
Commit message (Collapse)AuthorAgeFilesLines
* [libpng16] Update "last changed" comments.Glenn Randers-Pehrson2013-04-251-1/+1
|
* [libpng16] Bump version to 1.6.3beta01Glenn Randers-Pehrson2013-04-251-1/+1
|
* [libpng16] Imported from libpng-1.6.2.tarv1.6.2libpng-1.6.2-signedGlenn Randers-Pehrson2013-04-251-1/+1
|
* [libpng16] Removed extra recently-inserted line from pngwutil.cGlenn Randers-Pehrson2013-04-131-1/+0
|
* [libpng16] Fixed previous bugfix to work on 64-bit platforms.John Bowler2013-04-131-1/+5
|
* [libpng16] Corrected length written to uncompressed iTXt chunks (Samuli ↵Glenn Randers-Pehrson2013-04-131-3/+3
| | | | Suominen).
* [libpng16] Bump version to 1.6.1beta05Glenn Randers-Pehrson2013-03-021-913/+753
|
* [libpng16] Imported from libpng-1.6.0beta05.tarv1.6.1beta05Glenn Randers-Pehrson2013-03-011-753/+913
|
* [libpng16] Imported from libpng-1.6.0.tarv1.6.0Glenn Randers-Pehrson2013-02-131-1/+1
|
* [libpng16] Updated copyright year to 2013 in newly-changed filesGlenn Randers-Pehrson2013-01-011-1/+1
|
* [libpng16] Made default Zlib compression settings be configurable. This adds ↵John Bowler2012-12-201-2/+2
| | | | | | #defines to pnglibconf.h to control the defaults.
* [libpng16] Bump version to 1.6.0beta33Glenn Randers-Pehrson2012-12-091-4/+5
|
* [libpng16] Changed ICC profile support to allow use of an external colorJohn Bowler2012-10-251-17/+0
| | | | | | | | | | | | 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.
* [libpng16] Bump version to 1.6.0beta28Glenn Randers-Pehrson2012-08-171-4/+4
|
* [libpng16] Folded long lines and fixed some grammar.Glenn Randers-Pehrson2012-08-161-1/+2
|
* [libpng16] Fixed some spelling errors.Glenn Randers-Pehrson2012-08-151-1/+1
|
* [libpng16] Removed trailing blanksGlenn Randers-Pehrson2012-08-101-3/+3
|
* [libpng16] Removed the png_sizeof(), png_strlen(), png_memset(), png_memcpy(),Glenn Randers-Pehrson2012-08-101-9/+9
| | | | and png_memcmp() macros.
* [libpng16] Consistently use memset(), memcpy(), and memcmp() instead of theGlenn Randers-Pehrson2012-08-101-4/+4
| | | | png_memset(), png_memcpy(), and png_memcmp() macros.
* [libpng16] Consistently use png_memset(), png_memcpy(), and png_memcmp(),Glenn Randers-Pehrson2012-08-101-4/+4
| | | | except in pngtest.c and example.c where these macros are not visible.
* [libpng16] Fix new leak when text compression is disabled.John Bowler2012-08-101-23/+24
|
* [libpng16] Restore info_ptr members that were deleted by the previousGlenn Randers-Pehrson2012-08-091-0/+2
| | | | | patch; they are needed by png_set_IHDR() for both read and write. Fix some ifdefs that caused the contrib/pngminim/ applications to not compile.
* [libpng16] Eliminated use of png_sizeof(); use sizeof() instead, and use.Glenn Randers-Pehrson2012-08-091-4/+4
| | | | a consistent style for (sizeof type) and (sizeof (array))
* [libpng16] Imported from libpng-1.6.0beta22.tarv1.6.0beta22Glenn Randers-Pehrson2012-05-231-1/+1
|
* [libpng16] Recognize known sRGB ICC profiles while reading; prefer writing theJohn Bowler2012-03-281-1/+1
| | | | | iCCP profile over writing the sRGB chunk, controlled by the PNG_sRGB_PROFILE_CHECKS option.
* [libpng16] Changed chunk handler warnings into benign errors, incrementallyJohn Bowler2012-03-211-25/+19
| | | | load iCCP
* [libpng16] Deflate/inflate was reworked to move common zlib calls into singleJohn Bowler2012-03-091-740/+611
| | | | | | 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.
* [libpng16] Added code to validate the windowBits value passed to deflateInit2().John Bowler2012-03-051-18/+30
| | | | | If the call to deflateInit2() is wrong a png_warning will be issued (in fact this is harmless, but the PNG data produced may be sub-optimal).
* [libpng16] Made read 'inflate' handling like write 'deflate' handling. TheJohn Bowler2012-03-051-166/+141
| | | | | | | | 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.
* [libpng16] Remove whitespace at end of linesJohn Bowler2012-03-021-1/+1
|
* [libpng16] Fixed some bugs in ICC profile writing. The code should now acceptJohn Bowler2012-03-011-60/+60
| | | | | | all potentially valid ICC profiles and reject obviously invalid ones. It now uses png_error() to do so rather than casually writing a PNG without the necessary color data.
* [libpng16] Updated copyright year to 2012Glenn Randers-Pehrson2012-01-011-1/+1
|
* [libpng16] Implemented 'restrict' for png_info and png_struct.John Bowler2011-12-241-39/+39
| | | | | | | Added new "png_structrp" typedef. Because of the way libpng works both png_info and png_struct are always accessed via a single pointer. This means adding C99 'restrict' to the pointer gives the compiler some opportunity to optimize the code. This change allows that.
* [libpng15] Imported from libpng-1.5.7beta01.tarv1.5.7beta01Glenn Randers-Pehrson2011-11-041-1/+1
|
* [libpng15] Bump version to libpng-1.5.7beta01Glenn Randers-Pehrson2011-11-021-1/+1
|
* [libpng15] Imported from libpng-1.5.6.tarv1.5.6Glenn Randers-Pehrson2011-11-021-1/+1
|
* [libpng15] Fixed a relatively harmless memory overwriteJohn Bowler2011-10-141-1/+4
| | | | in compressed text writing
* [libpng15] Imported from libpng-1.5.6beta05.tarv1.5.6beta05Glenn Randers-Pehrson2011-10-121-1/+1
|
* [libpng15] Use PNG_CSTRING_FROM_CHUNK macro with png_debug2() in pngwutil.cGlenn Randers-Pehrson2011-10-111-2/+4
|
* [libpng15] Fixed bug in png_write_chunk_header() debug print,Glenn Randers-Pehrson2011-10-111-1/+1
| | | | introduced in 1.5.6bet01.
* [libpng15] Bump version to libpng-1.5.6beta02Glenn Randers-Pehrson2011-09-221-106/+104
|
* [libpng15] Imported from libpng-1.5.6beta01.tarv1.5.6beta01Glenn Randers-Pehrson2011-09-221-1/+1
|
* [libpng15] Imported from libpng-1.5.5.tarv1.5.5Glenn Randers-Pehrson2011-09-221-1/+1
|
* [libpng15] Bump version to libpng-1.5.5beta09Glenn Randers-Pehrson2011-09-091-1/+1
|
* [libpng15] Fixed 64-bit compilation errors (gcc). The errors fixed relateJohn Bowler2011-09-091-8/+6
| | | | | | | to conditions where types that are 32 bits in the GCC 32-bit world (uLong and png_size_t) become 64 bits in the 64-bit world. This produces potential truncation errors which the compiler correctly flags.
* [devel] Imported from libpng-1.5.4.tarv1.5.4Glenn Randers-Pehrson2011-07-071-1/+1
|
* [devel] Updated comments that mention 1.5.3; changed them to 1.5.4.Glenn Randers-Pehrson2011-06-151-1/+1
|
* [devel] Removed the ACCURATE and LEGACY options (they are no longer useable)John Bowler2011-06-141-1/+1
| | | | Fixed some compiliation problems with scaling options.
* [devel] Make the 16-to-8 scaling accurate. Dividing by 256 with no rounding isJohn Bowler2011-06-101-2/+2
| | | | | | wrong (high by one) 25% of the time. Dividing by 257 with rounding is wrong in 128 out of 65536 cases. Getting the right answer all the time without division is easy.
* [devel] Fix typo in pngwutil.c comment.Glenn Randers-Pehrson2011-05-231-1/+1
|