http://schnaader.info/coding/precomp/precomp.htmlWhat is Precomp?
Precomp is a command line precompressor. You can use it to achieve better compression on some filetypes (works on files that are compressed with zLib or the Deflate compression method, and on GIF files). Precomp tries to decompress the streams in those files, and if they can be decompressed and "re"-compressed so that they are bit-to-bit-identical to the original stream, the decompressed stream can be used instead of the compressed one.
The result is a .pcf file (PCF = PreCompressedFile) that contains more decompressed data than the original file. Note that this file is larger than the original file, but if you compress it with a compression method stronger than Deflate, the compression is better than before
Precomp uses packJPG by Matthias Stirner to losslessy compress JPG images.Contact:Legal stuff
PackJPG v2.3 (http://www.elektronik.htw-aalen.de/packjpg/index.htm) by Matthias Stirner is used for compression/decompression of JPG files.
zLib 1.2.3 (http://www.zlib.net) by Jean-loup Gailly and Mark Adler is used for compression/decompression of zLib streams.
GifLib 4.1.4 (http://sourceforge.net/projects/libungif) is used for compression/decompression of GIF files.
The GIFLIB distribution is Copyright (c) 1997 Eric S. Raymond
!!! Please notice that using Precomp in any commercial product is not allowed without my permission!
Precomp itself is not licensed yet, but I'm planning to release the source code and license it under LGPL.
Christian Schneider
schnaader@gmx.de
http://schnaader.info
![]()