summaryrefslogtreecommitdiff
path: root/graphics/pngcrush
AgeCommit message (Collapse)AuthorFilesLines
2002-08-31Update to 1.5.10:wiz2-5/+5
* Fixed bug, introduced in 1.5.9, that caused defaults for method 0 to be used instead of copying the original image, when the original was already smallest. * Work around CPU timer wraparound at 2G microseconds. * Upgraded zlib from 1.1.3 to 1.1.4. Pngcrush is believed not to be vulnerable to the zlib-1.1.3 buffer-overflow bug. * Choose the first instance of smallest IDAT instead of the last, for faster final recompression, suggested by TSamuel. * Added -trns_a option for entering a tRNS array.
2001-10-31Move pkg/ files into package's toplevel directoryzuntum3-4/+4
2001-10-12Update pngcrush to 1.5.7. Changes include:rh2-5/+5
* Version 1.5.7 (built with libpng-1.2.0) * Added setargv.obj to Makefile.msc to expand wildcards, e.g., *.png * Use constant string "pngcrush" instead of argv[0] when appropriate. * Only check stats for infile==outfile once per input file, or not at all if "-nofilecheck" option is present or if a directory was created. * Fixed bugs with changing bit_depth of grayscale images. * Version 1.5.6 (built with libpng-1.0.12) * Eliminated extra "Removed the cHNK chunk" messages generated by version 1.5.5 when "-rem alla" or "-rem allb" is used. * All unknown chunks including safe-to-copy chunks are now removed in response to the "-rem alla" or "-rem allb" options. * Issue a warning if the user tries "-cc" option when it is not supported.
2001-06-10Update to 1.5.5mjl2-5/+5
Reset reduce_to_gray and it_is_opaque flags prior to processing each image. Enable removal of safe-to-copy chunks that are being handled as unknown Added 262 to the length of uncompressed data when calculating required_window_size, to account for zlib/deflate implementation. Added "-bit_depth n" to the help screen. Call png_set_packing() when increasing bit_depth to 2 or 4. Added warning about not overwriting an existing tRNS chunk. Reduced the memory usage Write 500K IDAT chunks even when system libpng is being used. Ignore all-zero gAMA and cHRM chunks, with a warning. Added "-loco" option (writes MNG files with filter_method 64) "-dir" and "-ext" options are no longer mutually exclusive, e.g.: pngcrush -loco -dir Crushed -ext .mng *.png Added "-iccp" option Increased the zlib memory level to 9, which improves compression Enabled the "-max max_idat_size" option, even when max_idat_size exceeds the default 1/2 megabyte size. Added missing "png_ptr" argument to png_error() call Revised the "-help" output slightly and improved the "-version" output. The "-already[_crushed]" option is now ignored if the "-force" option is present or if chunks are being added, deleted, or modified. Improved "things_have_changed" behavior (now, when set in a particular file, it is not set for all remaining files)
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc1-1/+1
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-11-11Use "${MASTER_SITE_SOURCEFORGE}".tron1-2/+2
2000-08-10reformat paragraphswiz1-7/+8
2000-07-30Update pngcrush to 1.5.1. Changes are: disabled color counting by defaultrh2-4/+4
(instead it is controlled by commandline arguments "-cc" and "-no_cc"), and addition of the word "irrevocably" to the license.
2000-07-28Update pngcrush to 1.5.0. Changes are bugfixes only.rh2-4/+4
2000-07-23Update pngcrush to 1.4.8.rh2-4/+4
Changes include: Version 1.4.8 * Detect and remove all-opaque alpha channel. * Detect and reduce all-gray truecolor images to grayscale. Version 1.4.7 * Restored the "-ext" option that was inadvertently overridden with a new "-exit" option in version 1.4.6 ("-exit" is used to force an "exit" instead of a "return" from the main program). Version 1.4.6 * Fixed bug in color-counting of noninterlaced images. * Added capability of processing multiple rows at a time (disabled by default because it turns out to be no faster). * Replaced "return" statements in main() with "exit" statements. User can force exit instead of return with "-exit" argument. * Added the UCITA disclaimers to the help output.
2000-07-05Update pngcrush to 1.4.5rh2-6/+6
Changes are: * Added color-counting and palette-building capability * Added "-fix" option, for fixing bad CRC's and other correctable conditions. * Write sBIT.alpha=1 when adding an opaque alpha channel and sBIT is present. * Identify the erroneous 2615-byte sRGB monitor profile being written by Photoshop 5.5, which causes many apps to crash, and replace it with an sRGB chunk. * Added a check for input and output on different devices before rejecting the output file as being the same as the input file based on inode. * Added some UCITA language to the disclaimer. * Reduced scope of Try/Catch blocks to avoid nesting them, and removed returns from within the Try blocks, where they are not allowed. * Removed direct access to the png structure when possible * Removes extra IDAT chunks (such as found in some POV-ray PNGs) with a warning instead of bailing out. * Removed the old setjmp interface entirely. * RGB to Grayscale conversion is more accurate (15-bit instead of 8-bit) and now uses only integer arithmetic. * Changed "Compressed" to "Uncompressed" in help for -itxt. * Stifled some compiler warnings * Add test on stat_buf.st_size to verify fpin==fpout, because stat in MSVC++6.0 standard version returns stat_buf.st_ino=0 for all files * Revised pngcrush.h to make it easier to control PNG_ZBUF_SIZE and PNG_NO_FLOATING_POINT_SUPPORTED from a makefile. * Restored ability to enter "replace_gamma" value as a float even when floating point arithmetic is not enabled. * Enabled removing tEXt, zTXt, or iTXt chunks by chunk type * Removed definition of TOO_FAR from pngcrush.h * Uses new libpng error handler; if a file has errors, pngcrush now will continue on and compress the remaining files instead of bailing out.
2000-02-09updated pngcrush to 1.3.4. ChangeLog says:wiz3-5/+9
* Version 1.3.4 (built with libpng-1.0.5m) * Do not allow pngcrush to overwrite the input file.
2000-01-13Update pngcrush to 1.3.3. Changes are:rh2-4/+4
Version 1.3.3: - Restored ability to enter gamma as a float even when floating point arithmetic is not enabled. Version 1.3.2: - Fixed "PNG_NO_FLOAING_POINT" typo in pngcrush.h - Renamed "dirname" to "directory_name" to avoid conflict with "dirname" that appears in string.h on some platforms. - #ifdef'ed out parts of the help screen for options that are unsupported.
2000-01-05Strip trailing '.', and/or leading '(a|an) 'abs1-1/+1
1999-12-28Update png-crush to 1.3.1. Changes include more use ofrh2-4/+4
'unknown-chunk-processor' for generic chunks, a smaller executable, and more info about text chunks on the help screen.
1999-12-07Initial import of pngcrush-1.2.1, an optimizer for PNG (Portable Networkrh5-0/+34
Graphics) files.