Commit 3a8373b6 authored by Emmanuel Bouthenot's avatar Emmanuel Bouthenot

Imported Upstream version 0.7.5

parent 4baac632
# OptiPNG version 0.7.5
# Copyright (C) 2001-2014 Cosmin Truta and the Contributing Authors.
# See the accompanying LICENSE file for details.
#
# A Contributing Author is a person or company who contributed code that
# is now part of OptiPNG.
#
# For the purpose of copyright and licensing, this is the official list
# of Contributing Authors, in alphabetic order.
Adam Ciarcinski
Brian McQuade
Elias Pipping
Fabien Barbier
Maciej Pilichowski
Matthew Fearnley
Nelson A. de Oliveira
Niels de Koning
Oliver Schneider
Petr Gajdos
Piotr Bandurski
Ramona C. Truta
Sebastian Pipping
Stefan Brüns
Till Maas
Ville Skyttä
Copyright (C) 2001-2010 Cosmin Truta.
Copyright (C) 2001-2014 Cosmin Truta and the Contributing Authors.
For the purpose of copyright and licensing, the list of Contributing
Authors is available in the accompanying AUTHORS file.
This software is provided 'as-is', without any express or implied
warranty. In no event will the author(s) be held liable for any damages
......@@ -18,4 +19,3 @@ freely, subject to the following restrictions:
be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
CC = @CC@
all:
cd src; \
${MAKE} -f @MAKEFILE@ CC="${CC}"; \
cd ..
cd src/optipng && \
$(MAKE) && \
cd ../..
test:
cd src/optipng && \
$(MAKE) test && \
cd ../..
check: test
install:
cd src; \
${MAKE} -f @MAKEFILE@ install CC="${CC}"; \
cd ..
cd src/optipng && \
$(MAKE) install && \
cd ../..
uninstall:
cd src; \
${MAKE} -f @MAKEFILE@ uninstall CC="${CC}"; \
cd ..
cd src/optipng && \
$(MAKE) uninstall && \
cd ../..
clean:
cd src; \
${MAKE} -f @MAKEFILE@ clean CC="${CC}"; \
cd ..
cd src/optipng && \
$(MAKE) clean && \
cd ../..
distclean:
cd src/optipng && \
$(MAKE) distclean && \
cd ../..
-rm -f src/Makefile Makefile
OptiPNG 0.7.5: Advanced PNG optimizer
=====================================
OptiPNG 0.6.4: Advanced PNG optimizer.
Copyright (C) 2001-2010 Cosmin Truta.
======================================
Copyright and licensing
-----------------------
Copyright (C) 2001-2014 Cosmin Truta and the Contributing Authors.
See the accompanying AUTHORS file.
Goals
-----
Provide a powerful PNG converter/optimizer.
Demonstrate how to implement an efficient PNG encoder.
This program is distributed under the zlib license.
See the accompanying LICENSE file.
License
-------
Open-Source (zlib/libpng license).
Please see the attached LICENSE.
This program uses third-party software released under various
open-source licenses.
URI
---
Resources
---------
Home page:
http://optipng.sourceforge.net/
http://optipng.sourceforge.net/
Download:
http://sourceforge.net/project/showfiles.php?group_id=151404
http://sourceforge.net/project/showfiles.php?group_id=151404
Announcements:
https://sourceforge.net/news/?group_id=151404
Support:
http://sourceforge.net/tracker/?group_id=151404
http://sourceforge.net/tracker/?group_id=151404
ctruta (at) gmail (dot) com
Build instructions
------------------
Extract the source archive:
e.g. "tar -xzf optipng-0.6.4.tar.gz" or "unzip optipng-0.6.4.zip"
Go to the source directory:
"cd optipng-0.6.4/src/"
Run the appropriate makefile from the scripts directory:
e.g. "make -f scripts/gcc.mak" or "nmake -f scripts/visualc.mak"
OR
If you are using Microsoft Visual C++ 6.0 or later,
load and build the project "prj/visualc6/optipng.dsw"
On Unix, or under a Bourne-compatible shell, run ./configure and make:
cd optipng-0.7.5/
./configure
make
make test
Alternatively, use a pre-configured makefile that matches your compiler;
e.g.:
cd optipng-0.7.5/
nmake -f build/visualc.mk
nmake -f build/visualc.mk test
Installation instructions
-------------------------
Follow the build instructions above.
Build the program according to the instructions above.
On Unix:
Make the "install" target, using the same makefile
that was used for building the program:
e.g. "make -f scripts/gcc.mak install"
To uninstall, make the "uninstall" target:
e.g. "make -f scripts/gcc.mak uninstall"
- Make the "install" target:
sudo make install
- To uninstall, make the "uninstall" target:
sudo make uninstall
On Windows:
Copy "optipng.exe" to a directory found in PATH.
Support
-------
Visit the SourceForge.net tracker:
http://sourceforge.net/tracker/?group_id=151404
OR
Send email to ctruta (at) gmail (dot) com
- Copy optipng.exe to a directory found in PATH.
# Makefile for Borland C++
# Usage: make -f build\bcc32.mk
all:
cd src\optipng
$(MAKE) -f build\bcc32.mk
cd ..\..
test:
cd src\optipng
$(MAKE) -f build\bcc32.mk test
cd ..\..
check: test
clean:
cd src\optipng
$(MAKE) -f build\bcc32.mk clean
cd ..\..
distclean:
cd src\optipng
$(MAKE) -f build\bcc32.mk distclean
cd ..\..
# Makefile for Microsoft Visual C++
# Usage: nmake -f build\visualc.mk
all:
cd src\optipng
$(MAKE) -f build\visualc.mk
cd ..\..
test:
cd src\optipng
$(MAKE) -f build\visualc.mk test
cd ..\..
check: test
clean:
cd src\optipng
$(MAKE) -f build\visualc.mk clean
cd ..\..
distclean:
cd src\optipng
$(MAKE) -f build\visualc.mk distclean
cd ..\..
This diff is collapsed.
CAVEAT EMPTOR
=============
(known bugs, problems or limitations)
Legend
------
- Minor bug, limitation, or incompletely-implemented feature.
! Bug that may lead to a behavior different than expected,
but without any serious consequence.
!! Bug that may cause accidental data loss, security hazard,
or another serious consequence.
* Another problematic issue, that is not necessarily a bug.
Version 0.6.4 14-mar-2010
-------------
- Lossless image reductions are not completely implemented.
(This does NOT affect the integrity of PNG files.)
Here are the missing pieces:
- The color palette reductions are implemented only partially.
- The bit depth reductions below 8, for grayscale images, are
not implemented yet.
- TIFF support is limited to uncompressed, PNG-compatible
color spaces (grayscale, RGB and RGBA).
- Metadata is not imported from the external image formats.
- There is no support for pipes or streams.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Author" content="Cosmin Truţa">
<title>Thanks!</title>
</head>
<body>
<h2>Acknowledgements</h2>
<div>
The author is indebted to the following people.
OptiPNG would not exist without their work.
<p>
<table border="0" width="100%">
<tbody>
<tr>
<td width="25%">Mark Adler</td>
<td>for developing the zlib library</td>
</tr>
<tr>
<td width="25%">Thomas Boutell</td>
<td>for the idea of creating the PNG image format (it's all his fault!)</td>
</tr>
<tr>
<td width="25%">Adam M. Costello</td>
<td>for co-developing cexcept, an exception-handling interface for C</td>
</tr>
<tr>
<td width="25%">Jean-loup Gailly</td>
<td>for devising a patent-free deflation algorithm
and for developing the zlib library</td>
</tr>
<tr>
<td width="25%">Phil Katz</td>
<td>for inventing ZIP (PKZip) and the deflation algorithm</td>
</tr>
<tr>
<td width="25%">David Koblas</td>
<td>GIF support is derived from the giftopnm tool</td>
</tr>
<tr>
<td width="25%">Miyasaka Masaru</td>
<td>BMP support is derived from the bmptopng tool</td>
</tr>
<tr>
<td width="25%">David Salomon</td>
<td>for writing the most comprehensive data compression reference book</td>
</tr>
<tr>
<td width="25%">Jason Summers</td>
<td>image reductions are inspired from the pngrewrite tool</td>
</tr>
<tr>
<td width="25%">Glenn Randers-Pehrson</td>
<td>OptiPNG is inspired from the pngcrush tool(!)</td>
</tr>
<tr>
<td width="25%">The PNG Development Group</td>
<td>for developing the PNG format and the libpng library
and also for countless help via the emailing list :-)</td>
</tr>
<tr>
<td width="25%">The Information Theory founders</td>
<td>Shannon, Huffman, Ziv, Lempel et al., you will never be forgotten!</td>
</tr>
</tbody>
</table>
</div>
<p>
<hr>
<p>
<div>
There are also many people who contributed to the OptiPNG project.
The author is grateful to all of them.
<br>
This list is by no means complete. If you made a contribution, but your name is
not listed here, please don't be shy and
<a href="http://sourceforge.net/sendmessage.php?touser=24402">let him know</a>.
<br>
The author is particularly aware of the ever-increasing grup of amazing
volunteers who either create new ports and packages, or take over the
maintenance of the existing ones. They are unsung heroes. Regardless whether
they are on this list or not (yet), a big THANKS goes to them!
<p>
<table border="0" width="100%">
<tbody>
<tr>
<td width="25%">Peter Ahlstrom</td>
<td>for experimenting with the zlib parameters,
and for providing useful test data</td>
</tr>
<tr>
<td width="25%">Emmanuel Andry</td>
<td>for maintaining the Mandriva Linux port</td>
</tr>
<tr>
<td width="25%">Piotr Bandurski</td>
<td>for maintaining the Amiga port,
and for suggesting a feature improvement</td>
</tr>
<tr>
<td width="25%">Fabien Barbier</td>
<td>for fixing a Unicode build issue on Windows</td>
</tr>
<tr>
<td width="25%">Fabrizio Bartoloni</td>
<td>for maintaining the MorphOS port</td>
</tr>
<tr>
<td width="25%">Pascal Bleser</td>
<td>for maintaining the SUSE Linux port</td>
</tr>
<tr>
<td width="25%">Stefan Brüns</td>
<td>for contributing a security fix</td>
</tr>
<tr>
<td width="25%">James Buren</td>
<td>for maintaining the Frugalware Linux port</td>
</tr>
<tr>
<td width="25%">Adam Ciarcinski</td>
<td>for maintaining the pkgsrc package</td>
</tr>
<tr>
<td width="25%">James H. Cloos, Jr.</td>
<td>for being the first user to report a defect</td>
</tr>
<tr>
<td width="25%">Christian Davideck</td>
<td>for reporting a defect</td>
</tr>
<tr>
<td width="25%">Andrew C. E. Dent</td>
<td>for experimenting with various compression parameters,
and for providing useful test data</td>
</tr>
<tr>
<td width="25%">Matthew Fearnley</td>
<td>for reporting several defects and limitations,
and for contributing a reduction improvement</td>
</tr>
<tr>
<td width="25%">Petr Gajdos</td>
<td>for maintaining the SUSE Linux port</td>
</tr>
<tr>
<td width="25%">Nicolas Le Gland</td>
<td>for reporting a defect</td>
</tr>
<tr>
<td width="25%">Tero Grundström</td>
<td>for reporting a build problem</td>
</tr>
<tr>
<td width="25%">Larry Hastings</td>
<td>for suggesting a performance improvement, for reporting a defect,
and for providing useful test data</td>