PAQ
- For other "PAQ" formats, see oPAQue, PAQJ, and Quantum compressed archive.
PAQ is actually a whole series of different compression programs and their associated file formats, designed to achieve maximum compression (for which the various versions have won some awards) at the possible expense of being slow and taking a lot of memory. Since compatibility (either forward or backward) among the different PAQ versions was not preserved, there are a wide assortment of incompatible formats associated with this group of programs, with new versions devised to implement improved compression techniques or techniques carefully tailored for particular sorts of data without regard for retaining the ability to compress or decompress the files created by earlier versions.
Since PAQ is open-source, there have been "forks" producing yet more adapted and incompatible versions.
The author of PAQ (Matt Mahoney) also created BARF as a sort of reducio ad absurdum of file compression techniques.
Identification
- PAQ1, PAQ2, PAQ3, PAQ4 and PAQ5 files start with ASCII
PAQ
, followed by ASCII1
to5
respectively, followed by a Windows line break (bytes0x0d 0x0a
= CRLF = \r\n). - PAQ6 files start with ASCII
PAQ6 -
, followed most likely by ASCII0
to9
for the chosen memory consumption model, followed by a Windows line break (bytes0x0d 0x0a
= CRLF = \r\n). - PAQ7 files start with ASCII
paq7 -
, followed most likely by ASCII1
to5
for the chosen memory consumption model, followed by a Windows line break (bytes0x0d 0x0a
= CRLF = \r\n).