Quantum compression

From Wikipedia, the free encyclopedia

Contents

The Quantum compression format is a somewhat obscure data compression method invented by a company called Cinematronics (written by an author identified as David Stafford). Rights to it were purchased at some point by Microsoft, and Quantum is one of the possible compression methods in a CAB archive.

For DOS, PAQ.EXE is the compressor and UNPAQ.EXE is the decompressor. QWIN.EXE is the Windows decompressor (although no Windows compressor exists). It is much faster and has more features (e.g., selective decompression) than the DOS decompressor. Each of these require at least a 386 CPU to run.

The latest known version is 0.97 (as of 15 May 1995).

Bytes Description
2 signature, must be 0x44 followed by 0x53
1 major version number
1 minor version number
2 number of files which reside in this archive
1 table size required for decompression
1 compression flags

This is immediately followed by the list of files:

Bytes Description
var. length of file name, see (*) below
var. file name, variable length string, not zero-terminated
var. length of comment field, see (*) below
var. comment field, variable length string, not zero-terminated
4 fully expanded file size in bytes
2 file time (DOS format)
2 file date (DOS format)

(*) Strings are prefixed with their length. This takes one or two bytes. If the length is less than 128 then it is stored directly in one byte. If it is greater than 127 then the high bit of the first byte is set to 1 and the remaining fifteen bits contain the actual length in big-endian format.

Immediately following the list of files is the compressed data.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.