summaryrefslogtreecommitdiff
path: root/graphics/optipng
AgeCommit message (Collapse)AuthorFilesLines
2014-10-23Fix building on OS X 10.10adam2-5/+12
2014-03-31Changes 0.7.5:adam3-12/+11
* Upgraded libpng to version 1.6.10-optipng. * Upgraded zlib to version 1.2.8-optipng. ! Fixed various build issues with libpng-1.5 and libpng-1.6. * Allowed the handling of huge image files (> millions of pixels per row or column) to be independent of the libpng version. + Allowed the option -preserve to save the file ownership (UID/GID) on Unix. ! Fixed a build issue with Clang. + Added various enhancements to the configure script.
2013-02-16Recursive bump for png-1.6.wiz1-1/+2
2013-01-11Fix build on NetBSD when using *at.joerg2-1/+20
2012-11-18Changes 0.7.4:adam2-6/+6
* Fixed the previous fix, which failed to fix the option -fix.
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-09-21Update optipng to 0.7.3, security fix for SA50654 (CVE-2012-4432).taca2-6/+6
Version 0.7.3 16-sep-2012 ------------- !! Fixed a use-after-free vulnerability in the palette reduction code. This vulnerability was accidentally introduced in version 0.7.
2012-09-01Changes 0.7.2:adam2-6/+6
* Upgraded libpng to version 1.4.12. * Upgraded zlib to version 1.2.7-optipng. ! Fixed the display of huge (4GB+) file/IDAT sizes on 32-bit platforms. ! Issued a proper error message if the output IDAT can't fit in 2GB. Acknowledged this limitation in the user manual. (Thanks to John Sauter for the report.) ! Fixed the output file cleanup that should occur after a write error. * Added the option -debug and various undocumented debug features. * Moved the PNG reduction module (opngreduc) to a separate sub-project.
2012-03-20Changes 0.7.1:adam3-24/+6
* Fixed a regression in the reduction of palette-encoded grayscale images. This regression was introduced in version 0.7.
2012-03-19Added patch: fix colour reduction bug.adam2-1/+19
2012-03-07Changes 0.7:adam2-9/+9
* Upgraded libpng to version 1.4.9. * Upgraded zlib to version 1.2.6-optipng. * Resolved a rarely-occurring out-of-bounds memory access error in Z_RLE, by upgrading zlib. * Added the popularly-requested option -strip. The only suboption currently supported is "-strip all". * Added the option -clobber. * Added the option -backup, as an alias of -keep. * Added the option -silent, as an alias of -quiet. * Deprecated the option -log. * Changed the activity display output from STDOUT to STDERR. * Allowed the option -preserve to save high-resolution timestamps on Unix, if the POSIX-1.2008 API is available. This feature was previously available on Windows only. * Fixed a minor precision error in the display of file size percents. * Fixed a memory leak that occurred when reading broken GIF images. * Fixed various build issues. * Resolved all remaining compatibility issues with libpng-1.5. * Added build support for clang. * Reorganized the source directory structure.
2011-01-28Changes 0.6.5:adam4-70/+13
* Upgraded libpng to version 1.4.5-optipng [private] * Upgraded zlib to version 1.2.5-optipng [private] * Fixed the I/O states (in libpng 1.4.5); they caused incorrect file reads in some rare cases. * Fixed processing of PNG files with chunks of size 0. * Fixed a display error in the TIFF import. * Improved checking of the arguments of -f, -zc, -zm and -zs. * Removed quirks from the rangeset option argument syntax. * Fixed a build issue under the system-supplied libpng-1.4. * Resolved forward-compatibility issues regarding libpng-1.5; however, the system-supplied libpng-1.5 is not yet supported. * Added various enhancements to the configure+make build system.
2011-01-13png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.wiz1-2/+2
2010-06-13Bump PKGREVISION for libpng shlib name change.wiz3-2/+21
Also add some patches to remove use of deprecated symbols and fix other problems when looking for or compiling against libpng-1.4.x.
2010-04-11Changes 0.6.4:adam2-7/+6
* Added the option -nx. * Clarified the behavior of -nz and the relation between -nz and -o0. * Added a filesystem check (resolving normalized paths, symlinks, etc.) to better detect when the output overwrites the input. * Enabled automatic wildcard expansion (i.e. globbing) on Win64. * Fixed a Unicode build issue on Windows.
2009-12-21patch-ac is no longer needed; fixes linking problemadam4-72/+6
2009-05-28Changes 0.6.3:adam5-70/+6
* Fixed a use-after-free error in the GIF reader. * Flushed the output log to display the current trial in real time. * Fixed an error in reporting unrecognized file formats. * Removed the requirement to "fix" TIFF files that contain unrecognized metadata. * Simplified the option abbreviation rules. Option names can now be abbreviated to their shortest unique prefix, as in X11 applications.
2009-03-02Add patches from upstream in order to update to 0.6.2.1kefren5-2/+66
Changes: * Fix SA34035: Use after free error that can be used to execute arbitrary code via a specially crafted GIF image
2008-11-12Changes 0.6.2:adam3-35/+36
* Upgraded libpng to version 1.2.33-optipng [private] * Put back a speed optimization, accidentally removed in version 0.6, allowing singleton trials (-o1) to be bypassed in certain conditions. * Fixed an array overflow in the BMP reader. * Fixed the loss of private chunks under the -snip option. * Produced a more concise on-screen output in the non-verbose mode. * Added a programming interface to the optimization engine, in order to facilitate the development of PNG-optimizing GUI apps and plugins.
2008-07-28Changes 0.6.1:adam3-20/+23
* Upgraded cexcept to version 2.0.1. * Added a configure script, to be used instead of unix-secure.mak. * Fixed a build issue that occured when using libpng from the system. * Fixed processing when image reduction yields an output larger than the original. * Fixed behavior of -preserve. * Removed displaying of partial progress when abandoning IDATs under the -v option. The percentages displayed were not very accurate. Changes 0.6: * Upgraded libpng to version 1.2.29-optipng [private] * Implemented grayscale(alpha)-to-palette reductions. * Improved conversion of bKGD info during RGB-to-palette reductions. * Fixed conversion of bKGD and tRNS during 16-to-8-bit reductions. * Added support for compressed BMP (incl. PNG-compressed BMP, you bet!) * Improved the speed of reading raw PNM files. * Recognized PNG digital signatures (dSIG) and disabled optimization in their presence, to preserve their integrity. * Allowed the user to enforce the optimization of dSIG'ed files. * Recognized APNG animation files and disabled reductions to preserve their integrity. * Added the -snip option, to allow the user to "snip" one image out of a multi-image file, such as animated GIF, multi-page TIFF, or APNG. * Improved recovery of PNG files with incomplete IDAT. * Fixed a crash triggered by the use of -log on some platforms. * Fixed behavior of -out and -dir when the input is already optimized. * Provided more detailed image information at the start of processing. * Provided a more detailed summary at the end of processing, under the presence of the -v option and/or the occurence of exceptional events.
2007-11-10Added support for installation to DESTDIR.heinz3-7/+11
2007-01-29Changes 0.5.5:adam2-6/+6
* Upgraded libpng to version 1.2.15-optipng [private] * Used a previously-missed RGB-to-palette reduction opportunity for images containing 256 distinct colors. * Fixed conversion of bKGD info during rgb-to-palette reductions. * Fixed pre-computation of iterations. * Eliminated a false alarm when processing RGB images with tRNS in Unix-secure mode. * Fixed behavior of -out and -dir when changing interlacing. * Fixed behavior of "-dir [DRIVE]:" on Windows.
2006-08-23Changes 0.5.4:adam3-21/+6
* Added user options -out and -dir, to specify the name of the output file or directory. * Added support for builds based on the system-supplied libpng.
2006-08-05Changes 0.5.3:adam4-12/+17
* Upgraded libpng to version 1.2.12-optipng [private] * Implemented basic support for TIFF (grayscale, RGB and RGBA, uncompressed). * Avoided the redundant trial when the search space is singular (e.g. when running "optipng -o1 example.tif"). * Prevented accidental file corruption when using option "-log". * Fixed (again) a small typo in the online help.
2006-05-08Changes 0.5.2:adam4-41/+20
* Improved handling of inexact PNM-to-PNG conversions. * Fixed a typo that was breaking the build on some Unix platforms.
2006-05-06-lz is mendatory on some platorms (like Darwin)adam2-4/+4
2006-05-06Changes 0.5.1:adam5-19/+42
* Implemented bit depth reduction for palette images. * Upgraded libpng to version 1.2.10-optipng [private] * Improved the BMP support. * Added a Unix man page. * Allowed abbreviation of command-line options. * Changed user option -log to accept a file name as an argument. * Changed user option -no to -simulate. * Fixed an error in handling .bak files on Unix. * Fixed a small typo in the help screen. * Added the GUIDE and THANKS documents. * Converted some text document files to HTML.
2006-04-19Fix build with png-1.2.9nb2. Bump PKGREVISION.wiz4-10/+79
2006-04-17Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update.wiz1-1/+2
2006-04-06Over 1200 files touched but no revisions bumped :)reed1-2/+2
RECOMMENDED is removed. It becomes ABI_DEPENDS. BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo. BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo. BUILDLINK_DEPENDS does not change. IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS which defaults to "yes". Added to obsolete.mk checking for IGNORE_RECOMMENDED. I did not manually go through and fix any aesthetic tab/spacing issues. I have tested the above patch on DragonFly building and packaging subversion and pkglint and their many dependencies. I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I have used IGNORE_RECOMMENDED for a long time). I have been an active user of IGNORE_RECOMMENDED since it was available. As suggested, I removed the documentation sentences suggesting bumping for "security" issues. As discussed on tech-pkg. I will commit to revbump, pkglint, pkg_install, createbuildlink separately. Note that if you use wip, it will fail! I will commit to pkgsrc-wip later (within day).
2006-01-19Changes 0.5:adam4-28/+36
++ Added pngxtern, a libpng add-on for external image format support: BMP (uncompressed), GIF, PNM. (This was incorporated from OptiPNG-Plus.) ++ Implemented RGB(A)-to-palette reductions. + If trials are ended prematurely, detailed progression is only reported under the user option -v. - Removed reporting of some IDAT sizes that exceeded the optimum. (This was NOT a bug, but a "feature" that confused some users.) ! Fixed an RGB-to-gray reduction problem that occured under some specific background colors. + Added support for builds based on the system-supplied zlib. * Modified LICENSE. It is now a verbatim spell of the zlib license.
2005-07-14|fmt 70 75grant1-6/+7
2005-07-14s/Advances/Advanced/ in COMMENT.grant1-2/+2
2005-07-14include zlib/buildlink3.mk for zlib dependency (hi adam!), bumpgrant1-1/+3
PKGREVISION for dependency change.
2005-07-14Needs zlib>=1.2.2adam1-1/+2
2005-07-13OptiPNG is a PNG optimizer that recompresses the image files to a smaller size,adam6-0/+64
without losing any information. The idea has been inspired from pngcrush, and is explained in detail in the PNG-Tech article: "A Guide to PNG optimization" <http://www.cs.toronto.edu/~cosmin/pngtech/optipng.html>. The implementation is carried forward in OptiPNG, which offers a faster execution per trial, and a wider search space.