AdvanceCOMP

AdvanceCOMP

AdvanceCOMP is a set of command line data (re-)compression tools. The utilities allow modifying an "already-compressed" file, with the intent of reducing the file-size by optimising the compressed representation. The AdvanceCOMP suite is freely available under the terms of the GPL license.

AdvanceCOMP works with files using the LZ/Huffman-based compression algorithm known as DEFLATE, the most widely-used compression encoding systems in use. A large number of file-formats include DEFLATE as part of their specification, most notably PNG, gzip and ZIP.

The DEFLATE encoding

DEFLATE specifies a stream-encoding such that any compliant "decoder" is able to parse any valid stream; the algorithm and program used for the compression stage are "not" mandated.

For generation of compressed sections of DEFLATE data, an encoder available in the zlib/gzip reference implementation has typically been utilised. The zlib/gzip compressor offers the user a sliding scale between CPU usage and the likely amount of reduction in size achieved on a range of -0 (no compression) to -9 (maximum gzip compression).

The 7-Zip DEFLATE encoder, used in the AdvanceCOMP suite, effectively extends the sliding scale further. A much more detailed search of compression "possibilities" is performed, at the expense of significant further processor time spent searching. Effectively, the 10-point scale used in gzip is extended to include extra settings above -9, the previous maximum search level. There will be no difference in decompression "speed", regardless of the level of compressed size achieved or time taken to encode the data.

Included utilities

AdvanceCOMP includes four utilities, all of which allow the extend of DEFLATE searching to be set of one of four levels:

* advpng, removal of ancillary chunks, concatenation of all individual IDAT chunks; then re-encoding of the combined PNG image file using the 7-Zip deflate method.
* advmng, attempt to make use of delta encoding, followed by re-encoding of compressed sections using 7-Zip deflate method.
* advdef, general re-encoding of anything featuring a zlib stream, this includes .gz and .png files.
* advzip, re-encoding of compressed DEFLATE streams within a .zip archive.

The additional searching performed during compression (and therefore additional CPU usage), can often make gains of 5%-10% in compressed size, according to the AdvanceCOMP authors. After using AdvanceCOMP, the output remains a backwards-compatible and compliant DEFLATE stream, capable of being decoded by any existing tools.

ee also

*List of file archivers
*Comparison of file archivers

External links

* [http://advancemame.sourceforge.net/comp-readme.html Project site]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • DEFLATE — redirects here. For other uses, see Deflation (disambiguation). Deflate is a lossless data compression algorithm that uses a combination of the LZ77 algorithm and Huffman coding. It was originally defined by Phil Katz for version 2 of his PKZIP… …   Wikipedia

  • Portable Network Graphics — PNG A PNG image with an 8 bit transparency channel (top). The same image is overlaid onto a checkered background (botto …   Wikipedia

  • Pngcrush — Infobox Software name = pngcrush caption = pngcrush 1.5.10 developer = Glenn Randers Pehrson latest release version = 1.6.10 (executable) latest release date = release date|2008|09|28 operating system = Cross platform genre = Image optimizer… …   Wikipedia

  • OptiPNG — Тип Сжатие изображений Разработчик Cosmin Truţa Написана на …   Википедия

  • Gzip — infobox file format name = gzip extension = .gz mime = application/x gzip owner = Jean Loup Gailly and Mark Adler genre = data compression website = http://www.gzip.org/Infobox Software name = gzip developer = GNU Project latest release version …   Wikipedia

  • 7-Zip — Infobox Software developer = Igor Pavlov released = 2000 frequently updated = yes programming language = C++, C operating system = Microsoft Windows language = 69 languages, including Brazilian Portuguese, Czech, English, French, Italian,… …   Wikipedia

  • 7z — Infobox file format name = 7z extension = .7z mime = application/x 7z compressed owner = Igor Pavlov creatorcode = genre = Data compression containerfor = containedby = extendedfrom = extendedto =7z is a compressed archive file format that… …   Wikipedia

  • OptiPNG — Infobox Software name = OptiPNG caption = OptiPNG 0.4.7 under Linux developer = Cosmin Truţa latest release version = 0.6.1 latest release date = release date|2008|07|20 operating system = Cross platform genre = Image optimizer license =… …   Wikipedia

  • PNGOUT — infobox software name = PNGOUT author = Ken Silverman developer = Ken Silverman latest release version = 9 February 2008 operating system = Cross platform genre = Image optimizer license = Proprietary website =… …   Wikipedia

  • 7-Zip — Der 7 Zip Dateimanager 9.20 unter Windows 7 …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”