Commit graph

12 commits

Author SHA1 Message Date
adam
ee567a4bd7 Changes 1.7.29:
* Set "things_have_changed" flag when adding text chunks, so the "-force"
  option is no longer necessary when adding text to an already-compressed
  file.
* Direct usage message and error messages to stderr instead of stdout. If
  anyone is still using DOS they may have to change the "if 0" at line
  990 to "if 1".
* Added "pngcrush -n -v files.png" to the usage message.
2012-06-11 07:06:21 +00:00
adam
465948b074 Changes 1.7.20:
* Removed the call to png_read_transform_info() when the system libpng
  is being used, so it can be built with a system libpng.

Changes 1.7.19:
* pngcrush-1.7.18 failed to read interlaced PNGs.  Reverted the change
  from calling png_read_transform_info() to png_read_update_info().
  Since png_read_transform_info() is not exported we again cannot build
  with the system libpng15.

Changes 1.7.18:
* This version will work with either a "system" libpng14 or libpng15, or with
  the embedded libpng15.  The deprecated usage of libpng png_struct members
  and unexported functions has been removed.
* Revised the format of the time report (all on one line so you can get
  a nice compact report by piping the output to "grep coding").
2011-10-14 17:56:24 +00:00
adam
c0ee3b1330 Changes 1.7.14:
* Built with libpng-1.5.1beta06 and zlib-1.2.5
* Removed WIN32_WCE support (libpng has dropped it already)
* Include zlib.h and define png_memcpy, etc., and revise the
  png_get_iCCP() and png_set_iCCP() calls to be able to build
  with bundled libpng-1.5.x.  Pngcrush cannot be built yet with
  a system libpng-1.5.x.
2011-01-28 20:46:11 +00:00
adam
0dbb1a7f3a Changes 1.6.12:
* Eliminated a memory leak in libpng with writing bad tEXt chunks.
2009-01-03 19:36:43 +00:00
adam
ded3573f8c Changes 1.6.10:
* Add sTER chunk support.

Changes 1.6.9:
* Updated cexcept.h to version 2.0.1
* Add missing curly brackets.

Changes 1.6.8:
* Fixed bug with handling of -z and -zi options.
2008-10-26 09:19:16 +00:00
adam
889df4cae7 Changes 1.6.7:
Moved PNG_UINT_CHNK and some other defines from pngcrush.h to pngcrush.c
  Reject invalid color_type or bit_depth.

Changes 1.6.6:
  Added dSIG support.  Pngcrush will not rewrite an image containing
  a dSIG chunk immediately following the IHDR chunk, unless the
  dSIG is explicitly removed with "-rem dSIG" or explicitly kept
  with "-keep dSIG".  In the latter case the saved dSIG chunks will
  become invalid if any changes are made to the datastream.
  Fixed bug in writing unknown chunks from the end_info_ptr.

Changes 1.6.5:
  Discontinued adding a new gAMA chunk when writing sRGB chunk.
2008-07-18 08:41:19 +00:00
adam
1d98a76ebb Fix building on Darwin 2006-07-06 20:51:25 +00:00
adam
55f0d027a4 Changes 1.6.4:
* Fixed bug in handling of undocumented -trns_a option.
* Fixed bug with "nosave" handling of unknown chunks.
2006-06-10 07:43:11 +00:00
wiz
62ee7f884a Update to 1.6.3, and fix build after png-1.2.9nb2 update:
Version 1.6.3 (built with libpng-1.2.9beta11 and zlib-1.2.3)

  Fixed documentation of iTXt input (Shlomi Tal).
  Removed #define PNG_INTERNAL and provided prototypes for some
  internal libpng functions that are duplicated in pngcrush.c
2006-04-19 17:00:12 +00:00
adam
bb9c269507 Changes 1.6.2:
* Fixed bug with "PNG_ROWBYTES" usage, introduced in version 1.6.1.
  The bug could cause a crash and only affects the "nolib" builds.
* Converted C++ style (// ...) comments to C style (/* ... */).
* Defined TOO_FAR == 32767 in deflate.c (again). The definition was omitted
  from version 1.6.0 when zlib was upgraded to version 1.2.3.

Changes 1.6.1:
* Copied non-exported libpng functions from libpng into pngcrush, to make
  pngcrush play more nicely with shared libpng. These are ifdef'ed out when
  a static library is being built with the bundled libpng and pngcrush.h is
  included.

Changes 1.6.0:
* Moved ChangeLog out of pngcrush.c comments and into a separate file.
* Filtered pngcrush.c through "indent -kr" and "expand" for readability.
* Moved 550 lines of usage/help/copyright/license/version info to separate
  function(s) and cleaned up significantly.
* Added some comments for ease of navigation and readability.
* Stripped out a bunch of ancient-libpng compatibility stuff.
* Defined PNG_UINT_* macros (pngcrush.h for now).
* Fixed unknown-chunk handling ("-rem alla" and "-rem gifx" now work).
* Created modified version of makefile that supports external zlib.
* Added support for methods using Z_RLE zlib strategy (zlib 1.2.x only).
* Documented -huffman option in usage screen.
* Added IDAT statistics to final per-file summary.
* Added utime() support to give output files same timestamps as input files.
2006-02-18 11:07:10 +00:00
kim
a5fa3f0182 Make this compile with png-1.2.6 2004-08-29 16:44:48 +00:00
adam
00fd4981cf Now links dynamically with zlib and libpng 2004-01-12 21:23:05 +00:00