home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / compression-faq / part1 next >
Encoding:
Internet Message Format  |  1999-09-06  |  162.1 KB

  1. Path: senator-bedfellow.mit.edu!sipb-server-1.mit.edu!gatech!newsfeed.mathworks.com!oleane!teaser.fr!not-for-mail
  2. From: jloup@gzip.OmitThis.org (Jean-loup Gailly)
  3. Newsgroups: comp.compression,comp.compression.research,news.answers,comp.answers
  4. Subject: comp.compression Frequently Asked Questions (part 1/3)
  5. Supersedes: <compr1_09jan99@gzip_org>
  6. Followup-To: comp.compression
  7. Date: 5 Sep 1999 22:34:48 +0200
  8. Organization: none
  9. Lines: 3753
  10. Approved: news-answers-request@mit.edu
  11. Distribution: world
  12. Expires: 31 Oct 1999 16:17:20 GMT
  13. Message-ID: <compr1_05sep99@gzip_org>
  14. Reply-To: jloup@gzip.OmitThis.org
  15. NNTP-Posting-Host: dip208.teaser.fr
  16. X-Trace: feed.teaser.fr 936563455 7912 194.51.100.208 (5 Sep 1999 20:30:55 GMT)
  17. X-Complaints-To: usenet@feed.teaser.fr
  18. NNTP-Posting-Date: 5 Sep 1999 20:30:55 GMT
  19. Summary: *** READ THIS BEFORE POSTING ***
  20. Keywords: data compression, FAQ
  21. Xref: senator-bedfellow.mit.edu comp.compression:47321 comp.compression.research:3102 news.answers:165986 comp.answers:37554
  22.  
  23. Archive-name: compression-faq/part1
  24. Last-modified: Sep 5th, 1999
  25.  
  26.                             It is insufficiently considered that 
  27.                             men more often require to be reminded 
  28.                             than informed.
  29.                                                   Samuel Johnson
  30.  
  31.  
  32. This file is part 1 of a set of Frequently Asked Questions (FAQ) for
  33. the groups comp.compression and comp.compression.research.  If you
  34. can't find part 2 or 3, see item 53 below. A copy of this FAQ is available
  35. by ftp in ftp://rtfm.mit.edu/pub/usenet/news.answers/compression-faq/
  36. files part1 to part3. This FAQ is also accessible in the World Wide Web at
  37. http://www.faqs.org/faqs/compression-faq/part1/preamble.html or
  38. http://www.cis.ohio-state.edu/hypertext/faq/usenet/compression-faq/top.html
  39.  
  40. Certain questions get asked time and again, and this is an attempt to
  41. reduce the bandwidth taken up by these posts and their associated
  42. replies.  If you have a question, *please* check this file before you
  43. post.  It may save a lot of peoples time.
  44.  
  45. If you have not already read the overall Usenet introductory material
  46. posted to "news.announce.newusers", please do. It is also available by
  47. ftp in ftp://garbo.uwasa.fi/pc/doc-net/usenews.zip (see item 2 below
  48. about .zip).
  49.  
  50. If you don't want to see this FAQ regularly, please add the subject
  51. line to your kill file.  If you don't know what a kill file is, get by
  52. ftp the file ftp://rtfm.mit.edu/pub/usenet/news.answers/killfile-faq
  53. If you have corrections or suggestions for this FAQ, send them to
  54. Jean-loup Gailly <jloup at gzip.org>. (Replace " at " with "@". This is
  55. a protection against junk mail. Sorry for the inconvenience.)
  56.  
  57. Part 1 is oriented towards practical usage of compression programs.
  58. Part 2 is more intended for people who want to know how compression works.
  59. Part 3 is a long (but somewhat obsolete) list of image compression hardware.
  60.  
  61. Main changes relative to the previous version:
  62.  
  63. - LZO page moved [item 2]
  64. - new url for the File Format Collection [items 2 & 54]
  65. - new url for ACE [item 2]
  66. - new pkzip version [item 3]
  67. - fixed url for arithmetic coder [item 13]
  68. - add url for DjVu, an image compression library [item 15]
  69. - remove obsolete link [item 15]
  70. - new url for DCT algorithms [item 15]
  71. - add url for lossless image compression benchmarks [item 16]
  72. - added urls for the MP3 audio compression standard, and for benchmarks
  73.   of lossless audio compression programs [item 26]
  74.  
  75. Contents
  76. ========
  77.  
  78. General questions:
  79.  
  80. [1]  What are these newsgroups about?
  81. [2]  What is this .xxx file type?
  82.      Where can I find the corresponding compression program?
  83. [3]  What is the latest pkzip version?
  84. [4]  What is an archiver?
  85. [5]  What is the best general purpose compression program?
  86. [7]  Which books should I read?
  87. [8]  What about patents on data compression algorithms?
  88. [9]  Compression of random data (WEB, Gilbert and others)
  89. [10] Fake compression programs (OWS, WIC)
  90. [11] What is the V.42bis standard?
  91. [12] I need source for the winners of the Dr Dobbs compression contest
  92. [13] I need source for arithmetic coding
  93.  
  94. Image and audio compression:
  95.  
  96. [15] Where can I get image compression programs?
  97. [16] What is the state of the art in lossless image compression?
  98. [17] What is the state of fractal compression?
  99. [18] I need specs and source for TIFF and CCITT group 4 Fax.
  100. [19] What is JPEG?
  101. [20] I am looking for source of an H.261/H.263 codec and MPEG
  102. [25] Fast DCT (Discrete Cosine Transform) algorithms
  103. [26] Are there algorithms and standards for audio compression?
  104.  
  105. Common problems:
  106.  
  107. [30] My archive is corrupted!
  108. [31] pkunzip reports a CRC error!
  109. [32] VMS zip is not compatible with pkzip!
  110. [33] I have a problem with Stacker or DoubleSpace!
  111.  
  112. Questions which do not really belong to comp.compression:
  113.  
  114. [50] What is this 'tar' compression program?
  115. [51] I need a CRC algorithm
  116. [52] What about those people who continue to ask frequently asked questions?
  117. [53] Where are FAQ lists archived?
  118. [54] I need specs for graphics formats
  119. [55] Where can I find Lenna and other images?
  120. [56] I am looking for a message digest algorithm
  121. [57] I have lost my password on a .zip file
  122.  
  123.  
  124. Part 2: (Long) introductions to data compression techniques
  125.  
  126. [70] Introduction to data compression (long)
  127.        Huffman and Related Compression Techniques
  128.        Arithmetic Coding
  129.        Substitutional Compressors
  130.           The LZ78 family of compressors
  131.           The LZ77 family of compressors
  132.  
  133. [71] Introduction to MPEG (long)
  134.        What is MPEG?
  135.        Does it have anything to do with JPEG?
  136.        Then what's JBIG and MHEG?
  137.        What has MPEG accomplished?
  138.        So how does MPEG I work?
  139.        What about the audio compression?
  140.        So how much does it compress?
  141.        What's phase II?
  142.        When will all this be finished?
  143.        How do I join MPEG?
  144.        How do I get the documents, like the MPEG I draft?
  145.  
  146. [72] What is wavelet theory?
  147. [73] What is the theoretical compression limit?
  148. [74] Introduction to JBIG
  149. [75] Introduction to JPEG
  150. [76] What is Vector Quantization?
  151. [77] Introduction to Fractal compression
  152. [78] The Burrows-Wheeler block sorting algorithm
  153.  
  154.  
  155. Part 3: (Long) list of image compression hardware
  156.  
  157. [85] Image compression hardware
  158. [99] Acknowledgments
  159.  
  160.  
  161. Search for "Subject: [#]" to get to question number # quickly. Some news
  162. readers can also take advantage of the message digest format used here.
  163.  
  164. If you know very little about data compression, read question 70 in
  165. part 2 first.
  166.  
  167. ------------------------------------------------------------------------------
  168.  
  169. Subject: [1] What are these newsgroups about?
  170.  
  171.  
  172. comp.compression is the place to discuss about data compression, both
  173. lossless (for text or data) and lossy (for images, sound, etc..).
  174. comp.compression.research was created later to provide a forum for
  175. current research on data compression and data compression algorithms;
  176. this group is now moderated. If you are not experienced in data compression,
  177. please post in comp.compression only.
  178.  
  179. An archive of this newsgroup since Oct 1993 is available in
  180. ftp://spib.rice.edu/spib/news/comp.compression/
  181.  
  182. Excellent collections of compression based information are provided at
  183. http://www.internz.com/compression-pointers.html and
  184. http://www.sr3.t.u-tokyo.ac.jp/~arimura/compression_links.html
  185.  
  186. If you only want to find a particular compression program for a
  187. particular operating system, please read first this FAQ and the
  188. article "How to find sources" which is regularly posted in
  189. news.answers.
  190.  
  191. If you can't resist posting such a request, other groups are probably
  192. more appropriate (comp.binaries.ibm.pc.wanted, comp.os.msdos.apps,
  193. comp.sources.wanted, comp.sys.mac.wanted, comp.archives.msdos.d, comp.dsp,
  194. alt.graphics.pixutils). Please post your request in comp.compression
  195. only as a last resource.
  196.  
  197. If your question is about graphics only (no compression), please
  198. post to comp.graphics.misc, *after* reading the comp.graphics FAQ (see
  199. item 54 below). For some unknown reason, many questions about
  200. graphics are incorrectly posted to comp.compression.
  201. For questions related to audio compression, check also comp.dsp.
  202.  
  203. Please do not post any program in binary form to comp.compression.
  204. Very short sources can be posted, but long sources should be be posted
  205. to the specialized source groups, such as comp.sources.* or alt.sources.
  206. If the program is already available by ftp, just give the name of the
  207. ftp site and the full path name of the file.
  208.  
  209. As for any newsgroups, do not post the same message separately to
  210. comp.compression and comp.compression.research.
  211.  
  212. ------------------------------------------------------------------------------
  213.  
  214. Subject: [2] What is this .xxx file type?
  215.              Where can I find the corresponding compression program?
  216.  
  217.  
  218. All the programs mentioned in this section are lossless.  For most
  219. programs, one US and one European ftp site are given.  (ftp.simtel.net
  220. and garbo.uwasa.fi) Many other sites (in particular wuarchive.wustl.edu)
  221. have the same programs.
  222.  
  223. To keep this list to a reasonable size, many programs are not mentioned
  224. here. When several programs can handle the same archive format, only one of
  225. them is given. If you don't find a particular archiver here, look also in:
  226. ftp://ftp.cs.tu-berlin.de/pub/msdos/mirrors/ftp.elf.stuba.sk/pc/
  227. ftp://garbo.uwasa.fi/pc/arcers/
  228. ftp://ftp.fh-koblenz.de/pub/Packers/
  229.  
  230. Sources for additional lossless data compressors can be found in
  231.   ftp://garbo.uwasa.fi/pc/programming/lds_11.zip
  232.   ftp://ftp.simtel.net/pub/simtelnet/msdos/arcutils/lz-comp2.zip
  233.   http://wwwvms.utexas.edu/~cbloom/index.html
  234.   ftp://ftp.imag.fr/pub/archive/compression/codecs/codecs.tgz
  235.   ftp://garbo.uwasa.fi/pc/turbopas/preskit2.zip (sources in Pascal)
  236.   ftp://ftp.cs.uiowa.edu/pub/jones/compress/ (Splay tree compression)
  237.  
  238. For Macintosh programs, look on ftp://wuarchive.wustl.edu/systems/mac/info-mac/
  239.   or in http://hyperarchive.lcs.mit.edu/HyperArchive.html
  240. For VM/CMS, look on ftp://vmd.cso.uiuc.edu/public.477
  241. For Atari, look on ftp://atari.archive.umich.edu
  242. For Amiga, look on ftp://ftp.wustl.edu/pub/aminet/util/arc
  243.  
  244. A general purpose lossless data compression library is available in
  245. ftp://ftp.cdrom.com/pub/infozip/zlib/zlib-1.1.3.tar.gz or zlib113.zip;
  246. see http://infozip.cdrom.com/pub/infozip/zlib/ for more information.
  247. Another library favoring speed over compression ratio is available at
  248. http://wildsau.idv.uni-linz.ac.at/mfx/lzo.html
  249.  
  250. If you don't know how to use ftp or don't have ftp access, read the
  251. article "How to find sources" which is regularly posted in news.answers.
  252.  
  253. If you can't find a program given below, a newer version probably exists in
  254. the same directory.  Tell me at <jloup at gzip.org>
  255.  
  256. A very short description of the compression algorithm is given for most
  257. programs. For the meaning of LZ77, LZ78 and LZW, see question 70 in part 2 of
  258. the FAQ.  If you are looking for the file format of a specific compression
  259. program, look at "The File Format Collection" in http://www.wotsit.org
  260. and/or get the sources of the decompressor. For the format of uuencode, do
  261. "man 5 uuencode" on a Unix box.
  262.  
  263. ext:  produced by or read by
  264.  
  265. .ace: ACE
  266.          http://members.aol.com/mlemke6413/ace.htm
  267.  
  268. .arc, .ark: arc, pkarc for MSDOS. (LZW algorithm)
  269.     ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/pk361.exe
  270.     ftp://garbo.uwasa.fi/pc/arcers/pk361.exe
  271.  
  272.       arc for Unix
  273.         ftp://ftp.ddj.com/packages/arc521e.tar.Z
  274.     ftp://garbo.uwasa.fi/unix/arcers/arc.tar.Z
  275.         Contact: Howard Chu <hyc@highlandsun.com>
  276.  
  277.       arc for VMS
  278.     ftp://wuarchive.wustl.edu/packages/compression/vax-vms/arc.exe
  279.  
  280.       for Mac
  281.     ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/stuffit-expander-401.hqx
  282.  
  283.       arc for Amiga
  284.     ftp://ftp.funet.fi/pub/amiga/fish/001-100/ff070/arc.lha
  285.  
  286. .arj: arj for MSDOS (LZ77 with hashing, plus secondary static Huffman
  287.           encoding on a block basis)
  288.         Contact: Robert K Jung <robjung@world.std.com>
  289.         http://www.arjsoft.com
  290.         ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/arj250a.exe
  291.     ftp://garbo.uwasa.fi/pc/arcers/arj250a.exe
  292.  
  293.       unarj for Unix. Decompresses only. (There is no arj compressor for Unix.
  294.         Don't post a request.)
  295.     ftp://oak.oakland.edu/pub/misc/unix/unarj241.tar.Z
  296.     ftp://garbo.uwasa.fi/unix/arcers/unarj241.tar.Z
  297.  
  298.       unarj for Mac
  299.         ftp://mac.archive.umich.edu/mac/util/compression/unarjmac.cpt.hqx      
  300.  
  301.       unarj for Amiga
  302.     ftp://ftp.funet.fi/pub/amiga/utilities/archivers/unarj-0.5.lha
  303.  
  304. base64 (MIME encoding): This is *not* a compression issue but it keeps
  305.        coming as a question on comp.compression. So:
  306.           ftp://ftp.andrew.cmu.edu/pub/mpack/mpack-1.5-src.tar.Z (source)
  307.           ftp://ftp.andrew.cmu.edu/pub/mpack/mpack15d.zip        (MSDOS exe)
  308.           ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/mpack-15.hqx (Mac)
  309.           ftp://garbo.uwasa.fi/pc/decode/mime64b.zip
  310.  
  311. .bck: VMS BACKUP. BACKUP is *not* a compression program. Do "help backup".
  312.  
  313. .bz2: bzip2 by Julian Seward (Burrows-Wheeler block sorting, see item 78)
  314.         http://www.muraroa.demon.co.uk/
  315.  
  316. .cab: Microsoft Cabinets
  317.     http://www.ddj.com/ftp/1997/1997.05/cabinet.zip
  318.     ftp://ftp.mv.com/pub/ddj/1997/1997.05/cabinet.zip
  319.  
  320. .cpt: Compact Pro for Mac and Power PC
  321.          ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/compact-pro-151.hqx
  322.  
  323.       For Unix:
  324. http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/cmp/macutil-20b1-unix.shar
  325.         ftp://ftp.cwi.nl/pub/dik/macutil2.0b3.shar.Z
  326.  
  327.       For DOS:
  328.         ftp://ftp.scruz.net/users/aladdin/public/SITEX10.EXE
  329.     ftp://garbo.uwasa.fi/pc/arcers/ext-pc.zip
  330.  
  331. .ddi:  files made by DiskDupe (Pro)
  332.      ftp://ftp.tem.nctu.edu.tw/Msdos/arcutil/unddi11u.zip
  333.      ftp://ftp.tem.nctu.edu.tw/Msdos/arcutil/x2file15.zip
  334.  
  335. .exe: self-extracting MSDOS executable (creates files on disk when run)
  336.       Run the file, or try unzip, lha or arj on it.
  337.  
  338. .exe: compressed MSDOS executable (decompresses itself in memory then runs
  339.       the decompressed code). To get the original uncompressed .exe:
  340.         ftp://garbo.uwasa.fi/pc/execomp/unp411.zip
  341.       To create such files:
  342.     ftp://ftp.simtel.net/pub/simtelnet/msdos/execomp/lzexe91e.zip
  343.     ftp://nic.funet.fi/pub/msdos/windows/util/winlite1.zip (for Windows)
  344.  
  345. .gif: gif files are images compressed with the LZW algorithm. See the
  346.       comp.graphics FAQ list for programs manipulating .gif files. See
  347.       suffix .Z below for source of LZW.
  348.  
  349. .gz, .z: gzip (or pack, see .z below). gzip uses the same algorithm as
  350.          zip 2.0x (see below); it can also extract packed and compressed files.
  351.     Contact: Jean-loup Gailly <support at gzip.org>
  352.                  http://www.gzip.org
  353.  
  354.       For Unix, MSDOS, OS/2, VMS, Atari, Amiga, Primos:
  355.     ftp://prep.ai.mit.edu/pub/gnu/gzip-1.2.4.tar (.shar or .tar.gz: source)
  356.     ftp://prep.ai.mit.edu/pub/gnu/gzip-1.2.4.msdos.exe (MSDOS self-extract)
  357.     ftp://ftp.simtel.net/pub/simtelnet/msdos/compress/gzip124.zip (MSDOS)
  358.     ftp://garbo.uwasa.fi/unix/arcers/gzip124.tar.Z          (source)
  359.     ftp://ftp.cdrom.com/pub/infozip/MSDOS/gzip124.exe       (MSDOS exe)
  360.     ftp://ftp.cdrom.com/pub/infozip/WIN32/gzip124xN.zip     (WIN95 & NT)
  361.         ftp://ftp.cdrom.com/pub/infozip/OS2/gz124-32.zip        (OS/2)
  362.     ftp://ftp.cdrom.com/pub/infozip/VMS/gzip124x.vax_exe    (VMS exe)
  363.         ftp://ftp.cdrom.com/pub/infozip/UNIX/SUN/gzip124x.tar.Z (Solaris 2)
  364.         http://www.gzip.org/gzip123mvs.zip                      (MVS exe)
  365.  
  366.       For Mac:
  367.        ftp://ivo.cps.unizar.es//Graficos/Public/SPDsoft/MacGzip_FAT_1.1.cpt.hqx
  368.        http://persephone.cps.unizar.es/general/gente/spd/gzip/ (MacGzip page)
  369.  
  370. .ha: ha 0.99 (improved PPMC - 4th order Markov modeling)
  371.     Contact: Harri Hirvola <harri.hirvola@vaisala.infonet.com>
  372.     ftp://garbo.uwasa.fi/pc/arcers/ha098.zip
  373.     ftp://ftp.nl.net/gopher/NLnet-connected/aipnl/ha0999.exe
  374.         ftp://sunsite.unc.edu/pub/Linux/utils/compress/ha0999p-linux.tar.gz
  375.  
  376. .hap: Hamarsoft HAP archiver (Markov modeling + arithmetic coding)
  377.       Contact: feldmann@xs4all.nl or feldmann@pi.net
  378.         ftp://garbo.uwasa.fi/pc/arcers/hap305bp.com
  379.         http://www.xs4all.nl/~feldmann
  380.  
  381. .hpk: hpack (archiver with strong encryption)
  382.       Contact: Peter Gutmann <pgut1@cs.aukuni.ac.nz>
  383.         ftp://src.doc.ic.ac.uk/computing/archiving/compress/hpack/
  384.  
  385. .hqx: Macintosh BinHex format.. (BinHex is *not* a compression program,
  386.       it is similar to uuencode but handles multiple forks.)
  387.        for Mac:
  388.         ftp://mac.archive.umich.edu/mac/util/compression/binhex4.0.bin
  389.  
  390.        for Unix:
  391.      http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/cmp/mcvert-216.shar
  392.  
  393.        for MSDOS:
  394.      ftp://ftp.simtel.net/pub/simtelnet/msdos/mac/xbin23.zip
  395.          ftp://garbo.uwasa.fi/pc/unix/xbin23.zip
  396.  
  397. .jam: JAM real-time compressor for MSDOS
  398.        ftp://garbo.uwasa.fi/pc/arcers/jam125sw.zip
  399.  
  400. .lha:
  401. .lzh: lha for MSDOS (LZ77 with a trie data structure, plus secondary static
  402.           Huffman coding on a block basis)
  403.     ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/lha255e.exe
  404.     ftp://garbo.uwasa.fi/pc/arcers/lha255b.exe
  405.  
  406.       lharc for Unix. (LZ77 with hash table and binary trees, plus secondary
  407.           Huffman coding).  See lha for Unix below.
  408.            Warning: lharc can extract .lzh files created by
  409.            lharc 1.xx but not those created by lha.
  410.  
  411.       lharc for VMS. Same warning as for Unix lharc.
  412.     ftp://wuarchive.wustl.edu/packages/compression/vax-vms/lharc.exe
  413.  
  414.       lha for Unix.
  415.     ftp://oak.oakland.edu/pub/misc/unix/lha101u.tar.Z
  416.     ftp://garbo.uwasa.fi/unix/arcers/lha101u.tar.Z
  417.           Contact: lha-admin@oki.co.jp or oki@fs.telcom.oki.ac.jp
  418.  
  419.       lha for Mac
  420.        ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/lha-expander-103.hqx
  421.  
  422.       lha for Amiga
  423.     ftp://ftp.funet.fi/pub/amiga/utilities/archivers/LhA_e138.run
  424.       lha for OS/2:
  425.         ftp://hobbes.nmsu.edu/pub/os2/util/archiver/lh2_222.zip
  426.  
  427. MIME: see base64 above
  428.  
  429. .pak: pak for MSDOS (LZW algorithm)
  430.         ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/pak251.exe
  431.     ftp://garbo.uwasa.fi/pc/arcers/pak251.exe
  432.  
  433. .pit: PackIt (Macintosh)
  434.        for Mac:
  435.    http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/cmp/stuffit-lite-35.hqx
  436.  
  437.        for Unix:
  438.      http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/cmp/mcvert-216.shar
  439.          ftp://garbo.uwasa.fi/mac/arcers/mcvert-215.shar
  440.  
  441. .pp: PowerPacker (Amiga)
  442.     ftp://ftp.funet.fi/pub/amiga/fish/501-600/ff561/PPLib.lha
  443.  
  444. .rar: RAR Contact: Eugene Roshal <roshal@creabel.com>
  445.           or Andrey Spasibozhko <as@hq.icb.chel.su>
  446.           http://www.creabel.com/softronic/
  447.       MSDOS:
  448.         ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/ rar*.exe
  449.         ftp://garbo.uwasa.fi/pc/arcers/ rar*.exe
  450.         ftp://ftp.kiae.su/msdos/arcers/ rar*.exe
  451.         ftp://ftp.elf.stuba.sk/pub/pc/pack/ *rar2*.exe
  452.       Unix:
  453.     ftp://ftp.kiae.su/pub/unix/arcers/ rar*.exe
  454.       Mac
  455.         ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/mac-unrar-11.hqx
  456.         ftp://ftp.creabel.com/pub/rar/MacUnRAR12b3_sit.hqx
  457.       Amiga (Unrar):
  458.         ftp://ftp.creabel.com/pub/rar/rar_amy.lha
  459.  
  460. .sea: self-extracting archive (Macintosh)
  461.          Run the file to extract it. The self-extraction code can be
  462.          removed with:
  463.    ftp://mac.archive.umich.edu/mac/utilities/compressionapps/desea1.11.cpt.hqx
  464.    ftp://ftp.scruz.net/users/aladdin/public/SITEX10.EXE (MS Windows, .sit only)
  465.  
  466. .sdn: used by the Shareware Distribution Network.
  467.       Try the decompressors for .pak or .arj (see above)
  468.  
  469. .shar:  Shell archive. This is not a compression program. Use "sh foo.shar"
  470.         to extract on Unix.
  471.     ftp://garbo.uwasa.fi/pc/unix/unshar.zip  (MSDOS)
  472.         ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/unshar-111.hqx (Mac)
  473.  
  474. .sit: Stuffit for Macintosh
  475.        for Mac:
  476.    http://hyperarchive.lcs.mit.edu/HyperArchive/Archive/cmp/stuffit-lite-35.hqx
  477.  
  478.        for Amiga:
  479.      ftp://ftp.funet.fi/pub/amiga/utilities/archivers/unsit-1.5c2.lha
  480.  
  481.        for MSDOS:
  482.      ftp://ftp.scruz.net/users/aladdin/public/SITEX10.EXE
  483.      ftp://garbo.uwasa.fi/pc/arcers/unsit30.zip
  484.  
  485. .?q?: Squeeze for MSDOS (do not confuse with other 'squeeze' below).
  486.       Static Huffman coding.
  487.        ftp://ftp.simtel.net/pub/simtelnet/msdos/starter/sqpc12a.com (squeeze)
  488.        ftp://ftp.simtel.net/pub/simtelnet/msdos/starter/nusq110.com (unsqueeze)
  489.  
  490. .sqz: Squeeze for MSDOS (do not confuse with other 'squeeze' above)
  491.       LZ77 with hashing.
  492.         ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/sqz1083e.exe
  493.         ftp://garbo.uwasa.fi/pc/arcers/sqz1083e.exe
  494.  
  495. .tar: tar is *not* a compression program. However, to be kind for you:
  496.       for MSDOS
  497.     ftp://ftp.simtel.net/pub/simtelnet/msdos/starter/tarread.exe
  498.     ftp://garbo.uwasa.fi/pc/unix/tar4dos.zoo
  499.  
  500.       for Unix
  501.         tar (you have it already. To extract: tar xvf file.tar)
  502.  
  503.       for VMS
  504.     ftp://wuarchive.wustl.edu/packages/compression/vax-vms/tar.exe
  505.  
  506.       for Macintosh
  507.         ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/tar-40b.hqx
  508.  
  509.       for Amiga:
  510.     ftp://ftp.funet.fi/pub/amiga/fish/401-500/ff445/Tar.lha
  511.  
  512. .tar.Z, .tar-z, .taz: tar + compress
  513.       For Unix:     zcat file.tar.Z | tar xvf -
  514.       with GNU tar: tar xvzf file.tar.Z
  515.       for MSDOS:
  516.         ftp://garbo.uwasa.fi/pc/unix/tar320g.zip  (MSDOS exe)
  517.         ftp://ftp.kiae.su/msdos/arcers/tar*sr.zip (sources)
  518.         ftp://ftp.kiae.su/msdos/arcers/tar*_p.zip (MSDOS exe)
  519.       Other OS: first uncompress (see .Z below) then untar (see .tar above)
  520.  
  521. .tar.gz, .tgz, .tar-gz, .tar.z: tar + gzip
  522.       For Unix: gzip -cd file.tar.gz | tar xvf -
  523.         with GNU tar: tar xvzf file.tar.gz
  524.       for MSDOS:
  525.         ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/tar320g.zip
  526.         ftp://garbo.uwasa.fi/pc/unix/tar320g.zip
  527.       for MSDOS, Windows 95, NT & OS/2:
  528.         ftp://garbo.uwasa.fi/pc/unix/untgz095.zip
  529.          or http://till.home.ml.org/untgz.htm
  530.       for Windows 95 & Windows NT:
  531.          ftp://ftp.winzip.com/winzip/ or http://www.winzip.com
  532.  
  533.       Other OS: first uncompress (see .gz above) then untar (see .tar above)
  534.  
  535. .td0: (compressed MS-DOS floppy image produced by TeleDisk)
  536.       ftp://ftp.simtel.net/pub/simtelnet/msdos/diskutil/teled212.zip
  537.  
  538. .uc2: UC2 for MSDOS and OS/2. (LZ77 with secondary static Huffman encoding on
  539.      a block basis, and dynamic dictionaries shared among files.)
  540.     Contact: desk@aip.nl
  541.       ftp://garbo.uwasa.fi/pc/arcers/uc2r3.exe  (or uc2pro.exe)
  542.  
  543. .z:   pack or gzip (see .gz above). pack uses static Huffman coding.
  544.       To extract, see .gz above.
  545.  
  546. .zip: pkzip 2.04g for MSDOS. (LZ77 with hashing, plus secondary static
  547.            Huffman coding on a block basis). Contact: support@pkware.com
  548.            or http://www.pkware.com/
  549.     ftp://ftp.simtel.net/pub/simtelnet/msdos/zip/pkz204g.exe
  550.         ftp://garbo.uwasa.fi/pc/arcers/pkz204g.exe
  551.         ftp://ftp.simtel.net/pub/simtelnet/win95/compress/pk250w32.exe (WIN95)
  552.  
  553.       arcutil 2.0 for VM/CMS (unzip only, not yet compatible with pkzip 2.04)
  554.          ftp://vmd.cso.uiuc.edu/public.477/arcutil.*
  555.  
  556.       zip 1.1 for Unix, MSDOS, VMS, OS/2, ... (compatible with pkzip 1.10.
  557.      For corresponding unzip, see unzip 5.32 below).
  558.      ftp://ftp.cdrom.com/pub/infozip/src/zip11.zip
  559.  
  560.       zip 2.2 and unzip 5.32 for Unix, MSDOS, VMS, OS/2, Amiga, ...
  561.           Compatible with pkzip 2.04g (LZ77 with hashing, plus secondary static
  562.           Huffman coding on a block basis). Contact: zip-bugs@lists.wku.edu
  563.           See also http://infozip.cdrom.com/pub/infozip/
  564.           (On SGI, do not confuse with the editor also named 'zip'.)
  565.  
  566.      ftp://ftp.cdrom.com/pub/infozip/src/zip22.zip      (source)
  567.      ftp://ftp.cdrom.com/pub/infozip/src/unzip532.*     (source)
  568.      ftp://ftp.cdrom.com/pub/infozip/MSDOS/zip22x.zip   (MSDOS exe)
  569.      ftp://ftp.cdrom.com/pub/infozip/MSDOS/unz532x*.exe (MSDOS exe)
  570.      ftp://ftp.cdrom.com/pub/infozip/WIN32/zip22xN.zip  (Win95 & NT)
  571.      ftp://ftp.cdrom.com/pub/infozip/WIN32/unz532xN.exe (Win95 & NT)
  572.          [The Win95 version supports long file names; MSDOS version doesn't]
  573.      ftp://ftp.cdrom.com/pub/infozip/OS2/          (OS/2 exe 16&32 bit)
  574.           See also AMIGA, ATARI, MAC, UNIX, RISCOS, VMS... subdirectories.
  575.  
  576.          ftp://ftp.icce.rug.nl/infozip/src/zcrypt27.zip    (encryption source)
  577.  
  578.        for Macintosh:
  579.          http://members.sitec.net/maczip/download/
  580.          ftp://mac.archive.umich.edu/mac/util/compression/unzip2.01.cpt.hqx
  581.      ftp://mac.archive.umich.edu/mac/util/compression/zipit1.31.cpt.hqx
  582.      ftp://ftp.cdrom.com/pub/infozip/MAC/unz512x.hqx
  583.     ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/stuffit-expander-401.hqx
  584.  
  585.        WinZip by Nico Mak <support@winzip.com> (uses Info-ZIP compress. code):
  586.          ftp://ftp.winzip.com/winzip/ or http://www.winzip.com   (MS Windows)
  587.  
  588. .zoo: zoo 2.10 for MSDOS (algorithm copied from that of lha, see lha above)
  589.      ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/zoo210.exe
  590.      ftp://garbo.uwasa.fi/pc/arcers/zoo210.exe
  591.  
  592.       zoo 2.10 for Unix, VMS
  593.          ftp://oak.oakland.edu/pub/misc/unix/zoo210.tar.Z
  594.      ftp://garbo.uwasa.fi/unix/arcers/zoo210.tar.Z
  595.  
  596.       zoo for Mac
  597.        ftp://mac.archive.umich.edu/mac/utilities/compressionapps/maczoo.sit.hqx
  598.  
  599.       zoo for Amiga
  600.     ftp://ftp.funet.fi/pub/amiga/utilities/archivers/Zoo-2.1.lha
  601.  
  602. .??_: Microsoft compress.exe and expand.exe. compress.exe is available
  603.     in the Windows SDK (Software Development Kit) and in
  604.        ftp://ftp.microsoft.com/softlib/mslfiles/CP0982.EXE
  605.  
  606. .F: freeze for Unix (LZ77 with hashing, plus secondary dynamic Huffman
  607.          encoding)
  608. ftp://wuarchive.wustl.edu/usenet/comp.sources.misc/volume35/freeze/part0[1-3].Z
  609.      ftp://ftp.inria.fr/system/arch-compr/freeze-2.5.tar.Z
  610.      Contact: Leonid A. Broukhis <leo@zycad.com>
  611.  
  612. .Y: yabba for Unix, VMS, ... (Y coding, a variant of LZ78)
  613.   ftp://wuarchive.wustl.edu/usenet/comp.sources.unix/volume24/yabbawhap/part*.Z
  614.   ftp://ftp.inria.fr/system/arch-compr/yabba.tar.Z
  615.   Contact: Dan Bernstein <djb@silverton.berkeley.edu>
  616.  
  617. .Z: compress for Unix ('the' LZW algorithm)
  618.       It is likely that your Unix system has 'compress' already. Otherwise:
  619.     ftp://wuarchive.wustl.edu/packages/compression/compress-4.1.tar
  620.         (not in .Z format to avoid chicken and egg problem)
  621.  
  622.     compress for MSDOS
  623.     ftp://ftp.simtel.net/pub/simtelnet/msdos/compress/comp430d.zip
  624.     ftp://garbo.uwasa.fi/pc/unix/comp430d.zip
  625.     ftp://garbo.uwasa.fi/pc/source/comp430s.zip
  626.  
  627.     compress for Macintosh
  628.     ftp://wuarchive.wustl.edu/systems/mac/info-mac/cmp/stuffit-expander-401.hqx
  629.  
  630.     compress for Amiga
  631.     ftp://ftp.funet.fi/pub/amiga/utilities/archivers/compress-4.1.lha
  632.  
  633.     compress for VAX/VMS
  634.     ftp://wuarchive.wustl.edu/packages/compression/vax-vms/lzcomp.exe
  635.     ftp://wuarchive.wustl.edu/packages/compression/vax-vms/lzdcmp.exe
  636.  
  637. ------------------------------------------------------------------------------
  638.  
  639. Subject: [3]  What is the latest PKZIP version?
  640.  
  641. The latest official DOS version is 2.04g. The latest command line version
  642. for Windows 95 is 2.50. The latest Windows 95 version is 2.70.
  643. See http://www.pkware.com for more information.
  644.  
  645. Be warned that there are countless bogus PKZIP 1.20, 2.0, 2.02, 3.00B,
  646. 3.05, 4.1 and whatever scams floating around.  They usually are hacks
  647. of PKZIP 1.93A beta test version.  Some of them are trojans and / or
  648. carry computer viruses.
  649.  
  650. Note about pkzip 2.06 from a PKware employee:
  651.  
  652.     Version 2.06 was released as an INTERNAL use only IBM version.
  653.     It is identical to 2.04G, but it has IBM names in the help
  654.     screens and such. That release is meant for IBM only.
  655.  
  656. If pkunzip indicates that you need version 2.8 to extract an
  657. archive, your archive has been corrupted by a transfer not
  658. made in binary mode (see item 30 below).
  659. ------------------------------------------------------------------------------
  660.  
  661. Subject: [4] What is an archiver?
  662.  
  663.  
  664. There is a distinction between archivers and other compression
  665. programs:
  666.  
  667. - an archiver takes several input files, compresses them and produces
  668.   a single archive file. Examples are arc, arj, lha, zip, zoo.
  669.  
  670. - other compression programs create one compressed file for each
  671.   input file. Examples are freeze, yabba, compress, gzip. Such programs
  672.   are often combined with tar to create compressed archives (see
  673.   question 50: "What is this tar compression program?").
  674.  
  675. For a comparison of zip and gzip, see the gzip README file. (In short:
  676. zip is an archiver, gzip is not; only zip is compatible with pkzip.)
  677.  
  678. ------------------------------------------------------------------------------
  679.  
  680. Subject: [5] What is the best general purpose compression program?
  681.  
  682.  
  683. The answer is: it depends. (You did not expect a definitive answer,
  684. did you?)
  685.  
  686. It depends whether you favor speed, compression ratio, a standard and
  687. widely used archive format, the number of features, etc...  Just as
  688. for text editors, personal taste plays an important role. compress has
  689. 4 options, arj 2.30 has about 130 options; different people like
  690. different programs. *Please* do not start or continue flame wars on
  691. such matters of taste.
  692.  
  693. Several benchmarks of MSDOS archivers are available:
  694. - ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/actest*.zip
  695.   and http://www.geocities.com/SiliconValley/Park/4264/act.html
  696.   by Jeff Gilchrist <jeffg@cips.ca>
  697. - ftp://garbo.uwasa.fi/pc/arcers/act-*.zip
  698.   by Jonathan Burt <jonathan@jaburt.demon.co.uk>
  699.  
  700. Please do not post your own benchmarks made on your own files that
  701. nobody else can access. If you think that you must absolutely post yet
  702. another benchmark, make sure that your test files are available by
  703. anonymous ftp.
  704.  
  705. Since all other benchmarks are for MSDOS only, here is one mainly for
  706. Unix, on a 33Mhz Compaq 386.  All programs have been run on Unix SVR4,
  707. except pkzip and arj which only run on MSDOS.
  708.  
  709. The programs compared here were chosen because they are the most
  710. popular or because they run on Unix and source is available.  For ftp
  711. information, see above. Three programs (hpack, comp-2 and ha) have
  712. been added because they achieve better compression (at the expense of
  713. speed) and one program (lzrw3-a) has been added because it favors
  714. speed at the expense of compression:
  715.  
  716. - comp-2 is in ftp://ftp.coast.net/pub/Coast/disk2/msdos/ddjmag/ddj9102.zip
  717.   (inner zip file nelson.zip),
  718. - hpack is in ftp://garbo.uwasa.fi/unix/arcers/hpack78src.tar.Z
  719. - ha 0.98 is in ftp://garbo.uwasa.fi/pc/arcers/ha098.zip
  720. - lzrw3-a is in http://wwwvms.utexas.edu/~cbloom/src/lzrw.zip
  721.  
  722. The 14 files used in the comparison are from the standard Calgary
  723. Text Compression Corpus, available in
  724. ftp://ftp.cpsc.ucalgary.ca/pub/projects/text.compression.corpus/
  725.  
  726. The whole corpus includes 18 files, but the 4 files paper[3-6] are
  727. generally omitted in benchmarks. It contains several kinds of file
  728. (ascii, binary, image, etc...) but has a bias towards large files.
  729. You may well get different ratings on the typical mix of files that
  730. you use daily, so keep in mind that the comparisons given below are
  731. only indicative.
  732.  
  733. The programs are ordered by decreasing total compressed size. For a
  734. fair comparison between archivers and other programs, this size is
  735. only the size of the compressed data, not the archive size.
  736.  
  737. The programs were run on an idle machine, so the elapsed time
  738. is significant and can be used to compare Unix and MSDOS programs.
  739.  
  740. [Note: These benchmarks are now *very* old. I have to do them again
  741. on more recent hardware with the latest programs. For recent results
  742. on MSDOS, check http://www.geocities.com/SiliconValley/Park/4264/act.html ]
  743.  
  744.        size     lzrw3a   compress    lharc    yabba     pkzip    freeze 
  745. version:                   4.0       1.02      1.0       1.10     2.3.5
  746. options:                                    -m300000                    
  747.        ------    -----    ------    ------    ------    ------   ------
  748. bib    111261    49040     46528     46502     40456     41354    41515 
  749. book1  768771   416131    332056    369479    306813    350560   344793 
  750. book2  610856   274371    250759    252540    229851    232589   230861 
  751. geo    102400    84214     77777     70955     76695     76172    68626 
  752. news   377109   191291    182121    166048    168287    157326   155783 
  753. obj1    21504    12647     14048     10748     13859     10546    10453 
  754. obj2   246814   108040    128659     90848    114323     90130    85500 
  755. paper1  53161    24522     25077     21748     22453     20041    20021 
  756. paper2  82199    39479     36161     35275     32733     32867    32693 
  757. pic    513216   111000     62215     61394     65377     63805    53291 
  758. progc   39611    17919     19143     15399     17064     14164    14143 
  759. progl   71646    24358     27148     18760     23512     17255    17064 
  760. progp   49379    16801     19209     12792     16617     11877    11686 
  761. trans   93695    30292     38240     28092     31300     23135    22861 
  762.     3,141,622  1,400,105 1,259,141 1,200,580 1,159,340 1,141,821 1,109,290
  763. real             0m35s     0m59s     5m03s     2m40s              5m27s
  764. user             0m25s     0m29s     4m29s     1m46s              4m58s
  765. sys              0m05s     0m10s     0m07s     0m18s              0m08s
  766. MSDOS:                                                   1m39s
  767.                         
  768.  
  769.          zoo       lha       arj      pkzip    zip      hpack   comp-2    ha
  770.         2.10    1.0(Unix)   2.30      2.04g    1.9      0.75a            0.98
  771.          ah    2.13(MSDOS)   -jm       -ex      -6                        a2
  772.        ------    ------    ------    ------  -------   ------   ------  ------
  773. bib     40742     40740     36090    35126    34950    35619    29840   26927
  774. book1  339076    339074    318382   312490   312619   306876   237380  235733
  775. book2  228444    228442    210521   206513   206306   208486   174085  163535
  776. geo     68576     68574     69209    68706    68418    58976    64590   59356
  777. news   155086    155084    146855   144545   144395   141608   128047  123335
  778. obj1    10312     10310     10333    10306    10295    10572    10819    9799
  779. obj2    84983     84981     82052    81132    81336    80806    85465   80381
  780. paper1  19678     19676     18710    18531    18525    18607    16895   15675
  781. paper2  32098     32096     30034    29568    29674    29825    25453   23956
  782. pic     52223     52221     53578    52409    55051    51778    55461   51639
  783. progc   13943     13941     13408    13341    13238    13475    12896   11795
  784. progl   16916     16914     16408    16122    16175    16586    17354   15298
  785. progp   11509     11507     11308    11200    11182    11647    11668   10498
  786. trans   22580     22578     20046    19462    18879    20506    21023   17927
  787.     1,096,166 1,096,138 1,036,934 1,019,451 1,021,043 1,005,367 890,976 845,854
  788. real    4m07s     6m03s                        1m49s   1h22m17s  27m05s
  789. user    3m47s     4m23s                        1m43s   1h20m46s  19m27s
  790. sys     0m04s     0m08s                        0m02s      0m12s   2m03s
  791. MSDOS:            1m49s     2m41s     1m43s                              14m43s
  792.  
  793. Notes:
  794.  
  795. - the compressed data for 'zoo ah' is always two bytes longer than for
  796.   lha. This is simply because both programs are derived from the same
  797.   source (ar002, written by Haruhiko Okumura, available by ftp in
  798.   ftp://ftp.simtel.net/pub/simtelnet/msdos/arcers/ar002.zip).
  799.  
  800. - hpack 0.75a gives slightly different results on SunOS. (To be checked
  801.   with latest version of hpack).
  802.  
  803. - the MSDOS versions are all optimized with assembler code and were run
  804.   on a RAM disk. So it is not surprising that they often go faster than
  805.   their Unix equivalent.
  806.  
  807. ------------------------------------------------------------------------------
  808.  
  809. Subject: [7] Which books should I read?
  810.  
  811.  
  812. [BWC 1989] Bell, T.C, Cleary, J.G. and Witten, I.H, "Text Compression",
  813.     Prentice-Hall 1989. ISBN: 0-13-911991-4. Price: approx. US$60
  814.     The reference on text data compression.
  815.  
  816. [Nel 1996] Mark Nelson & Jean-loup Gailly, "The Data Compression Book",
  817.     2nd edition. M&T Books, New York, NY 1996. ISBN 1-55851-434-1
  818.     541 pages. List price in the US is $39.95 including one PC-compatible
  819.     disk bearing all the source code printed in the book.
  820.     A practical introduction to data compression.
  821.     The book is targeted at a person who is comfortable reading C code but
  822.     doesn't know anything about data compression.  Its stated goal is to get
  823.     you up to the point where you are competent to program standard
  824.     compression algorithms.
  825.  
  826. [Will 1990] Williams, R.  "Adaptive Data Compression", Kluwer Books, 1990.
  827.     ISBN: 0-7923-9085-7. Price: US$75.
  828.     Reviews the field of text data compression and then addresses the
  829.     problem of compressing rapidly changing data streams.
  830.  
  831. [Stor 1988] Storer, J.A.  "Data Compression: Methods and Theory", Computer
  832.     Science Press, Rockville, MD. ISBN: 0-88175-161-8.
  833.     A survey of various compression techniques, mainly statistical
  834.     non-arithmetic compression and LZSS compression.  Includes complete Pascal
  835.     code for a series of LZ78 variants.
  836.  
  837. [Stor 1992] Storer, J.A. "Image and Text Compression", Kluwer Academic
  838.     Publishers, 1992, ISBN 0-7923-9243-4
  839.  
  840. [Say 1996] Sayood, Khalid. "Introduction to Data Compression",
  841.   San Francisco:  Morgan Kaufmann Publishers, 1996. ISBN 1-55860-346-8;
  842.   US&Canada $64.95. More info in http://www.mkp.com/pages/3468/index.html
  843.   The book covers both lossy and lossless compression techniques and their
  844.   applications to image, speech, text, audio, and video compression.
  845.  
  846. [HHJ 1997] Darrel Hankerson, Greg A. Harris, and Peter D. Johnson Jr.
  847.  "Introduction to Information Theory and Data Compression", 1997.
  848.   ISBN 0-8493-3985-5   http://www.dms.auburn.edu/compression/
  849.  
  850. [DS 1997] David Salomon, "Data Compression: The Complete Reference"
  851.  Springer, 1997, ISBN 0-387-98280-9. Price: US$ 39.95.
  852.  
  853. [BK 95] Bhaskaran V. and Konstantinides K., "Image and Video Compression
  854.     Standards: Algorithms and Architectures", Kluwer Academic Publishers, 1995.
  855.     ISBN 0-7923-9591-3
  856.  
  857. [ACG 1991] Advances in Speech Coding, edited by Atal, Cuperman, and Gersho,
  858.     Kluwer Academic Press, 1991.
  859.  
  860. [GG 1991] Vector Quantization and Signal Compression, by Gersho and Gray,
  861.     Kluwer Acad. Press, 1991, ISBN 0-7923-9181-0.
  862.  
  863. [CT 1991] Elements of Information Theory, by T.M.Cover and J.A.Thomas
  864.      John Wiley & Sons, 1991. ISBN 0-471-06259-6.
  865.  
  866. Review papers:
  867.  
  868. [BWC 1989] Bell, T.C, Witten, I.H, and Cleary, J.G.  "Modeling for Text
  869.     Compression", ACM Computing Surveys, Vol.21, No.4 (December 1989), p.557
  870.     A good general overview of compression techniques (as well as modeling for
  871.     text compression); the condensed version of "Text Compression".
  872.  
  873. [Lele 1987] Lelewer, D.A, and Hirschberg, D.S.  "Data Compression", ACM
  874.     Computing Surveys, Vol.19, No.3 (September 1987), p.261.
  875.     A survey of data compression techniques which concentrates on Huffman
  876.     compression and makes only passing mention of other techniques.
  877.  
  878.  
  879. Bibliographies for Image Compression are available at
  880. http://www.dip.ee.uct.ac.za/~brendt/bibliographies/
  881.  
  882.  
  883. ------------------------------------------------------------------------------
  884.  
  885. Subject: [8] What about patents on data compression algorithms?
  886.  
  887.  
  888. [Note: the appropriate group for discussing software patents is
  889. comp.patents or misc.legal.computing, not comp.compression.]
  890.  
  891. Only a very small subset of all patents on data compression are mentioned
  892. here; there are several hundred patents on lossless data compression alone.
  893. All patents mentioned here are US patents, and thus probably not applicable
  894. outside the US.  The abstracts and claims of all recent US patents can be
  895. obtained from http://patent.womplex.ibm.com/
  896. See item 70, "Introduction to data compression" for the
  897. meaning of LZ77, LZ78 or LZW.
  898.  
  899.  
  900. (a) Run length encoding
  901.  
  902. - Tsukiyama has two patents on run length encoding: 4,586,027 and 4,872,009
  903.   granted in 1986 and 1989 respectively. The first one covers run length
  904.   encoding in its most primitive form: a length byte followed by the
  905.   repeated byte. The second patent covers the 'invention' of limiting the
  906.   run length to 16 bytes and thus the encoding of the length on 4 bits.
  907.   Here is the start of claim 1 of patent 4,872,009, just for pleasure:
  908.  
  909.     1. A method of transforming an input data string comprising a plurality
  910.     of data bytes, said plurality including portions of a plurality of
  911.     consecutive data bytes identical to one another, wherein said data
  912.     bytes may be of a plurality of types, each type representing different
  913.     information, said method comprising the steps of: [...]
  914.  
  915. - O'Brien has patented (4,988,998) run length encoding followed by LZ77.
  916.  
  917.  
  918. (b) LZ77
  919.  
  920. - Waterworth patented (4,701,745) the algorithm now known as LZRW1,
  921.   because Ross Williams reinvented it later and posted it on
  922.   comp.compression on April 22, 1991. (See item 5 for the ftp site
  923.   with all LZRW derivatives.) The *same* algorithm has later been
  924.   patented by Gibson & Graybill (see below). The patent office failed
  925.   to recognize that the same algorithm was patented twice, even though
  926.   the wording used in the two patents is very similar.
  927.  
  928.   The Waterworth patent is now owned by Stac Inc, which won a lawsuit
  929.   against Microsoft, concerning the compression feature of MSDOS 6.0.
  930.   Damages awarded were $120 million. (Microsoft and Stac later
  931.   settled out of court.)
  932.  
  933. - Fiala and Greene obtained in 1990 a patent (4,906,991) on all
  934.   implementations of LZ77 using a tree data structure. Claim 1 of the
  935.   patent is much broader than the algorithms published by Fiala and
  936.   Greene in Comm.ACM, April 89. The patent covers the algorithm
  937.   published by Rodeh and Pratt in 1981 (J. of the ACM, vol 28, no 1,
  938.   pp 16-24).  It also covers the algorithms used in lharc, lha and zoo.
  939.  
  940. - Notenboom (from Microsoft) 4,955,066 uses three levels of
  941.   compression, starting with run length encoding.
  942.  
  943. - The Gibson & Graybill patent 5,049,881 covers the LZRW1 algorithm
  944.   previously patented by Waterworth and reinvented by Ross Williams.
  945.   Claims 4 and 12 are very general and could be interpreted as
  946.   applying to any LZ algorithm using hashing (including all variants
  947.   of LZ78):
  948.  
  949.      4. A compression method for compressing a stream of input data into
  950.      a compressed stream of output data based on a minimum number of
  951.      characters in each input data string to be compressed, said
  952.      compression method comprising the creation of a hash table, hashing
  953.      each occurrence of a string of input data and subsequently searching
  954.      for identical strings of input data and if such an identical string
  955.      of input data is located whose string size is at least equal to the
  956.      minimum compression size selected, compressing the second and all
  957.      subsequent occurrences of such identical string of data, if a string
  958.      of data is located which does not match to a previously compressed
  959.      string of data, storing such data as uncompressed data, and for each
  960.      input strings after each hash is used to find a possible previous
  961.      match location of the string, the location of the string is stored
  962.      in the hash table, thereby using the previously processed data to
  963.      act as a compression dictionary.
  964.  
  965.   Claim 12 is identical, with 'method' replaced with 'apparatus'.  Since
  966.   the 'minimal compression size' can be as small as 2, the claim could
  967.   cover any dictionary technique of the LZ family. However the text of the
  968.   patent and the other claims make clear that the patent should cover the
  969.   LZRW1 algorithm only. (In any case the Gibson & Graybill patent is likely
  970.   to be invalid because of the prior art in the Waterworth patent.)
  971.  
  972. - Phil Katz, author of pkzip, also has a patent on LZ77 (5,051,745)
  973.   but the claims only apply to sorted hash tables, and when the hash
  974.   table is substantially smaller than the window size.
  975.  
  976. - IBM patented (5,001,478) the idea of combining a history buffer (the
  977.   LZ77 technique) and a lexicon (as in LZ78).
  978.  
  979. - Stac Inc patented (5,016,009 and 5,126,739) yet another variation of LZ77
  980.   with hashing. The '009 patent was used in the lawsuit against Microsoft
  981.   (see above). Stac also has a patent on LZ77 with parallel lookup in
  982.   hardware (5,003,307).
  983.  
  984. - Robert Jung, author of 'arj', has been granted patent 5,140,321 for one
  985.   variation of LZ77 with hashing.  This patent is very close to the
  986.   LZRW3-A algorithm, also previously discovered by Ross Williams. LZRW3-A was
  987.   posted on comp.compression on July 15, 1991. The patent was filed two months
  988.   later on Sept 4, 1991. Microsoft has patented a similar idea (two level
  989.   table with pseudo-LRU managment of slots inside the level-2 table) in
  990.   5,455,577 (filed in 1993).
  991.  
  992. - Chambers 5,155,484 is yet another variation of LZ77 with hashing.
  993.   The hash function is just the juxtaposition of two input bytes,
  994.   this is the 'invention' being patented. The hash table is named
  995.   'direct lookup table'.
  996.  
  997.  
  998. (c) LZ78
  999.  
  1000. - One form of the original LZ78 algorithm was patented (4,464,650) by
  1001.   its authors Lempel, Ziv, Cohn and Eastman. This patent is owned
  1002.   by Unisys.
  1003.  
  1004.  
  1005. - The LZW algorithm used in 'compress' is patented by IBM (4,814,746)
  1006.   and Unisys (4,558,302). It is also used in the V.42bis compression
  1007.   standard (see question 11 on V.42bis below), in Postscript Level 2, in
  1008.   GIF and TIFF.  Unisys sells the license to modem manufacturers for a
  1009.   onetime fee (contact: Welch Patent Desk, Unisys Corp., P.O. Box 500,
  1010.   Bluebell, PA 19424 Mailcode C SW 19). CompuServe is licensing the
  1011.   usage of LZW in GIF products for 1.5% of the product price, of which
  1012.   1% goes to Unisys; usage of LZW in non-GIF products must be licensed
  1013.   directly from Unisys. For more information, see http://www.unisys.com/
  1014.   or email to lzw_info@unisys.com.
  1015.  
  1016.      The IBM patent application was first filed three weeks before that of
  1017.   Unisys, but the US patent office failed to recognize that they
  1018.   covered the same algorithm. (The IBM patent is more general, but its
  1019.   claim 7 is exactly LZW.)
  1020.  
  1021. - Klaus Holtz also claims that patent 4,366,551 for his "autosophy"
  1022.   data compression method covers LZ78 and LZW. According to Holtz, most of
  1023.   the largest V.42bis modem manufacturers have paid for patent licenses.
  1024.  
  1025. - AP coding is patented by Storer (4,876,541). (Get the yabba package
  1026.   for source code, see question 2 above, file type .Y) Storer also
  1027.   claims that his patent covers V.42bis.
  1028.  
  1029.  
  1030. (d) arithmetic coding
  1031.  
  1032. - IBM holds many patents on arithmetic coding (4,122,440 4,286,256 4,295,125
  1033.   4,463,342 4,467,317 4,633,490 4,652,856 4,792,954 4,891,643 4,901,363
  1034.   4,905,297 4,933,883 4,935,882 5,045,852 5,099,440 5,142,283 5,210,536
  1035.   5,414,423 5,546,080). It has patented in particular the Q-coder
  1036.   implementation of arithmetic coding.  The JBIG standard, and the arithmetic
  1037.   coding option of the JPEG standard requires use of the patented algorithm.
  1038.   No JPEG-compatible method is possible without infringing the patent, because
  1039.   what IBM actually claims rights to is the underlying probability model (the
  1040.   heart of an arithmetic coder). (See item 75 for details.)
  1041.  
  1042.   See also below details on many other patents on arithmetic coding (4,973,961
  1043.   4,989,000 5,023,611 5,025,258 5,272,478 5,307,062 5,309,381 5,311,177
  1044.   5,363,099 5,404,140 5,406,282 5,418,532). The list is not exhaustive.
  1045.  
  1046.  
  1047. (e) predictor
  1048.  
  1049. - The 'predictor' algorithm was first described in the paper
  1050.  
  1051.     Raita, T. and Teuhola, J. (1987), "Predictive text compression by hashing",
  1052.     ACM Conference on Information Retrieval
  1053.  
  1054.   This algorithm has been patented (5,229,768) by K. Thomas in 1993. It
  1055.   is used in the Internet Draft "PPP Predictor Compression Protocol" (see
  1056.   ftp://venera.isi.edu/internet-drafts/draft-ietf-pppext-predictor-00.txt).
  1057.  
  1058. (f) compression of random data
  1059.  
  1060. - The US patent office no longer grants patents on perpetual motion machines,
  1061.   but has recently granted a patent on a mathematically impossible process
  1062.   (compression of truly random data): 5,533,051 "Method for Data Compression".
  1063.   See item 9.5 of this FAQ for details.
  1064.  
  1065.  
  1066. As can be seen from the above list, some of the most popular compression
  1067. programs (compress, pkzip, zoo, lha, arj) are now covered by patents.
  1068. (This says nothing about the validity of these patents.)
  1069.  
  1070. Here are some references on data compression patents. Some of them are
  1071. taken from the list ftp://prep.ai.mit.edu/pub/lpf/patent-list.
  1072.  
  1073. 3,914,586
  1074. Data compression method and apparatus
  1075. filed 10/25/73, granted 10/21/75
  1076. General Motors Corporation, Detroit MI
  1077. Duane E. McIntosh, Santa Ynez CA
  1078. Data compression apparatus is disclosed is operable in either a bit
  1079. pair coding mode of a word coding mode depending on the degree of
  1080. redundancy of the data to be encoded.
  1081.  
  1082. 3,976,844
  1083. Data communication system for transmitting data in compressed form
  1084. filed Apr. 4, 1975, granted Aug. 24, 1976
  1085. inventor  Bernard K. Betz, assignee Honeywell Information Systems, Inc.
  1086. [encode differences with previous line]
  1087.  
  1088. 4,021,782
  1089. Data compaction system and apparatus
  1090. inventor Hoerning
  1091. filed 04/30/1975, granted 05/03/1977
  1092. [A primitive form of LZ77 with implicit offsets (compare with previous record)]
  1093.  
  1094. 4,054,951
  1095. Data expansion apparatus
  1096. inventor R.D. Jackson, assignee IBM
  1097. filed Jun. 30, 1976, granted Oct. 18, 1977
  1098. [Covers only decompression of data compressed with a variant of LZ77.]
  1099.  
  1100. 4,087,788
  1101. Data compression system
  1102. filed 1/14/77, granted 5/2/78
  1103. NCR Canada LTD - NCR Canada Ltee, Mississauga CA
  1104. Brian J. Johannesson, Waterloo CA
  1105. A data compression system is disclosed in which the left hand boundary
  1106. of a character is developed in the form of a sequence of Freeman
  1107. direction codes, the codes being stored in digital form within a
  1108. processor.
  1109.  
  1110. 4,122,440
  1111. Method and means for arithmetic string coding
  1112. assignee IBM
  1113. filed 1977/03/04, granted 1978/10/24
  1114. [This is the basic idea of arithmetic coding. Note that the patent is
  1115. expired now.]
  1116.  
  1117. 4,286,256
  1118. Method and means for arithmetic coding using a reduced number of operations.
  1119. granted Aug 25, 1981
  1120. assignee IBM
  1121.  
  1122. 4,295,125
  1123. A method and means for pipeline decoding of the high to low order pairwise
  1124. combined digits of a decodable set of relatively shifted finite number of
  1125. strings
  1126. granted Oct 13, 1981
  1127. assignee IBM
  1128.  
  1129. 4,366,551
  1130. Associative Memory Search System
  1131. filed June 16, 1975, granted Dec. 28, 1982.
  1132. inventor Klaus Holtz, assignee Omni Dimensional Networks.
  1133.  
  1134. 4,412,306
  1135. System for minimizing space requirements for storage and transmission of
  1136. digital signals
  1137. filed May 14, 1981, granted Oct. 25, 1983
  1138. inventor  Edward W. Moll
  1139.  
  1140. 4,463,342
  1141. A method and means for carry-over control in a high order to low order
  1142. combining of digits of a decodable set of relatively shifted finite number
  1143. strings.
  1144. granted Jul 31, 1984
  1145. assignee IBM
  1146.  
  1147. 4,491,934
  1148. Data compression process
  1149. filed May 12, 1982, granted Jan. 1, 1985
  1150. inventor  Karl E. Heinz
  1151.  
  1152. 4,464,650
  1153. Apparatus and method for compressing data signals and restoring the
  1154. compressed data signals
  1155. inventors Lempel, Ziv, Cohn, Eastman
  1156. assignee Sperry Corporation (now Unisys)
  1157. filed 8/10/81, granted 8/7/84
  1158. A compressor parses the input data stream into segments where each
  1159. segment comprises a prefix and the next symbol in the data stream
  1160. following the prefix. [This is the original LZ78 algorithm.]
  1161.  
  1162. 4,467,317
  1163. High-speed arithmetic compression using using concurrent value updating.
  1164. granted Aug 21, 1984
  1165. assignee IBM
  1166.  
  1167. 4,494,108
  1168. Adaptive source modeling for data file compression within bounded memory
  1169. filed Jun. 5, 1984, granted Jan. 15, 1985
  1170. invntors Glen G. Langdon, Jorma J. Rissanen
  1171. assignee IBM
  1172. order 1 Markov modeling
  1173.  
  1174. 4,558,302
  1175. High speed data compression and decompression apparatus and method
  1176. inventor Welch
  1177. assignee Sperry Corporation (now Unisys)
  1178. filed 6/20/83, granted 12/10/85
  1179. re-examined: filed 12/14/92, granted 4/1/94.
  1180. The text of the original 1985 patent can be ftped from
  1181. ftp://ftp.uni-stuttgart.de/pub/doc/comp-patents/US4558302.Z
  1182. There is also a European Patent 0,129,439  1/2/89 for DE, FR, GB, IT
  1183. and patent pending for Japan.
  1184.  
  1185. 4,560,976
  1186. Data compression
  1187. filed 6/5/84, granted 12/24/85
  1188. Codex Corporation, Mansfield MA
  1189. Steven G. Finn, Framingham, MA
  1190. A stream of source characters, which occur with varying relative
  1191. frequencies, is encoded into a compressed stream of codewords, each
  1192. having one, two or three subwords, by ranking the source characters by
  1193. their current frequency of appearance, encoding the source characters
  1194. having ranks no higher than a first number as one subword codewords,
  1195. source characters having ranks higher than the first number but no
  1196. higher than a second number as two subword codewords, and the
  1197. remaining source characters as three subword codewords.
  1198.  
  1199. 4,586,027
  1200. Method and system for data compression and restoration
  1201. inventor Tsukimaya et al.
  1202. assignee Hitachi
  1203. filed 08/07/84, granted 04/29/86
  1204. patents run length encoding
  1205.  
  1206. 4,597,057
  1207. System for compressed storate of 8-bit ascii bytes using coded strings
  1208. of 4-bit nibbles.
  1209. inventor Snow, assignee System Development corporation.
  1210. filed 12/31/1981, granted 06/24/1986.
  1211. Compression using static dictionary of common words, prefixes and suffixes.
  1212.  
  1213. 4,612,532
  1214. Data compression apparatus and method
  1215. inventor Bacon, assignee Telebyte Corportion
  1216. filed Jun. 19, 1984, granted Sep. 16, 1986
  1217. [Uses followsets as in the pkzip 0.92 'reduce' algorithm, but the
  1218. followsets are dynamically updated. This is in effect a sort of order-1
  1219. Markov modeling.]
  1220.  
  1221. 4,622,545
  1222. Method and apparatus for image compression and Manipulation
  1223. inventor William D. Atkinson
  1224. assignee Apple computer Inc.
  1225. filed 9/30/82
  1226. granted 11/11/86
  1227.  
  1228. 4,633,490
  1229. Symmetrical adaptive data compression/decompression system.
  1230. granted Dec 30, 1985
  1231. assignee IBM
  1232.  
  1233. 4,652,856
  1234. A multiplication-free multi-alphabet arithmetic code.
  1235. granted Feb  4, 1986
  1236. assignee IBM
  1237.  
  1238. 4,667,649
  1239. Data receiving apparatus
  1240. filed 4/18/84, granted 6/30/87
  1241. inventors Kunishi et al.
  1242. assignee Canon Kabushiki Kaisha, Tokyo Japan
  1243. compression of Fax images.
  1244.  
  1245. 4,682,150
  1246. Data compression method and apparatus
  1247. inventors Mathes and Protheroe, 
  1248. assignee NCR Corporation, Dayton OH
  1249. A system and apparatus for compressing redundant and nonredundant
  1250. binary data generated as part of an operation of a time and attendance
  1251. terminal in which the data represents the time an employee is present
  1252. during working hours.
  1253.  
  1254. 4,701,745
  1255. Data compression system
  1256. inventor Waterworth John R
  1257. assignee Ferranti PLC GB, patent rights now acquired by Stac Inc.
  1258. filed 03/03/1986 (03/06/1985 in GB), granted 10/20/1987
  1259. Algorithm now known as LZRW1 (see above)
  1260. I claim:
  1261. 1. A data compression system comprising an input store for receiving
  1262. and storing a plurality of bytes of uncompressed data from an outside
  1263. source, and data processing means for processing successive bytes of
  1264. data from the input store;
  1265. the data processing means including circuit means operable to check
  1266. whether a sequence of successive bytes to be processed identical with
  1267. a sequence of bytes already processed, and including hash generating
  1268. means responsive to the application of a predetermined number of
  1269. bytes in sequence to derive a hash code appropriate to those bytes, a
  1270. temporary store in which the hash code may represent the address of a
  1271. storage location, and a pointer counter operable to store in the
  1272. temporary store at said address a pointer indicative of the position
  1273. in the input store of one of the predetermined number of bytes;
  1274. output means operable to apply to a transfer medium each byte of data
  1275. not forming part of such an identical sequence; and
  1276. encoding means responsive to the identification of such a sequence to
  1277. apply to the transfer medium an identification signal which identifies
  1278. both the location in the input store of the previous occurrence of the
  1279. sequence of bytes and the number of bytes contained in the sequence.
  1280.  
  1281. 4,730,348
  1282. Adaptive data compression system
  1283. inventor MacCrisken, assignee Adaptive Computer Technologies
  1284. filed Sep. 19, 1986, granted Mar. 8, 1988
  1285. [order-1 Markov modeling + Huffman coding + LZ77]
  1286.  
  1287. 4,758,899
  1288. Data compression control device
  1289. inventor Tsukiyama, assignee Hitachi
  1290. filed 11/20/1985, granted 07/19/1988
  1291. Limits compression to ensure that tape drive stays busy.
  1292.  
  1293. 4,792,954
  1294. Concurrent detection of errors in arithmetic data compression coding
  1295. assignee IBM
  1296. filed 1986/10/31, granted 1988/12/20
  1297.  
  1298. 4,809,350
  1299. Data compression system
  1300. filed Jan. 30, 1987, granted Feb. 28, 1989
  1301. inventor Yair Shimoni & Ron Niv
  1302. assignee Elscint Ltd., Haifa, Israel
  1303. [Image compression via variable length encoding of differences with
  1304. predicted data.]
  1305.  
  1306. 4,814,746
  1307. Data compression method
  1308. inventors Victor S. Miller, Mark N. Wegman
  1309. assignee IBM
  1310. filed 8/11/86, granted 3/21/89
  1311. A previous application was filed on 6/1/83, three weeks before the
  1312. application by Welch (4,558,302)
  1313. Communications between a Host Computing System and a number of remote
  1314. terminals is enhanced by a data compression method which modifies the
  1315. data compression method of Lempel and Ziv by addition of new character
  1316. and new string extensions to improve the compression ratio, and
  1317. deletion of a least recently used routine to limit the encoding tables
  1318. to a fixed size to significantly improve data transmission efficiency.
  1319.  
  1320. 4,841,092
  1321. continued in 5,003,307
  1322.  
  1323. 4,853,696
  1324. Code converter for data compression/decompression
  1325. filed 4/13/87, granted 8/1/89
  1326. inventor Amar Mukherjee, Maitland FL
  1327. assignee University of Central Florida, Orlando FL
  1328. Another hardware Huffman encoder:
  1329. A code converter has a network of logic circuits connected in reverse
  1330. binary tree fashion with logic paths between leaf nodes and a common
  1331. root node.
  1332.  
  1333. 4,872,009
  1334. Method and apparatus for data compression and restoration
  1335. inventor Tsukimaya et al.
  1336. assignee Hitachi
  1337. filed 12/07/87, granted 10/03/89
  1338. This patent on run length encoding covers the 'invention' of limiting
  1339. the run length to 16 bytes and thus the encoding of the length on 4 bits.
  1340.  
  1341. 4,876,541
  1342. Stem [sic] for dynamically compressing and decompressing electronic data
  1343. filed 10/15/87, granted 10/24/89
  1344. inventor James A. Storer
  1345. assignee Data Compression Corporation
  1346. A data compression system for encoding and decoding textual data,
  1347. including an encoder for encoding the data and for a decoder for
  1348. decoding the encoded data.
  1349.  
  1350. 4,891,643
  1351. Arithmetic coding data compression/de-compression by selectively
  1352. employed, diverse arithmetic encoders and decoders.
  1353. file 1986/09/15, granted 1990/01/02
  1354. assignee IBM
  1355.  
  1356. 4,901,363
  1357. System for compressing bi-level data
  1358. assignee IBM
  1359. [arithmetic coding]
  1360.  
  1361. 4,905,297
  1362. Arithmetic coding encoder and decoder system.
  1363. granted Feb 27, 1990
  1364. assignee IBM
  1365.  
  1366. 4,906,991
  1367. Textual substitution data compression with finite length search window
  1368. filed 4/29/1988, granted 3/6/1990
  1369. inventors Fiala,E.R., and Greene,D.H.
  1370. assignee Xerox Corporation
  1371. extended in 5,058,144
  1372.  
  1373. 4,933,883
  1374. Probability adaptation for arithmetic coders.
  1375. granted Jun 12, 1990
  1376. assignee IBM
  1377.  
  1378. 4,935,882
  1379. Probability adaptation for arithmetic coders.
  1380. granted Jun 19, 1990
  1381. assignee IBM
  1382.  
  1383. 4,941,193
  1384. Barnsley, fractal compression.
  1385.  
  1386. 4,943,869
  1387. Compression Method for Dot Image Data
  1388. filed 1988-05-04, granted 1990-07-24
  1389. assignee Fuji Photo Film Co.
  1390. Lossy and lossless image compression schemes.
  1391.  
  1392. 4,955,066
  1393. Compressing and Decompressing Text Files
  1394. filed  10/13/89, granted 09/04/90
  1395. inventor Notenboom, L.A.
  1396. assignee Microsoft
  1397. Now extended as 5,109,433
  1398. [Noted in signon screen of Word 5.5 and on the outside of the MS-DOS 5.0
  1399. Upgrade.]
  1400. A method of compressing a text file in digital form is disclosed.
  1401. A full text file having characters formed into phrases is provided by an
  1402. author.  The characters are digitally represented by bytes.  A first pass
  1403. compression is sequentially followed by a second pass compression of the
  1404. text which has previously been compressed.  A third or fourth level of
  1405. compression is serially performed on the compressed text.  For example, in
  1406. a first pass, the text is run-length compressed.  In a second pass, the
  1407. compressed text is further compressed with key phrase compression.  In a
  1408. third pass, the compressed text is further compressed with Huffman
  1409. compression.  The compressed text is stored in a text file having a Huffman
  1410. decode tree, a key phrase table, and a topic index.  The data is
  1411. decompressed in a single pass and provided one line at a time as an output.
  1412. Sequential compressing of the text minimizes the storage space required for
  1413. the file.  Decompressing of the text is performed in a single pass.  As a
  1414. complete line is decompressed, it is output rapidly, providing full text to
  1415. the user.
  1416.  
  1417. 4,973,961
  1418. Method and apparatus for carry-over control in arithmetic coding.
  1419. granted Nov 27, 1990
  1420. assignee AT&T
  1421.  
  1422. 4,988,998
  1423. Data compression system for successively applying at least two data
  1424. compression methods to an input data stream.
  1425. inventor O'Brien
  1426. assignee Storage Technology Corporation, Louisville, Colorado
  1427. filed Sep 5, 1989, granted Jan 29, 1991.
  1428. Run length encoding followed by LZ77.
  1429.  
  1430. 4,989,000
  1431. Data string compression using arithmetic encoding with simplified probability
  1432. subinterval estimation
  1433. filed 1989/06/19, granted 1991/01/29]
  1434. [shift & add instead of multiply]
  1435.  
  1436. 5,001,478
  1437. Method of Encoding Compressed Data
  1438. filed 12/28/89, granted 03/19/91
  1439. inventor Michael E. Nagy
  1440. assignee IBM
  1441. 1. A method of encoding a compressed data stream made up of a sequence of
  1442. literal references, lexicon references and history references, which
  1443. comprises the steps of:
  1444. assigning to each literal reference a literal identifier;
  1445. assigning to each history reference a history identifier;
  1446. assigning to each lexicon reference a lexicon identifier;
  1447. and emitting a data stream with said identifiers assigned to said references.
  1448. Gordon Irlam <gordoni@cs.adelaide.edu.au> says:
  1449. The invention can probably be best understood by considering the
  1450. decompressor.  It consists of a history buffer, and a lexicon buffer, both
  1451. of which are initially empty.  The history buffer contains the last n
  1452. symbols emitted.  Whenever a history buffer reference is to be output the
  1453. string so referenced is subsequently moved to the lexicon buffer for future
  1454. reference.  Thus the history buffer keeps track of strings that may be
  1455. repeated on a very short term basis, while the lexicon buffer stores items
  1456. for a longer time.  Furthermore a history reference involves specifying
  1457. both the offset and length within the history buffer, whereas a lexicon
  1458. reference simply specifies a number denoting the string.  Both buffers have
  1459. a finite size.
  1460.  
  1461. 5,003,307
  1462. Data compression apparatus with shift register search means
  1463. filed Oct. 6, 1989, granted Mar. 26, 1991
  1464. inventors George Glen A, Ivey Glen E, Whiting Douglas L
  1465. assignee Stac Inc
  1466. continuation of 4,841,092
  1467.  
  1468. 5,016,009
  1469. Data compression apparatus and method
  1470. filed 01/13/1989, granted 05/14/1991
  1471. inventors George Glen A, Ivey Glen E, Whiting Douglas L
  1472. assignee Stac Inc
  1473. LZ77 with offset hash table (extended in 5,126,739)
  1474.  
  1475. 5,023,611
  1476. Entropy encoder/decoder including a context extractor.
  1477. granted Jun 11, 1991
  1478. assignee AT&T
  1479.  
  1480. 5,025,258
  1481. Adaptive probability estimator for entropy encoder/decoder.
  1482. granted Jun 18, 1991
  1483. assignee AT&T
  1484.  
  1485. 5,045,852
  1486. Dynamic model selection during data compression
  1487. assignee IBM
  1488. [arithmetic coding]
  1489.  
  1490. 5,049,881
  1491. Apparatus and method for very high data rate-compression incorporating
  1492. lossless data compression and expansion utilizing a hashing technique
  1493. inventors Dean K. Gibson, Mark D. Graybill
  1494. assignee Intersecting Concepts, Inc.
  1495. filed 6/18/90, granted 9/17/91
  1496. [covers lzrw1, almost identical with Waterworth 4,701,745]
  1497.  
  1498. 5,051,745
  1499. String searcher, and compressor using same
  1500. filed  8/21/90, granted 9/24/91
  1501. inventor  Phillip W. Katz (author of pkzip)
  1502. In the string search method and apparatus pointers to the string to be
  1503. searched are indexed via a hashing function and organized according to the
  1504. hashing values of the string elements pointed to. The hashing function is
  1505. also run on the string desired to be found, and the resulting hashing value
  1506. is used to access the index. If the resulting hashing value is not in the
  1507. index, it is known that the target string does not appear in the string
  1508. being searched. Otherwise the index is used to determine the pointers which
  1509. correspond to the target hashing value, these pointers pointing to likely
  1510. candidates for matching the target string. The pointers are then used to
  1511. sequentially compare each of the locations in the string being searched to
  1512. the target string, to determine whether each location contains a match to
  1513. the target string.
  1514. In the method and apparatus for compressing a stream of data symbols, a
  1515. fixed length search window, comprising a predetermined contiguous portion
  1516. of the symbol stream, is selected as the string to be searched by the
  1517. string searcher. If a string to be compressed is found in the symbol
  1518. stream, a code is output designating the location within the search window
  1519. of the matching string and the length of the matching string.
  1520.  
  1521. 5,065,447 (continued in 5,347,600)
  1522. Method and apparatus for processing digital data
  1523. filed Jul. 5, 1989, granted Nov. 12, 1991
  1524. inventors Michael F. Barnsley and Alan D. Sloan
  1525. [Patents image compression with the "Fractal Transform"]
  1526.  
  1527. 5,099,440
  1528. Probability adaptation for arithmetic coders
  1529.  
  1530. 5,109,433
  1531. Compressing and decompressing text files
  1532. inventor Notenboom
  1533. assignee Microsoft
  1534. extension of 4,955,066
  1535.  
  1536. 5,126,739
  1537. Data Compression Apparatus and Method
  1538. filed Nov. 27, 1990, granted June 30, 1992.
  1539. inventor Whiting et. al
  1540. assignee Stac Inc
  1541. LZ77 with offset hash table (extension of 5,016,009)
  1542.  
  1543. 5,140,321
  1544. Data compression/decompression method and apparatus
  1545. filed 9/4/91, granted 8/18/92
  1546. inventor Robert Jung
  1547. assignee Prime Computer
  1548.  
  1549. 5,142,283
  1550. Arithmetic compression coding using interpolation for ambiguous symbols
  1551. filed 1990/07/10, granted 1992/08/25
  1552. assignee IBM
  1553.  
  1554. 5,155,484
  1555. Fast data compressor with direct lookup table indexing into history buffer
  1556. filed 9/13/1991, granted 10/13/1992
  1557. inventor Chambers, IV, Lloyd L., Menlo Park, California
  1558. assignee Salient Software, Inc., Palo Alto, California (02)
  1559. Uses a 64K hash table indexed by the first two characters of
  1560. the input string. Includes several claims on the LZ77 file format
  1561. (literal or pair offset,length).
  1562.  
  1563. 5,179,378
  1564. file Jul. 30, 1991, granted Jan. 12, 1993
  1565. inventor Ranganathan
  1566. assignee University of South Florida
  1567. Method and apparatus for the compression and decompression of data
  1568. using Lempel-Ziv based techniques.
  1569. [This covers LZ77 hardware compression with a systolic array of
  1570. processors working in parallel.]
  1571.  
  1572. 5,210,536
  1573. Data compression/coding method and device for implementing said method
  1574. assignee IBM
  1575. [PPM + arithmetic coding]
  1576.  
  1577. 5,229,768
  1578. Adaptive data compression system
  1579. granted Jul. 20, 1993
  1580. inventor Kasman E. Thomas
  1581. assignee Traveling Software, Inc. 
  1582.   A system for data compression and decompression is disclosed. A series of
  1583. fixed length overlapping segments, called hash strings, are formed from an
  1584. input data sequence. A retrieved character is the next character in the input
  1585. data sequence after a particular hash string. A hash function relates a
  1586. particular hash string to a unique address in a look-up table (LUT). An
  1587. associated character for the particular hash string is stored in the LUT at
  1588. the address. When a particular hash string is considered, the content of the
  1589. LUT address associated with the hash string is checked to determine whether
  1590. the associated character matches the retrieved character following the hash
  1591. string. If there is a match, a Boolean TRUE is output; if there is no match,
  1592. a Boolean FALSE along with the retrieved character is output. Furthermore, if
  1593. there is no match, then the LUT is updated by replacing the associated
  1594. character in the LUT with the retrieved character. [...]
  1595. [This algorithm is used in the Internet draft
  1596. "PPP Predictor Compression Protocol".]
  1597.  
  1598. 5,272,478
  1599. Method and apparatus for entropy coding
  1600. assignee Ricoh
  1601. [arithmetic coding with finite state machine]
  1602.  
  1603. 5,307,062
  1604. Coding system
  1605. filed 1992/12/15, granted 1994/04/26
  1606. assignee Mitsubishi
  1607. [binary arithmetic coding, see also 5,404,140]
  1608.  
  1609. 5,309,381
  1610. Probability estimation table apparatus
  1611. filed 1992/04/08, granted 1994/05/03
  1612. assignee Ricoh
  1613. [arithmetic coding]
  1614.  
  1615. 5,311,177
  1616. Code transmitting apparatus with limited carry propagation
  1617. filed 1992/06/19, granted 1994/05/10
  1618. assignee Mitsubishi
  1619. [arithmetic coding]
  1620.  
  1621. 5,347,600 (continuation of 5,065,447)
  1622. Method and apparatus for compression and decompression of digital image
  1623. filed 10/23/1991, granted 09/13/1994
  1624. inventors Barnsley and Sloan
  1625.  
  1626. 5,363,099
  1627. Method and apparatus for entropy coding
  1628. [arithmetic coding with state machine]
  1629.  
  1630. 5,384,867 (continued in 5,430,812)
  1631. filed 10/23/1991, granted 01/24/1995
  1632. Fractal transform compression board
  1633. inventors Barnsley et al.
  1634.  
  1635. 5,404,140
  1636. Coding system
  1637. filed 1994/01/13, granted 1995/04/04
  1638. assignee Mitsubishi
  1639. [binary arithmetic coding, see also 5,307,062]
  1640.  
  1641. 5,406,282
  1642. Data coding and decoding with improved efficiency
  1643. assignee Ricoh
  1644. [PPM & arithmedic coding]
  1645.  
  1646. 5,414,423
  1647. Stabilization of probability estimates by conditioning on prior decisions
  1648.   of a given context
  1649. assignee IBM
  1650. arithmetic coding]
  1651.  
  1652. 5,416,856
  1653. Method of encoding a digital image using iterated image transformations
  1654.   to form an eventually contractive map
  1655. filed 1992/03/30, granted 1995/05/16
  1656. inventors Jacobs, Boss and Fisher
  1657.  
  1658. 5,418,532
  1659. Method and system for efficient, multiplication-free arithmetic coding
  1660. filed 1993/05/13, granted 1995/05/23.
  1661. inventors Lei & Shaw-Min
  1662. assignee Bell Communications Research, Inc. (Livingston, NJ). 
  1663.  
  1664. 5,430,812 (continuation of 5,384,867)
  1665. Fractal transform compression board
  1666. filed 1994/05/18, granted 1995/07/04
  1667. inventors Barnsley et al.
  1668.  
  1669. 5,455,577
  1670. Method and system for data compression
  1671. filed 1993/03/12, granted 1995/10/03
  1672. inventors Slivka & Rashid, assignee Microsoft
  1673. LZ77 with two-level search data structure
  1674.  
  1675. 5,533,051
  1676. Method for Data Compression
  1677. filed 1993/03/12, granted 1996/07/02
  1678. inventor David C. James, assignee The James Group
  1679. This is a patent on compression of random data, see item 9.5 below.
  1680.  
  1681. Japan 2-46275
  1682. Coding system
  1683. granted Feb 26, 1990
  1684. [Patents one form of arithmetic coding.]
  1685.  
  1686.  
  1687. ------------------------------------------------------------------------------
  1688.  
  1689. Subject: [9]  Compression of random data (WEB, Gilbert and others)
  1690.  
  1691.  
  1692. [Note from the FAQ maintainer: this topic has generated and is still generating
  1693. the greatest volume of news in the history of comp.compression. Read this
  1694. before posting on this subject.
  1695.  
  1696. I intended to remove the WEB story from the FAQ, but similar affairs come up
  1697. regularly on comp.compression.  The advertized revolutionary methods have all
  1698. in common their supposed ability to compress random or already compressed data.
  1699. I will keep this item in the FAQ to encourage people to take such claims with
  1700. great precautions.]
  1701.  
  1702.  
  1703. 9.1 Introduction
  1704.  
  1705. It is mathematically impossible to create a program compressing without loss
  1706. *all* files by at least one bit (see below and also item 73 in part 2 of this
  1707. FAQ). Yet from time to time some people claim to have invented a new algorithm
  1708. for doing so. Such algorithms are claimed to compress random data and to be
  1709. applicable recursively, that is, applying the compressor to the compressed
  1710. output of the previous run, possibly multiple times. Fantastic compression
  1711. ratios of over 100:1 on random data are claimed to be actually obtained.
  1712.  
  1713. Such claims inevitably generate a lot of activity on comp.compression, which
  1714. can last for several months. Large bursts of activity were generated by WEB
  1715. Technologies and by Jules Gilbert. Premier Research Corporation (with a
  1716. compressor called MINC) made only a brief appearance but came back later with a
  1717. Web page at http://www.pacminc.com.  The Hyper Space method invented by David
  1718. C. James is another contender with a patent obtained in July 96. Another large
  1719. burst occured in Dec 97 and Jan 98: Matthew Burch <apoc@pipeline.com> applied
  1720. for a patent in Dec 97, but publicly admitted a few days later that his method
  1721. was flawed; he then posted several dozen messages in a few days about another
  1722. magic method based on primes, and again ended up admitting that his new method
  1723. was flawed. (Usually people disappear from comp.compression and appear again 6
  1724. months or a year later, rather than admitting their error.)
  1725.  
  1726. Other people have also claimed incredible compression ratios, but the programs
  1727. (OWS, WIC) were quickly shown to be fake (not compressing at all). This topic
  1728. is covered in item 10 of this FAQ.
  1729.  
  1730.  
  1731. 9.2 The counting argument
  1732.  
  1733. [This section should probably be called "The counting theorem" because some
  1734. people think that "argument" implies that it is only an hypothesis, not a
  1735. proven mathematical fact. The "counting argument" is actually the proof of the
  1736. theorem.]
  1737.  
  1738. The WEB compressor (see details in section 9.3 below) was claimed to compress
  1739. without loss *all* files of greater than 64KB in size to about 1/16th their
  1740. original length. A very simple counting argument shows that this is impossible,
  1741. regardless of the compression method. It is even impossible to guarantee
  1742. lossless compression of all files by at least one bit. (Many other proofs have
  1743. been posted on comp.compression, please do not post yet another one.)
  1744.  
  1745. Theorem:
  1746.   No program can compress without loss *all* files of size >= N bits, for
  1747.   any given integer N >= 0.
  1748.  
  1749. Proof:
  1750.   Assume that the program can compress without loss all files of size >= N
  1751.   bits.  Compress with this program all the 2^N files which have exactly N
  1752.   bits.  All compressed files have at most N-1 bits, so there are at most
  1753.   (2^N)-1 different compressed files [2^(N-1) files of size N-1, 2^(N-2) of
  1754.   size N-2, and so on, down to 1 file of size 0]. So at least two different
  1755.   input files must compress to the same output file. Hence the compression
  1756.   program cannot be lossless.
  1757.  
  1758. The proof is called the "counting argument". It uses the so-called pigeon-hole
  1759. principle: you can't put 16 pigeons into 15 holes without using one of the
  1760. holes twice.
  1761.  
  1762. Much stronger results about the number of incompressible files can be obtained,
  1763. but the proofs are a little more complex. (The MINC page http://www.pacminc.com
  1764. uses one file of strictly negative size to obtain 2^N instead of (2^N)-1
  1765. distinct files of size <= N-1 .)
  1766.  
  1767. This argument applies of course to WEB's case (take N = 64K*8 bits).  Note that
  1768. no assumption is made about the compression algorithm.  The proof applies to
  1769. *any* algorithm, including those using an external dictionary, or repeated
  1770. application of another algorithm, or combination of different algorithms, or
  1771. representation of the data as formulas, etc... All schemes are subject to the
  1772. counting argument.  There is no need to use information theory to provide a
  1773. proof, just very basic mathematics. [People interested in more elaborate proofs
  1774. can consult http://wwwvms.utexas.edu/~cbloom/news/nomagic.html ]
  1775.  
  1776. In short, the counting argument says that if a lossless compression program
  1777. compresses some files, it must expand others, *regardless* of the compression
  1778. method, because otherwise there are simply not enough bits to enumerate all
  1779. possible output files. Despite the extreme simplicity of this theorem and its
  1780. proof, some people still fail to grasp it and waste a lot of time trying to
  1781. find a counter-example.
  1782.  
  1783. This assumes of course that the information available to the decompressor is
  1784. only the bit sequence of the compressed data. If external information such as a
  1785. file name, a number of iterations, or a bit length is necessary to decompress
  1786. the data, the bits necessary to provide the extra information must be included
  1787. in the bit count of the compressed data.  Otherwise, it would be sufficient to
  1788. consider any input data as a number, use this as the file name, iteration count
  1789. or bit length, and pretend that the compressed size is zero.  For an example of
  1790. storing information in the file name, see the program lmfjyh in the 1993
  1791. International Obfuscated C Code Contest, available on all comp.sources.misc
  1792. archives (Volume 39, Issue 104).
  1793.  
  1794. A common flaw in the algorithms claimed to compress all files is to assume that
  1795. arbitrary bit strings can be sent to the decompressor without actually
  1796. transmitting their bit length. If the decompressor needs such bit lengths
  1797. to decode the data (when the bit strings do not form a prefix code), the
  1798. number of bits needed to encode those lengths must be taken into account
  1799. in the total size of the compressed data.
  1800.  
  1801. Another common (but still incorrect) argument is to assume that for any file,
  1802. some still to be discovered algorithm might find a seed for a pseudo-random
  1803. number generator which would actually generate the whole sequence of bytes
  1804. contained in the file. However this idea still fails to take into account the
  1805. counting argument. For example, if the seed is limited to 64 bits, this
  1806. algorithm can generate at most 2^64 different files, and thus is unable to
  1807. compress *all* files longer than 8 bytes. For more details about this
  1808. "magic function theory", see http://www.dogma.net/markn/FAQ.html#Q19
  1809.  
  1810. Yet another popular idea is to split the input bit stream into a sequence of
  1811. large numbers, and factorize those numbers. Unfortunately, the number of bits
  1812. required to encode the factors and their exponents is on average not smaller
  1813. than the number of bits of the original bit stream, so this scheme too cannot
  1814. compress all data. Another idea also related to primes is to encode each
  1815. number as an index into a table of primes and an offset relative to the indexed
  1816. prime; this idea doesn't work either because the number of bits required to
  1817. encode the index, the offset and the separation between index and offset
  1818. is on average not smaller than the number of bits of the original bit stream.
  1819.  
  1820. Steve Tate <srt@cs.unt.edu> suggests a good challenge for programs
  1821. that are claimed to compress any data by a significant amount:
  1822.  
  1823.     Here's a wager for you: First, send me the DEcompression algorithm.  Then I
  1824.     will send you a file of whatever size you want, but at least 100k.  If you
  1825.     can send me back a compressed version that is even 20% shorter (80k if the
  1826.     input is 100k) I'll send you $100.  Of course, the file must be able to be
  1827.     decompressed with the program you previously sent me, and must match
  1828.     exactly my original file.  Now what are you going to provide
  1829.     when... er... if you can't demonstrate your compression in such a way?
  1830.  
  1831. So far no one has accepted this challenge (for good reasons).
  1832.  
  1833. Mike Goldman <whig@by.net> makes another offer:
  1834.  
  1835.     I will attach a prize of $5,000 to anyone who successfully meets this
  1836.     challenge.  First, the contestant will tell me HOW LONG of a data file to
  1837.     generate.  Second, I will generate the data file, and send it to the
  1838.     contestant.  Last, the contestant will send me a decompressor and a
  1839.     compressed file, which will together total in size less than the original
  1840.     data file, and which will be able to restore the compressed file to the
  1841.     original state.
  1842.  
  1843.     With this offer, you can tune your algorithm to my data.  You tell me the
  1844.     parameters of size in advance.  All I get to do is arrange the bits within
  1845.     my file according to the dictates of my whim.  As a processing fee, I will
  1846.     require an advance deposit of $100 from any contestant.  This deposit is
  1847.     100% refundable if you meet the challenge.
  1848.  
  1849.  
  1850. 9.3 The WEB 16:1 compressor
  1851.  
  1852. 9.3.1 What the press says
  1853.  
  1854. April 20, 1992  Byte Week Vol 4. No. 25:
  1855.  
  1856.    "In an announcement that has generated high interest - and more than a
  1857.    bit of skepticism - WEB Technologies (Smyrna, GA) says it has
  1858.    developed a utility that will compress files of greater than 64KB in
  1859.    size to about 1/16th their original length.  Furthermore, WEB says its
  1860.    DataFiles/16 program can shrink files it has already compressed."
  1861.    [...]
  1862.    "A week after our preliminary test, WEB showed us the program successfully
  1863.    compressing a file without losing any data.  But we have not been able
  1864.    to test this latest beta release ourselves."
  1865.    [...]
  1866.    "WEB, in fact, says that virtually any amount of data can be squeezed 
  1867.    to under 1024 bytes by using DataFiles/16 to compress its own output
  1868.    multiple times."
  1869.  
  1870. June 1992 Byte, Vol 17 No 6:
  1871.  
  1872.    [...] According to Earl Bradley, WEB Technologies' vice president of
  1873.    sales and marketing, the compression algorithm used by DataFiles/16
  1874.    is not subject to the laws of information theory. [...]
  1875.       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  1876.  
  1877. 9.3.2 First details, by John Wallace <buckeye@spf.trw.com>
  1878.  
  1879. I called WEB at (404)514-8000 and they sent me some product
  1880. literature as well as chatting for a few minutes with me on the phone.
  1881. Their product is called DataFiles/16, and their claims for it are
  1882. roughly those heard on the net.
  1883.  
  1884. According to their flier:
  1885.  
  1886. "DataFiles/16 will compress all types of binary files to approximately
  1887. one-sixteenth of their original size ... regardless of the type of
  1888. file (word processing document, spreadsheet file, image file,
  1889. executable file, etc.), NO DATA WILL BE LOST by DataFiles/16."
  1890. (Their capitalizations; 16:1 compression only promised for files >64K
  1891. bytes in length.)
  1892.  
  1893. "Performed on a 386/25 machine, the program can complete a
  1894. compression/decompression cycle on one megabyte of data in less than
  1895. thirty seconds"
  1896.  
  1897. "The compressed output file created by DataFiles/16 can be used as the 
  1898. input file to subsequent executions of the program.  This feature of 
  1899. the utility is known as recursive or iterative compression, and will 
  1900. enable you to compress your data files to a tiny fraction of the 
  1901. original size.  In fact, virtually any amount of computer data can 
  1902. be compressed to under 1024 bytes using DataFiles/16 to compress its 
  1903. own output files muliple times.  Then, by repeating in reverse the 
  1904. steps taken to perform the recusive compression, all original data 
  1905. can be decompressed to its original form without the loss of a single 
  1906. bit."
  1907.  
  1908. Their flier also claims: 
  1909.  
  1910. "Constant levels of compression across ALL TYPES of FILES"
  1911. "Convenient, single floppy DATA TRANSPORTATION"
  1912.  
  1913. From my telephone conversation, I was assured that this is an
  1914. actual compression program.  Decompression is done by using only the 
  1915. data in the compressed file; there are no hidden or extra files.
  1916.  
  1917.  
  1918. 9.3.3 More information, by Rafael Ramirez <rafael.ramirez@channel1.com>:
  1919.  
  1920.    Today (Tuesday, 28th) I got a call from Earl Bradley of Web
  1921. who now says that they have put off releasing a software version of
  1922. the algorithm because they are close to signing a major contract with
  1923. a big company to put the algorithm in silicon.  He said he could not
  1924. name the company due to non-disclosure agreements, but that they had
  1925. run extensive independent tests of their own and verified that the
  1926. algorithm works. [...]
  1927.  
  1928. He said the algorithm is so simple that he doesn't want anybody
  1929. getting their hands on it and copying it even though he said they
  1930. have filed a patent on it. [...] Mr. Bradley said the silicon version
  1931. would hold up much better to patent enforcement and be harder to copy.
  1932.  
  1933.    He claimed that the algorithm takes up about 4K of code, uses only
  1934. integer math, and the current software implementation only uses a 65K
  1935. buffer.  He said the silicon version would likely use a parallel
  1936. version and work in real-time. [...]
  1937.  
  1938.  
  1939. 9.3.4 No software version
  1940.  
  1941. Appeared on BIX, reposted by Bruce Hoult <Bruce.Hoult@actrix.gen.nz>:
  1942.  
  1943. tojerry/chaos #673, from abailey, 562 chars, Tue Jun 16 20:40:34 1992
  1944. Comment(s). 
  1945. ----------
  1946. TITLE: WEB Technology
  1947. I promised everyone a report when I finally got the poop on WEB's
  1948. 16:1 data compression. After talking back and forth for a year
  1949. and being put off for the past month by un-returned phone calls,
  1950. I finally got hold of Marc Spindler who is their sales manager.
  1951.  
  1952. _No_ software product is forth coming, period!
  1953.  
  1954. He began talking about hardware they are designing for delivery
  1955. at the end of the year. [...]
  1956.  
  1957.  
  1958. 9.3.5 Product cancelled
  1959.  
  1960. Posted by John Toebes <toebes@bnr.ca> on Aug 10th, 1992:
  1961.  
  1962. [Long story omitted, confirming the reports made above about the
  1963. original WEB claims.]
  1964.  
  1965. 10JUL92 - Called to Check Status.  Was told that testing had uncovered a
  1966.           new problem where 'four numbers in a matrix were the same
  1967.           value' and that the programmers were off attempting to code a
  1968.           preprocessor to eliminate this rare case.  I indicated that he
  1969.           had told me this story before.  He told me that the
  1970.           programmers were still working on the problem.
  1971.  
  1972. 31JUL92 - Final Call to Check Status.  Called Earl in the morning and
  1973.           was told that he still had not heard from the programmers. [...]
  1974.           Stated that if they could not resolve the problem then there would
  1975.           probably not be a product.
  1976.  
  1977. 03AUG92 - Final Call.  Earl claims that the programmers are unable to
  1978.           resolve the problem.  I asked if this meant that there would
  1979.           not be a product as a result and he said yes.
  1980.  
  1981.  
  1982. 9.3.6 Byte's final report
  1983.  
  1984. Extract from the Nov. 95 issue of Byte, page 42:
  1985.  
  1986. Not suprisingly, the beta version of DataFiles/16 that reporter Russ Schnapp
  1987. tested didn't work. DataFiles/16 compressed files, but when decompressed, those
  1988. files bore no resemblance to their originals. WEB said it would send us a
  1989. version of the program that worked, but we never received it.
  1990.  
  1991. When we attempted to follow up on the story about three months later, the
  1992. company's phone had been disconnected. Attempts to reach company officers
  1993. were also unsuccessful. [...]
  1994.  
  1995.  
  1996. 9.4 Jules Gilbert
  1997.  
  1998. As opposed to WEB Technologies, Jules Gilbert <jules@aasp.net> does not
  1999. claim to compress *all* files, but only "random or random-appearing" files.
  2000. Here are some quotes from a few of Mr Gilbert's articles, which can be helpful
  2001. to get a better idea of his claims. No comments or conclusions are given; if
  2002. you need more information contact Mr. Gilbert directly.
  2003.  
  2004.   From: coffee@spock.ici.net (Jules Gilbert)
  2005.   Newsgroups: comp.compression
  2006.   Subject: Re: No Magic Compressors, No Factoring Compressors, Jules Gilbert
  2007.     is a liar
  2008.   Date: 14 May 1996 03:13:31 -0400
  2009.   Message-ID: <4n9bqr$89k@spock.ici.net>
  2010.  
  2011.   [...]
  2012.   I will, in front of several Boston area computer scientists ('monitors'),
  2013.   people I choose but generally known to be fair and competent, under
  2014.   conditions which are sufficient to prevent disclosure of the method and fully
  2015.   protect the algorithm and other aspects of the underlying method from
  2016.   untoward discovery, use two computers, (which I am permitted to examine but
  2017.   not alter) with both machine's running Linux, and with the file-systems and
  2018.   Linux OS freshly restored from commercial CD-ROM's do the following:
  2019.  
  2020.   On one machine (the 'src-CPU') will be loaded a copy of the CALGARY-CORPUS.
  2021.   (Or other agreed on '.ZIP' or '.ARJ' file.)
  2022.  
  2023.   I will compress the CALGARY-CORPUS for transfer from the src-CPU onto 3.5"
  2024.   disks and transfer it (by sneaker-net) to the other machine for decompression
  2025.   and produce a perfect copy of the CORPUS file on the 'dst-CPU'.
  2026.  
  2027.   The CORPUS archive contents will not be 'cracked', ie', the original CORPUS
  2028.   can be encrypted and the password kept from me.  All I care about is that the
  2029.   input file is highly random-aprearing.
  2030.  
  2031.   I claim that I can perform this process several times, and each iteration
  2032.   will reduce the overall file by at least 50%, ie., a ratio of 2:1.  An
  2033.   'iteration' will constitute copying, using compression, from the src-CPU to
  2034.   the dst-CPU, and then reversing the direction to achieve another iteration.
  2035.  
  2036.   For example, for say a 4M input file, it is reasonable to expect an
  2037.   approximately 1M output file, after two complete iterations.
  2038.   [...]
  2039.   ONLY RANDOM OR RANDOM-APPEARING DATA INPUT CAN BE COMPRESSED BY MY METHOD.
  2040.   [...]
  2041.   If one iteration (of the compression 'sandwich') consists of two parts, say
  2042.   an LZ phase followed by a JG phase, the LZ method will compression by
  2043.   perhaps a ration of 2:1 (at the first iteration), perhaps much better if the
  2044.   input is text, and the JG phase will do 3-4:1, but slowly!!  During
  2045.   subsequent iterations, the LZ phase will do perhaps 1.25:1 and the JG phase
  2046.   will continue to do about 3-4:1.
  2047.  
  2048.   Experimentally, I have achieved compression results of nearly 150:1, overall,
  2049.   ^^^^^^^^^^^^^^                                                ^^^^^
  2050.   for a 60M file.  (I started with a '.arj' archive of a large DOS partition.)
  2051.   [...]
  2052.   ----------------------------------------------------------------------------
  2053.   From: coffee@spock.ici.net (Jules Gilbert)
  2054.   Newsgroups: comp.compression
  2055.   Subject: Re: Explanation: that uh, alg thing...
  2056.   Date: 15 May 1996 16:38:18 -0400
  2057.   Message-ID: <4ndfbq$cf3@spock.ici.net>
  2058.  
  2059.   [...]
  2060.   One more thing, I am preparing a short technical note to deal with the reason
  2061.   most programmers' and computer scientists' think it's impossible to (further)
  2062.   compress random input.  (Many people think that because you can't get more
  2063.   than 2^N messages from a N-bit compressed msg, that it means that you can't
  2064.   compress random input.  (Lot's of folks have told me that.)  The short story
  2065.   is:
  2066.  
  2067.   I agree that you can not get more than 2^N messages from N bits.  No question
  2068.   about it.  BUT THAT STATMENT HAS NOTHING TO DO WHATSOEVER WITH THE
  2069.   INTERPRETATION OF WHAT THOSE BITS 'MEAN'.
  2070.   [...]
  2071.   ----------------------------------------------------------------------------
  2072.   From: coffee@spock.ici.net (Jules Gilbert)
  2073.   Newsgroups: comp.compression
  2074.   Subject: Seeing is believing!
  2075.   Date: 9 Jun 1996 03:20:52 -0400
  2076.   Message-ID: <4pdu0k$otg@spock.ici.net>
  2077.  
  2078.   [...]
  2079.   If your firm needs industrial-strength compression, contact 'coffee@ici.net'
  2080.   and ask us for an on-site demonstration of our MR2 compressors.  Each can
  2081.   compress large files of 'random-appearing' information, whether RSA-encrypted
  2082.   blocks, or files already compressed using LZ-techniques.
  2083.  
  2084.   Our demonstration will give you the opportunity to observe compression of
  2085.   'random-appearing' files of at least 100MB by at least 3:1 per iteration.
  2086.   Usually, several iterations are possible.  (These are minimum figures easily
  2087.   exceeded.)
  2088.   [...]
  2089.   ----------------------------------------------------------------------------
  2090.   From: coffee@spock.ici.net (Jules Gilbert)
  2091.   Newsgroups: comp.compression
  2092.   Subject: Re: My remarks on Jules Gilbert
  2093.   Date: 24 Jul 1996 18:05:44 -0400
  2094.   Message-ID: <4t66no$9qq@spock.ici.net>
  2095.  
  2096.   [...]
  2097.   My claims can not possibly be true IF I'M PLAYING BY THE 'RULES' THAT YOU
  2098.   ASSUME APPLY TO ME.  (Sorry to shout).
  2099.  
  2100.   Clearly, anyone sending a signal (in the Shannon context), is constrained by
  2101.   limits which make it impossible to compress RAD ('random-appearing data')
  2102.   input.
  2103.   [...]
  2104.   1)  I can't compress bits any better than the next guy.  Maybe not as well,
  2105.       in fact.  
  2106.  
  2107.   2)  I have designed an engine that accepts RAD input and emits far too little
  2108.       data to reconstitute the original data, based on conventional
  2109.       assumptions. Okay!   I know this.
  2110.  
  2111.   3)  But, I none-the-less reconstitute the original data.
  2112.   [...]
  2113.   ----------------------------------------------------------------------------
  2114.   From: coffee@soran.ici.net (Jules Gilbert)
  2115.   Newsgroups: comp.compression
  2116.   Subject: Re: Jules Gilbert's New Compresssion Technology
  2117.   Date: 12 Aug 1996 08:11:10 -0400
  2118.   Message-ID: <4un70u$a2r@soran.ici.net>
  2119.  
  2120.   I have multiple methods for compressing RAD.  Watch carefully:
  2121.  
  2122.   MR1 does 3:1, on large buffers and is repeatable until the volume of input
  2123.   data falls below 128k or so.  (This figure is under user control, but
  2124.   compreesion quality will suffer as the buffer size is decreased).  Recent
  2125.   changes make this method about as fast as any conventional compressor.
  2126.  
  2127.   MR2 does at least 6:1, with a minimum buffer size of perhaps 32k.  It is also
  2128.   repeatable.  MR2 does not actually compress, though.  Instead, it translates
  2129.   an input buffer into an output buffer of roughly equivalent size.  This
  2130.   output buffer contains mostly constants, and other things, such as simple
  2131.   sequences: 28,29,31,32,33,35,40,41,42,43,44,45.  (An actual sequence of
  2132.   bytes).  Obviously, this kind of information is readily compressed, and that
  2133.   is why I claim that MR2 can achieve a minimum of 6:1.  Again, like MR1, this
  2134.   process can be re-applied over it's own output.
  2135.  
  2136.   When, I've said, "No, it's impossible to compress by 100:1" I was trying to
  2137.   get this audience to see this as realistic.  But I can compress RAD files
  2138.   100:1 if allowed to re-process the output through the same process.  I first
  2139.   actually achieved a 100:1 compression level in March of this year using tools
  2140.   ^^^^^^^^^^^^^^^^^^^^^^^^^
  2141.   designed for experimenting in RAD issues.  But now I have C programs which
  2142.   have been written to be easy to understand and are intended to be part of my
  2143.   technology transfer process for clients.
  2144.   [...]
  2145.   So, can someone compress by 100:1 or even 1000:1?  Yes! But ONLY if the input
  2146.   file is sufficiently large.  A 1000:1 compression ratio would require a very
  2147.   large input file, and, at least for PC users, archive files of this size are
  2148.   almost never produced.
  2149.   ----------------------------------------------------------------------------
  2150.   From: coffee@soran.ici.net (Jules Gilbert)
  2151.   Newsgroups: comp.compression
  2152.   Subject: Re: Gilbert's RAD compression product
  2153.   Date: 18 Aug 1996 08:40:28 -0400
  2154.   Message-ID: <4v72vs$quc@soran.ici.net>
  2155.  
  2156.   [...]
  2157.   (In my original remarks), I am quoted above as claiming that a 3,152,896 byte
  2158.   'tar 'file (conventionally compressed to 1,029,790 bytes) can be compressed
  2159.   to 50*1024 bytes.  It's an accurate quote.
  2160.  
  2161.   Now how can that be possible?
  2162.  
  2163.   If a gzip compressed version of the Corpus requires roughly a 1MB, what do I
  2164.   do with the 950k bytes I don't store in the compressed intermediate file?
  2165.  
  2166.   Well, that's certainly a puzzler!
  2167.  
  2168.   For now, all I will say is that it does not go into the compressed
  2169.   intermediate file.  And because it doesn't, Shannons' channel capacity axioms
  2170.   apply only to the 50k component.
  2171.   ----------------------------------------------------------------------------
  2172.   From: coffee@soran.ici.net (Jules Gilbert)
  2173.   Newsgroups: comp.compression
  2174.   Subject: Some answers about MR1
  2175.   Date: 22 Aug 1996 23:45:54 -0400
  2176.   Message-ID: <4vj9hi$pkb@soran.ici.net>
  2177.  
  2178.   [...]
  2179.   However, arrangements are being made to do another demo in September at MIT. 
  2180.  
  2181.   One of the files compressed and decompressed will be the Corpus, after it's
  2182.   already been compressed using ARJ, a good quality conventional compressor.
  2183.   (It should be about a 1MB at that point).  My program has made the corpus
  2184.   as small as 6k, although that requires SEVERAL separate physical passes.
  2185.   ^^^^^^^^^^^^^^
  2186.   Because we will only have a few minutes to spend on this single file, I'll
  2187.   likely stop at 250k or so.
  2188.  
  2189.   Under Linux, the total size of the compressor and decompressor load modules
  2190.   is about 50k bytes.  And under DOS, using the Intel C compiler (a great
  2191.   product, but sadly, not sold anymore), the same files total about 300k bytes.
  2192.  
  2193.   MR1 contains code that is highly dependent on the particularities of a host
  2194.   computer's floating point processor, or more correctly, architectural differ-
  2195.   ences existing between the source machine and the target machine would likely
  2196.   cause failure to de-compress.
  2197.   [...]
  2198.  
  2199.  
  2200. 9.5 Patents on compression of random data or recursive compression
  2201.  
  2202. 9.5.1 David C. James
  2203.  
  2204. On July 2, 1996, David C. James was granted patent 5,533,051 "Method for data
  2205. compression" for a method claimed to be effective even on random data.
  2206.  
  2207.   From: u137@aol.com (Peter J. Cranstone)
  2208.   Newsgroups: comp.compression
  2209.   Subject: Re: Jules Gilbert's Compression Technology
  2210.   Date: Sun Aug 18 12:48:11 EDT 1996
  2211.  
  2212.   Wh have just been issued a patent (US. #5,533,051) and have several more
  2213.   pending on a new method for data compression. It will compess all types of
  2214.   data, including "random", and data containing a uniform distribution of
  2215.   "0's" and "1's".
  2216.   [...]
  2217.  
  2218. The first line of the patent abstract is:
  2219.  
  2220.   Methods for compressing data including methods for compressing highly
  2221.   randomized data are disclosed.
  2222.  
  2223. Page 3, line 34 of the patent states:
  2224.  
  2225.   A second aspect of the present invention which further enhances its ability
  2226.   to achieve high compression percentages, is its ability to be applied to
  2227.   data recursively. Specifically, the methods of the present invention are
  2228.   able to make multiple passes over a file, each time further compressing the
  2229.   file. Thus, a series of recursions are repeated until the desired
  2230.   compression level is achieved.
  2231.  
  2232. Page 27, line 18 of the patent states that the claimed method can compress
  2233. without loss *all* files by at least one bit:
  2234.  
  2235.   the direct bit encode method of the present invention is effective for
  2236.   reducing an input string by one bit regardless of the bit pattern of the
  2237.   input string.
  2238.  
  2239. The counting argument shows that this is mathematically impossible (see section
  2240. 9.2) above. If the method were indeed able to shrink any file by at least one
  2241. bit, applying it recursively would shrink gigabytes down to a few bits.
  2242.  
  2243. The patent contains evasive arguments to justify the impossible claims:
  2244.  
  2245. Page 12, line 22:
  2246.  
  2247.   Of course, this does not take into account any overhead registers or other
  2248.   "house-keeping" type information which must be tracked. However such
  2249.   overhead tends to be negligible when processing the large quantities of
  2250.   data typically encountered in data compression applications.
  2251.  
  2252. Page 27, line 17:
  2253.  
  2254.   Thus, one skilled in the art can see that by keeping the appropriate
  2255.   counters, the direct bit encode method of the present invention is
  2256.   effective for reducing an input string by one bit regardless of the bit
  2257.   pattern of the input string. Although a certain amount of "loss" is
  2258.   necessary in keeping and maintaining various counters and registers, for
  2259.   files which are sufficiently large, this overhead is insignificant compared
  2260.   to the savings obtained by the direct bit encode method.
  2261.  
  2262. The flaw in these arguments is that the the "house-keeping" type information
  2263. is *not* negligible. If it is properly taken it into account, it cancels any
  2264. gains made elsewhere when attempting to compress random data.
  2265.  
  2266. The patent contains even more evasive arguments:
  2267.  
  2268. Page 22, line 31:
  2269.  
  2270.   It is commonly stated that perfectly entropic data streams cannot be
  2271.   compressed. This misbelief is in part based on the sobering fact that for a
  2272.   large set of entropic data, calculating the number of possible bit pattern
  2273.   combinations is unfathomable. For example, if 100 ones and 100 zeros are
  2274.   randomly distributed in a block 200 bits long, there are
  2275.      200C100 = 9.055 10^58
  2276.   combinations possible. The numbers are clearly unmanageable and hence the
  2277.   inception that perfectly entropic data streams cannot be compressed. The
  2278.   key to the present compression method under discussion is that it makes no
  2279.   attempt to deal with such large amounts of data and simply operates on
  2280.   smaller portions.
  2281.  
  2282. The actual claims of the patent are harmless since they only describe
  2283. methods which cannot work (they actually expand random data instead of
  2284. compressing it). For example, claims 6 and 7 are:
  2285.  
  2286.  6. A method of compressing a stream of binary data, comprising the steps of:
  2287.   A) parsing n-bits from said stream of binary data;
  2288.   B) determining the value of said parsed n-bits;
  2289.   C) based on the results of step B, coding said values of said n-bits in at
  2290.      least one of a first, second, and third target string, wherein coding
  2291.      said value includes generating a plurality of code strings and
  2292.      correlating said value with one of said code strings and dividing said
  2293.      correlated code string variable length codes and dividing at least some
  2294.      of said into at least first and second segments, and assigning at least
  2295.      one of said correlated code string segments to at least one of said
  2296.      first, second, and third target strings, wherein at least one of said
  2297.      plurality of codes is not greater than n-1 bits long.
  2298.  
  2299.  7. The method of compressing a stream of binary data of claim 6, wherein n=2.
  2300.  
  2301. Making abstraction of the legalese, claim 7 says in short that you can
  2302. compress an arbitrary sequence of two bits down to one bit.
  2303.  
  2304. 9.5.2 Michael L. Cole
  2305.  
  2306. Patent 5,488,364 "Recursive data compression", granted Jan. 30, 1996,
  2307. also claims that recursive compression of random data is possible. See
  2308. http://www.teaser.fr/~jlgailly/05488364.html for the text and a short
  2309. analysis of this patent.
  2310.  
  2311. 9.5.3 John F. Remillard
  2312.  
  2313. Patent 5,486,826 "Method and apparatus for iterative compression of
  2314. digital data" uses methods very similar to those of the "magic
  2315. function theory" (see section 9.2 above).  The patent is available at
  2316. http://patent.womplex.ibm.com/details?patent_number=5486826
  2317.  
  2318. See also from the same person patent 5,594,435 "Permutation-based data
  2319. compression" http://patent.womplex.ibm.com/details?patent_number=5594435 
  2320. The assignee for this patent is Philosophers' Stone LLC. (The Philosopher's
  2321. Stone is the key to all the riches in the universe; an LLC is a Limited
  2322. Liability Corporation.)
  2323.  
  2324. ------------------------------------------------------------------------------
  2325.  
  2326. Subject: [10] Fake compression programs (OWS, WIC)
  2327.  
  2328.  
  2329. Some programs claimed to achieve incredible compression ratios are completely
  2330. fake: they do not compress at all but just stored the uncompressed data in
  2331. hidden files on the hard disk or keep it in unused clusters. Needless to say,
  2332. such programs are dangerous and should never be used because there is a
  2333. significant risk of losing all the data.
  2334.  
  2335. The OWS program just remembers which clusters contained the data on the hard
  2336. disk. The data can be recovered only if those clusters are not used again for
  2337. another file.
  2338.  
  2339. The WIC program searches for the first directory in drive C: and creates a
  2340. hidden file called WINFILE.DLL containing a copy of all the original files.
  2341. If you copy the compressed file to another computer (which doesn't have the
  2342. file WINFILE.DLL), WIC reports a CRC error.
  2343.  
  2344. ------------------------------------------------------------------------------
  2345.  
  2346. Subject: [11] What is the V.42bis standard?
  2347.  
  2348.  
  2349. A description of the V.42bis standard is given in "The V.42bis
  2350. standard for data-compressing modems," by Clark Thomborson
  2351. <cthombor@theory.lcs.mit.edu>, IEEE Micro, Oct 1992, pp. 41-53. 
  2352.  
  2353. If you are looking for freeware source of V.42bis, please read the note
  2354. below by Peter Gutman explaining why there is no such source code.
  2355.  
  2356. Short introduction, by Alejo Hausner <hausner@qucis.queensu.ca>:
  2357.  
  2358.   The V.42bis Compression Standard was proposed by the International
  2359.   Consultative Committee on Telephony and Telegraphy (CCITT, now ITU-T) as
  2360.   an addition to the v.42 error-correction protocol for modems. Its purpose
  2361.   is to increase data throughput, and uses a variant of the
  2362.   Lempel-Ziv-Welch (LZW) compression method.  It is meant to be
  2363.   implemented in the modem hardware, but can also be built into the
  2364.   software that interfaces to an ordinary non-compressing modem.
  2365.  
  2366.   V.42bis can send data compressed or not, depending on the
  2367.   data.  There are some types of data that cannot be
  2368.   compressed.  For example, if a file was compressed first,
  2369.   and then sent through a V.42bis modem, the modem would not
  2370.   likely reduce the number of bits sent.  Indeed it is likely
  2371.   that the amount of data would increase somewhat.
  2372.  
  2373.   To avoid this problem, the algorithm constantly monitors the
  2374.   compressibility of the data, and if it finds fewer bits
  2375.   would be necessary to send it uncompressed, it switches to
  2376.   transparent mode.  The sender informs the receiver of this
  2377.   transition through a reserved code word.  Henceforth the
  2378.   data is passed as plain bytes.
  2379.  
  2380.   While transmitting in transparent mode, the sender maintains
  2381.   the LZW trees of strings, and expects the receiver to do
  2382.   likewise.  If it finds an advantage in returning to
  2383.   compressed mode, it will do so, first informing the receiver
  2384.   by a special escape code.  Thus the method allows the
  2385.   hardware to adapt to the compressibility of the data.
  2386.  
  2387.   The choice of escape code is clever.  Initially, it is a
  2388.   zero byte.  Any occurrence of the escape code is replaced,
  2389.   as is customary, by two escape codes.  In order to prevent a
  2390.   string of escape codes from temporarily cutting throughput
  2391.   in half, the escape code is redefined by adding 51 mod 256
  2392.   each time it is used.
  2393.  
  2394.  
  2395. A note from Peter Gutman <pgut01@cs.auckland.ac.nz> about V.42bis
  2396. implementations:
  2397.  
  2398.   V.42bis is covered by patents, and the licensing terms are rather complex
  2399.   because you need to license it from multiple organisations.  At one point
  2400.   British Telecom were charging something like 30,000 pounds for a license
  2401.   (this was a few years ago, things may have changed since then). Because of
  2402.   this, noone has ever implemented a freely-available version of V.42bis as
  2403.   you'd find in a modem.  There is a Unix implementation (called "compact") of
  2404.   a V.42bis-like algorithm which comes with a great many disclaimers that it
  2405.   can only be used for research purposes. [Note from FAQ maintainer: "compact"
  2406.   is available in
  2407. ftp://ftp.sunet.se/pub/usenet/ftp.uu.net/comp.sources.misc/volume15/compact_sv/part01.gz
  2408.   The 'shrink' method of zip 1.1 (see item 2 above) is also similar to V.42bis]
  2409.  
  2410.   If you've ever wondered why noone other than modem manufacturers ever use
  2411.   V.42bis for anything, this is it.  
  2412.  
  2413.  
  2414. Some CCITT (ITU-T) standards documents are available by ftp in
  2415. ftp://ftp.fdn.org/pub/Library/Ccitt-standards/ccitt/
  2416.  
  2417. A mail server for CCITT (ITU-T) documents is available at teledoc@itu.arcom.ch
  2418. or itudoc@itu.ch. A Gopher server is also available at gopher://info.itu.ch
  2419.  
  2420. The V42bis standard is also in
  2421. ftp://ftp.std.com/obi/Standards/Telcom/CCITT/v42bis.asc.Z
  2422.  
  2423. For ISO documents, try http://www.iso.ch/
  2424.  
  2425. See also item 20 below for other sites with standards documents.
  2426.  
  2427. ------------------------------------------------------------------------------
  2428.  
  2429. Subject: [12] I need source for the winners of the Dr Dobbs compression contest
  2430.  
  2431.  
  2432. The source of the top 6 programs of the Feb 91 Dr Dobbs data compression
  2433. contest are available by ftp on
  2434.   ftp://ftp.simtel.net/pub/simtelnet/msdos/compress/ddjcompr.zip
  2435.   ftp://garbo.uwasa.fi/pc/source/ddjcompr.zip
  2436.  
  2437. The sources are in MSDOS end-of-line format, one directory per
  2438. program.  Unix or VMS users, use "unzip -a ddjcompr" to get correct
  2439. end-of-lines (add -d to recreate the directory structure if you are
  2440. using an obsolete version of unzip such as 4.1). Three of the 6
  2441. programs are not portable and only run on MSDOS. compact and urban
  2442. work on Unix, sixpack only requires minor modifications.
  2443.  
  2444. ------------------------------------------------------------------------------
  2445.  
  2446. Subject: [13] I need source for arithmetic coding
  2447.  
  2448.  
  2449. (See question 70 for an introduction to arithmetic coding.)
  2450.  
  2451. The source for the arithmetic coder described in Chap.5 of Bell, Cleary, and
  2452. Witten's book "Text Compression" (see question 7 above) (or, equivalently, in:
  2453. Witten, Neal, and Cleary's article "Arithmetic Coding for data Compression"
  2454. from Communications of the Association for Computing Machinery, 30 (6),
  2455. pp.520-540, June, 1987) is in ftp://ftp.cpsc.ucalgary.ca/pub/projects/ar.cod/
  2456. It only comes with a simple order-0 model but it's set up so that adding your
  2457. own more sophisticated one is straightforward. Look also in
  2458. ftp://munnari.mu.oz.au/pub/arith_coder
  2459.  
  2460. C language source code for adaptive arithmetic coding based on the
  2461. Witten-Neal-Cleary source code is in http://www.cipr.rpi.edu/wheeler/ac/
  2462. This version uses structures for the coder, decoder and data model instead of
  2463. global variables.  This object oriented approach allows you to simultaneously
  2464. use several arithmetic coders, each streaming bits to a different file and to
  2465. have several adaptive models for each coder, each with a different number of
  2466. symbols and frequncy table.  Written by Fred Wheeler <wheeler@cipr.rpi.edu>
  2467.  
  2468. A low precision arithmetic coding implementation avoiding hardware
  2469. division is available on the same site in
  2470. ftp://ftp.cpsc.ucalgary.ca/pub/projects/arithmetic.coding/low.precision.version
  2471. file low.precision.version.shar
  2472.  
  2473. Kris Popat <popat@image.mit.edu> has worked on "Scalar Quantization
  2474. with Arithmetic Coding."  It describes an arithmetic coding technique
  2475. which is quite general and computationally inexpensive.  The
  2476. documentation and example C code are available in
  2477. ftp://ftp.media.mit.edu/pub/k-arith-code/
  2478.  
  2479. The program 'urban' in ddjcompr.zip (see item 12 above) is a high order
  2480. arithmetic coder working at the bit level. It is written by Urban Koistinen
  2481. <md85-epi@nada.kth.se>.
  2482.  
  2483. The DMC program is available in ftp://plg.uwaterloo.ca/pub/dmc/
  2484. It implements the algorithm described in "Data Compression using Dynamic
  2485. Markov Modelling", by Gordon Cormack and Nigel Horspool, Computer
  2486. Journal 30:6 (December 1987).  This program uses Guazzo's version of
  2487. arithmetic coding.
  2488.  
  2489. An implementation of Moffat's arithmetic coder is available in
  2490. http://www.cs.dartmouth.edu/~jmd/ArithCoder.tar.gz
  2491.  
  2492. Michael Schindler <michael@compressconsult.com> provides a page on Range
  2493. Coding http://www.compressconsult.com/rangecoder/ which includes an article
  2494. and source code. According to Michael Schindler, the performance of that
  2495. coder is a lot faster than the A. Moffat et al. CACAM coder or even the
  2496. Moffat Data Compression Conference 1995 coder, at least for machines
  2497. supporting a fast integer multipy and divide.
  2498.  
  2499. ------------------------------------------------------------------------------
  2500.  
  2501. Subject: [15] Where can I get image compression programs?
  2502.  
  2503.  
  2504. JPEG:
  2505.     Source code for most any machine (Independent JPEG Group):
  2506.     http://www.ijg.org/
  2507.     ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6a.tar.gz
  2508.     ftp://nic.funet.fi/pub/graphics/packages/jpeg/jpegsrc.v6.tar.gz
  2509.     Contact: jpeg-info@uunet.uu.net 
  2510.  
  2511.     ftp://havefun.stanford.edu/pub/jpeg/JPEGv1.2.1.tar.Z   (has lossless mode)
  2512.     Contact: Andy Hung <achung@cs.stanford.edu> (see item 20 below)
  2513.  
  2514.     ftp://ftp.cs.cornell.edu/pub/multimed/ljpg.tar.Z (lossless jpeg)
  2515.  
  2516.     http://idt.net/~dclunie/jpegls.html  (lossless jpeg by David Clunie)
  2517.  
  2518.     xv, an image viewer which can read JPEG pictures, is available in
  2519.     ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.Z
  2520.  
  2521. JPEG-LS (LOCO-I):
  2522.     http://www.hpl.hp.com/loco/
  2523.  
  2524. MPEG: If you don't find here what you are looking for, check also
  2525.   http://www.mpeg.org and http://www.powerweb.de/mpeg/
  2526.  
  2527.     ftp://havefun.stanford.edu/pub/mpeg/MPEGv1.2.1.tar.Z
  2528.     Contact: Andy Hung <achung@cs.stanford.edu> (see item 20 below)
  2529.  
  2530.     ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/play/
  2531.                                                mpeg_play-2.3-patched-src.tar.gz
  2532.     Contact: mpeg-bugs@cs.berkeley.edu
  2533.  
  2534.     ftp://flash.bu.edu/pub/code/mpeg_system/mpeg_system_source_v1.0.tar.gz
  2535.     (MPEG-I Multi-Stream System Layer encoder/player; includes an
  2536.      enhanced version of mpeg_play)
  2537.     Contact: Jim Boucher <jboucher@spiderman.bu.edu> or Ziv Yaar <zyaar@bu.edu>
  2538.  
  2539.     http://www.bic.mni.mcgill.ca/~greg/mpeglib/  [MPEG library]
  2540.     ftp://ftp.bic.mni.mcgill.ca/pub/mpeg/
  2541.     Contact: Gregory Ward <greg@bic.mni.mcgill.ca>
  2542.  
  2543.     ftp://nvr.com/pub/NVR-software/Product-1.0.4.tar.Z
  2544.     (free demo copy of NVR's software toolkit for SPARCstations)
  2545.     Contact: Todd Brunhoff <toddb@nvr.com>
  2546.  
  2547.     ftp://havefun.stanford.edu/pub/mpeg/MPEGv1.2.1.tar.Z
  2548.     Contact: Andy Hung <achung@cs.stanford.edu> (see item 20 below)
  2549.  
  2550.     ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/mpeg/play/
  2551.                                                mpeg_play-2.3-patched-src.tar.gz
  2552.     Contact: mpeg-bugs@cs.berkeley.edu
  2553.  
  2554.     ftp://flash.bu.edu/pub/code/mpeg_system/mpeg_system_source_v1.0.tar.gz
  2555.     (MPEG-I Multi-Stream System Layer encoder/player; includes an
  2556.      enhanced version of mpeg_play)
  2557.     Contact: Jim Boucher <jboucher@spiderman.bu.edu> or Ziv Yaar <zyaar@bu.edu>
  2558.  
  2559.     ftp://ftp.mni.mcgill.ca/pub/mpeg/mpeg_lib-1.2.tar.gz [MPEG library]
  2560.     Contact: Gregory Ward <greg@pet.mni.mcgill.ca>
  2561.  
  2562.     ftp://nvr.com/pub/NVR-software/Product-1.0.4.tar.Z
  2563.     (free demo copy of NVR's software toolkit for SPARCstations)
  2564.     Contact: Todd Brunhoff <toddb@nvr.com>
  2565.  
  2566.     http://www.mpeg.org/MSSG or ftp://ftp.mpeg.org/pub/mpeg/mssg/
  2567.       Contacts:  MPEG Software Simulation Group <mssg@mpeg.org>
  2568.       Concerning VMPEG: Stefan Eckart <stefan@chromatic.com>
  2569.  
  2570.     http://www.mpegtv.com (MPEGTV Software MPEG Video Player for Unix)
  2571.     Contact: Tristan Savatier <tristan@mpeg.org>
  2572.  
  2573. H.261(P*64):
  2574.     havefun.stanford.edu:pub/p64/P64v1.2.tar.Z
  2575.     Contact: Andy Hung <achung@cs.stanford.edu> (see item 20 below)
  2576.  
  2577.     ftp://zenon.inria.fr/rodeo/ivs/last_version/ivs*-src.tar.gz
  2578.     (Inria videoconference system)
  2579.     Contact: Thierry Turletti <turletti@sophia.inria.fr> (see item 20 below).
  2580.  
  2581.     http://www.angelfire.com/in/H261/index.html
  2582.     H.261 player for Windows95. Contact: kmitl@usa.net
  2583.  
  2584. H.263:
  2585.     http://www.nta.no/brukere/DVC/h263_software (Telenor Research)
  2586.  
  2587.     http://huizen.dds.nl/~roalt/h263.html (Roalt Aalmoes)
  2588.  
  2589. JBIG:
  2590.     ftp://nic.funet.fi/pub/graphics/misc/test-images/jbig.tar.gz.
  2591.  
  2592.     ftp://ftp.informatik.uni-erlangen.de/pub/doc/ISO/JBIG/jbigkit-0.9.tar.gz
  2593.     Contact: Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
  2594.  
  2595. PNG: For code and sample images, see:
  2596.     http://www.wco.com/~png/
  2597.     ftp://ftp.uu.net/graphics/png/
  2598.     ftp://swrinde.nde.swri.edu/pub/png/
  2599.  
  2600. mg: (the MG system for compressing and indexing text and images, see item 16)
  2601.     ftp://munnari.oz.au/pub/mg/
  2602.     Contact: Stuart Inglis <singlis@cs.waikato.ac.nz>
  2603.  
  2604. BTPC: Binary Tree Predictive Coding
  2605.     http://www.engr.mun.ca/~john/btpc.html
  2606.     Contact: John Robinson <john@monet.uwaterloo.ca>
  2607.  
  2608. epic: (Efficient Pyramid Wavelet Coder, see item 72)
  2609.     http://www.cis.upenn.edu/~eero/epic.html
  2610.     Contact: Eero P. Simoncelli <eero.simoncelli@nyu.edu>
  2611.     C source code provided. The "Lenna" test image is available as part of
  2612.     the EPIC package, where it is named "test_image".
  2613.  
  2614. hcompress: (wavelet image compression, see item 72)
  2615.     ftp://stsci.edu/software/hcompress/hcompress.tar.Z
  2616.  
  2617. wavethresh: (wavelet software for the language S)
  2618.     http://www.stats.bris.ac.uk/pub/software/wavethresh/wavethresh2.2/
  2619.     Contact: gpn@maths.bath.ac.uk
  2620.  
  2621. rice-wlet: (wavelet software, see item 72)
  2622.     ftp://cml.rice.edu/pub/dsp/software/rice-wlet-tools.tar.Z
  2623.  
  2624. Wavelet Transform Coder Construction Kit:
  2625.     http://www.cs.dartmouth.edu/~gdavis/wavelet/wavelet.html
  2626.     Contact: Geoff Davis <gdavis@cs.dartmouth.edu>
  2627.  
  2628. scalable: (2 & 3 dimensional subband transformation)
  2629.     ftp://robotics.eecs.berkeley.edu/pub/multimedia/scalable2.tar.Z
  2630.     Contact: scalable@robotics.eecs.berkeley.edu
  2631.  
  2632. SPIHT: (Set Partitioning in Hierarchical Trees, wavelet-based)
  2633.     http://ipl.rpi.edu/SPIHT/
  2634.  
  2635. DjVu: Image compression library from AT&T Labs (includes a wavelet-based
  2636.    image compressor)   http://www.djvu.att.com/open/
  2637.    Contact: djvu@www.anything.com
  2638.  
  2639. compfits:
  2640.     ftp://ftp.cfht.hawaii.edu/pub/compfits/CompFITS-20Nov96.tar.Z
  2641.     Contact: Jim Wright <jwright@cfht.hawaii.edu>
  2642.  
  2643. fitspress:
  2644.     ftp://cfata4.harvard.edu/pub/fitspress08.tar.Z
  2645.  
  2646. tiff:
  2647.     For source and sample images, see question 18 below.
  2648.  
  2649. DCT algorithms used to be in:
  2650.     ftp://etro.vub.ac.be/pub/transfer/COMPRESSION/DCT_ALGORITHMS/
  2651.     Contact: Charilos Christopoulos <chchrist@etro2.vub.ac.be> for the sources
  2652.  
  2653. xanim: (X11 animation viewer, supports Quicktime and several other formats)
  2654.     ftp://ftp.x.org/contrib/applications/xanim2683.tar.Z
  2655.     ftp://ftp.shell.portal.com/pub/podlipec/xanim26978.tar.gz
  2656.  
  2657. A demo of image compression using neural networks is available in
  2658. http://www.ee.duke.edu/~cec/index.html.
  2659.  
  2660. For fractal compression programs, see item 17 below.
  2661. For Vector Quantization software, see item 76 in part 2 of this FAQ.
  2662. For image compression hardware, see item 85 in part 3 of this FAQ.
  2663.  
  2664. ------------------------------------------------------------------------------
  2665.  
  2666. Subject: [16] What is the state of the art in lossless image compression?
  2667.  
  2668.  
  2669. The JBIG algorithm is one of the best available for lossless image
  2670. compression.  For an introduction to JBIG, see question 74 in part 2.
  2671.  
  2672. JBIG works best on bi-level images (like faxes) and also works well on
  2673. Gray-coded grey scale images up to about six or so bits per pixel.  You
  2674. just apply JBIG to the bit planes individually.  For more bits/pixel,
  2675. lossless JPEG provides better performance, sometimes. (For JPEG, see
  2676. question 19 below.)
  2677.  
  2678. You can find the specification of JBIG in International Standard
  2679. ISO/IEC 11544 or in ITU-T Recommendation T.82. You can order a copy
  2680. directly from ISO (www.iso.ch) or ITU (www.itu.ch) or from your
  2681. National Standards Body. In the USA, call ANSI at (212) 642-4900.
  2682.  
  2683.  
  2684. See also the MG system containing an implementation of the 'FELICS'
  2685. algorithm of P.G. Howard and J.S. Vitter.  FELICS usually gives better
  2686. and faster compression than lossless JPEG, at least for 8-bit
  2687. grayscale images. (See item 15 above for ftp location). From the MG
  2688. README file:
  2689.  
  2690.   The MG system is a suite of programs for compressing and
  2691.   indexing text and images. Most of the functionality implemented
  2692.   in the suite is as described in the book ``Managing Gigabytes:
  2693.   Compressing and Indexing Documents and Images'', I.H. Witten, A.
  2694.   Moffat, and T.C. Bell; Van Nostrand Reinhold, New York, 1994, ISBN
  2695.   0-442-01863-0; US $54.95; call 1 (800) 544-0550 to order.
  2696.  
  2697.   These features include:
  2698.  
  2699.   -- text compression using a Huffman-coded semi-static word-based
  2700.      scheme
  2701.   -- two-level context-based compression of bi-level images
  2702.   -- FELICS lossless compression of gray-scale images
  2703.   -- combined lossy/lossless compression for textual images
  2704.   -- indexing algorithms for large volumes of text in limited main
  2705.      memory
  2706.   -- index compression
  2707.   -- a retrieval system that processes Boolean and ranked queries
  2708.   -- an X windows interface to the retrieval system
  2709.  
  2710. Paul Howard's PhD thesis, which among other things describes FELICS,
  2711. is available in ftp://ftp.cs.brown.edu/pub/techreports/93/cs93-28.ps.Z
  2712.  
  2713.  
  2714. JPEG-LS is the emerging ISO standard for lossless/near-lossless 
  2715. compression of continuous-tone images. Marcelo Weinberger
  2716. <marcelo@hplwein.hpl.hp.com> says about it:
  2717.  
  2718.   JPEG-LS is being developed by ISO/IEC JTC1/SC29/WG1 (final committee
  2719.   draft document FCD14495-1 as of July 1997), and it is based on HP's
  2720.   LOCO-I algorithm (reference: M. Weinberger, G. Seroussi, G. Sapiro,
  2721.   "LOCO-I: A Low Complexity, Context-Based, Lossless Image Compression
  2722.   Algorithm," Proc.  IEEE Data Compression Conference, Snowbird, Utah,
  2723.   March-April 1996). [...]
  2724.  
  2725.   The main feature of JPEG-LS is its superior placement in the
  2726.   compression/complexity trade-off curve. Tested over a wide variety of
  2727.   image types, it was shown to be, on the average, within about 4% of the
  2728.   best available lossless image compression at a fraction of the
  2729.   complexity.  In particular, JPEG-LS significantly outperforms FELICS
  2730.   and lossless JPEG Huffman at similar levels of complexity (it also
  2731.   outperforms lossless JPEG arithmetic, which is of significantly higher
  2732.   complexity). [...]
  2733.  
  2734.   A software implementation of JPEG-LS, is now available at:
  2735.         http://www.hpl.hp.com/loco/
  2736.   There, the DCC'96 paper on LOCO-I is also available. The standard draft
  2737.   is also available through a link to the official JPEG Web site.
  2738.  
  2739.  
  2740. Benchmarks of some lossless image compression programs are in
  2741. http://www.geocities.com/SiliconValley/Bay/1995/artest11.html
  2742.  
  2743. ------------------------------------------------------------------------------
  2744.  
  2745. Subject: [17] What is the state of fractal compression?
  2746.  
  2747. You may want to read first item 77 in part 2 of this FAQ:
  2748. "Introduction to Fractal compression".
  2749.  
  2750.  
  2751. from Tal Kubo <kubo@zariski.harvard.edu>:
  2752.  
  2753. According to Barnsley's book 'Fractals Everywhere', this method is
  2754. based on a measure of deviation between a given image and its
  2755. approximation by an IFS code.  The Collage Theorem states that there is
  2756. a convergent process to minimize this deviation.  Unfortunately,
  2757. according to an article Barnsley wrote for BYTE a few years ago, this
  2758. convergence was rather slow, about 100 hours on a Cray, unless assisted by
  2759. a person.
  2760.  
  2761. Barnsley et al are not divulging any technical information beyond the
  2762. meager bit in 'Fractals Everywhere'.  The book explains the idea of IFS
  2763. codes at length, but is vague about the application of the Collage theorem
  2764. to specific compression problems.
  2765.  
  2766. There is reason to believe that Barnsley's company has
  2767. *no algorithm* which takes a given reasonable image and achieves
  2768. the compression ratios initially claimed for their fractal methods.
  2769. The 1000-to-1 compression advertised was achieved only for a 'rigged'
  2770. class of images, with human assistance. The best unaided
  2771. performance I've heard of is good lossy compression of about 80-1.
  2772.  
  2773. Steve Tate <srt@duke.cs.duke.edu> confirms:
  2774.  
  2775. Compression ratios (unzoomed) seem to range from 20:1 to 60:1...  The
  2776. quality is considerably worse than wavelets or JPEG on most of the
  2777. non-contrived images I have seen.
  2778.  
  2779. But Yuval Fisher <fisher@inls1.ucsd.edu> disagrees:
  2780.  
  2781. Their performance has improved dramatically beyond what they were
  2782. talking about in BYTE a few years ago.  Human assistance to the
  2783. compression is no longer needed and the compression time is
  2784. reasonable, although the more time and compute power you throw at the
  2785. compression, the smaller the resulting file for the same level of
  2786. quality.
  2787.  
  2788. Geoffrey A Stephenson <ketlux@ketlux.demon.co.uk> adds:
  2789.  
  2790. Iterated systems are shipping a general purpose compressor at about
  2791. 300 Pounds in the UK that claims "640x480 24 bit colour compression of
  2792. about 1 min at 922k -> 10k on a 486/50 software only, decomp. to 8
  2793. bits in 3 secs, etc." At a recent multimedia conference in London they
  2794. handed out free demo disks that show the decomp. in action. The
  2795. package runs under both DOS anf WIN (DLLs provided for use in
  2796. applications). They also sell a board to speed up compression and
  2797. offer versions supporting full motion video (but not apparently at all
  2798. SVGA sizes like the static picture version). I have not yet got my
  2799. hands on a full version to test different types of pictures, but
  2800. friends have a and claim it looks good.
  2801.  
  2802.  
  2803. Thomas W. Colthurst <thomasc@athena.mit.edu> clarifies the distinction
  2804. between IFS and the Fractal Transform:
  2805.  
  2806. It is time, once and for all, to put to death the Barnsley myth that
  2807. IFSs are good for image compression.  They are not.  Various algorithms
  2808. have been proposed for this "inverse problem" ranging from the trendy
  2809. (genetic algorithms) to the deep (moment methods) to the ad hoc (the
  2810. hungry algorithm) to the absurd (the so-called "graduate student
  2811. algorithm", consisting of locking up a grad student in a tiny office
  2812. with a SGI workstation and not letting them out until they come up
  2813. with a good IFS for your image).  They are all useless for practical
  2814. image compression.
  2815.  
  2816. In fact, there are even good theoretical reasons for believing that
  2817. IFSs will never be useful for image compression.  For example, even
  2818. if you have an IFS for object A and an IFS for object B, there is no
  2819. way to combine these IFSs to get an IFS for object A union B or
  2820. object A intersect B.
  2821.  
  2822. Even Barnsley himself admits, in his latest book, that he doesn't use
  2823. IFS image compression.  Instead, he uses the so-called "fractal
  2824. transform," which is really just a variant of vector quantization
  2825. where you use the image itself, sampled at a higher scale, as the
  2826. VQ codebook.  To be fair, the fractal transform can be analyzed using
  2827. local IFSs, but local IFSs are immensely more complicated and general
  2828. than normal IFSs, to the point where one feels suspect even using the
  2829. word "IFS" to describe them.
  2830.  
  2831. It should be emphasized that the fractal transform is a real, working
  2832. method that performs about as well as other existing methods like VQ
  2833. or the discrete cosine transform. The fractal transform will probably
  2834. never beat vector quantization (VQ) as for size of the compressed
  2835. image, but does have the advantage that you don't need to carry your
  2836. codebook around.  The latest results have it slightly winning over
  2837. the discrete cosine transform; only time and more research will tell
  2838. if this advantage persists.  Just like VQ, the fractal transform
  2839. takes a while to compress, but is quick at decompression (Barnsley's
  2840. company has hardware to do this in realtime).
  2841.  
  2842. In short, IFSs are good for just about everything fractals are (and
  2843. more!), but are absolutely horrid for image compression.
  2844.  
  2845.  
  2846. Programs:
  2847.  
  2848. Check http://links.uwaterloo.ca/ for pointers to some fractal compression
  2849. programs and lots of papers on fractal compression.
  2850.  
  2851. The Waterloo BragZone (http://links.uwaterloo.ca/bragzone.base.html
  2852. or ftp://links.uwaterloo.ca/pub/BragZone/ ) compares the results of
  2853. various image compression schemes against a 32 element test suite.
  2854. Numerous rate-distortion graphs, data tables, and sample images are available.
  2855.  
  2856. A fractal image compression program is available by ftp in
  2857. ftp://inls.ucsd.edu/pub/young-fractal/yuvpak20.zip ; it contains source for
  2858. compression and decompression, source for X-windows decompression,
  2859. MSDOS executables and images. [Note from FAQ maintainer: Fisher's
  2860. program (see below) implements the same algorithm but is more general;
  2861. see http://inls.ucsd.edu/y/Fractals/ for the source code.]
  2862.  
  2863. A fractal image decompression program (note: decompression only) is
  2864. available in ftp://inls.ucsd.edu/pub/inls-ucsd/fractal-2.0.tar
  2865. In the same directory, fractal_paper.ps.Z is the paper "Fractal image
  2866. compression" by Yuval Fisher, Siggraph 92.  Reading this paper is
  2867. required to understand how the Young compression programs (see above) works.
  2868.  
  2869. A note from Yuval Fisher <yfisher@ucsd.edu>:
  2870.  
  2871.     Connect to http://inls.ucsd.edu/y/Fractals/ .  There is
  2872.     information there on my new book of contributed articles on
  2873.     fractal image compression, as well as the book's table of
  2874.     contents, some C code to encode and decode raw byte files of any
  2875.     size using a quadtree method, a manual explaining the use of the
  2876.     code, a fractal image compression bibliography (not guaranteed to
  2877.     be complete or close to it), some better executable code with
  2878.     sample encodings, and the SIGGRAPH '92 course notes on fractal
  2879.     image compression (these are based on appendix A of Chaos and
  2880.     Fractals by Peitgen et al., Springer Verlag). [The C code is also
  2881.     available in ftp://inls.ucsd.edu/pub/inls-ucsd/frac_comp.tar.Z ]
  2882.  
  2883. Another fractal compression program is available by ftp in
  2884. ftp://vision.auc.dk/pub/Limbo/Limbo*.tar.Z. It is also based on quadtrees,
  2885. as yuvpak20 and frac_comp.
  2886.  
  2887. The source code for the program published in the Oct 93 issue of
  2888. Byte is in ftp://ftp.uu.net/published/byte/93oct/fractal.exe. This is
  2889. a self-extractible arc file (must be run on MSDOS for extraction).
  2890. The source code is for a TARGA video board. [Note from FAQ maintainer:
  2891. this code is taken from Barnsley's book "Fractal Image Compression";
  2892. it implements the brute force method and is thus very slow.]
  2893.  
  2894. Iterated Systems have released a beta version of their fractal imager.
  2895. It will let you view a number of formats including JPG and do
  2896. conversions to their fractal format.  The program can be downloaded
  2897. from http://www.iterated.com
  2898.  
  2899. "The Data Compression Book" (see [NEL 1996] in item 7 above) contains
  2900. a chapter on fractal compression; it includes source code for a simple
  2901. fractal compression program. The source is also available at
  2902. http://www.teaser.fr/~jlgailly/frac-1.0.tar.gz
  2903.  
  2904. Several fractal compression programs, including a volume coder, are available
  2905. at http://www.eecs.wsu.edu/~wcochran/
  2906.  
  2907. Several papers on fractal image compression are available on
  2908. ftp.informatik.uni-freiburg.de in directory /documents/papers/fractal . A
  2909. biliography is in ftp://schmance.uwaterloo.ca/pub/Fractal/fractal.biblio.ps.Z
  2910.  
  2911. References:
  2912.   A. Jacquin, 'Fractal image coding based on a theory of iterated
  2913.     contractive image transformations', Proc. SPIE Visual Communications
  2914.     and Image Processing, 1990, pages 227-239.  (The best paper that explains
  2915.     the concept in a simple way.)
  2916.  
  2917.   A. Jacquin, "A Fractal Theory of Iterated Markov Operators with
  2918.     Applications to Digital Image Coding", PhD Thesis, Georgia Tech, 1989.
  2919.   It can be obtained from university microfilms for $35, phone 1-800-521-0600.
  2920.  
  2921.   M. Barnsley, L. Anson, "Graphics Compression Technology, SunWorld,
  2922.     October 1991, pp. 42-52.
  2923.   M.F. Barnsley, A. Jacquin, F. Malassenet, L. Reuter & A.D. Sloan,
  2924.     'Harnessing chaos for image synthesis', Computer Graphics,
  2925.     vol 22 no 4 pp 131-140, 1988.
  2926.   M.F. Barnsley, A.E. Jacquin, 'Application of recurrent iterated
  2927.     function systems to images', Visual Comm. and Image Processing,
  2928.     vol SPIE-1001, 1988.
  2929.   A. Jacquin, "Image Coding Based on a Fractal Theory of Iterated Contractive
  2930.     Image Transformations" p.18, January 1992 (Vol 1 Issue 1) of IEEE Trans
  2931.     on Image Processing.
  2932.   A.E. Jacquin, 'A novel fractal block-coding technique for digital
  2933.     images', Proc. ICASSP 1990.
  2934.   G.E. Oien, S. Lepsoy & T.A. Ramstad, 'An inner product space
  2935.     approach to image coding by contractive transformations',
  2936.     Proc. ICASSP 1991, pp 2773-2776.
  2937.   D.S. Mazel, Fractal Modeling of Time-Series Data, PhD Thesis,
  2938.     Georgia Tech, 1991.    (One dimensional, not pictures)
  2939.   S. A. Hollatz, "Digital image compression with two-dimensional affine
  2940.     fractal interpolation functions", Department of Mathematics and
  2941.     Statistics, University of Minnesota-Duluth, Technical Report 91-2.
  2942.     (a nuts-and-bolts how-to-do-it paper on the technique)
  2943.   Stark, J., "Iterated function systems as neural networks",
  2944.     Neural Networks, Vol 4, pp 679-690, Pergamon Press, 1991.
  2945.   Monro D M and Dudbridge F, "Fractal block coding of images",
  2946.     Electronics Letters 28(11):1053-1054 (1992)
  2947.   Beaumont J M, "Image data compression using fractal techniques",
  2948.     British Telecom Technological Journal 9(4):93-108 (1991)
  2949.   Fisher Y, "Fractal image compression", Siggraph 92
  2950.   Graf S, "Barnsley's Scheme for the Fractal Encoding of Images",
  2951.     Journal Of Complexity, V8, 72-78 (1992).
  2952.   Monro D.M. 'A hybrid fractal transform', Proc ICASSP 93, pp. V: 169-72
  2953.   Monro D.M. & Dudbridge F. 'Fractal approximation of image blocks',
  2954.     Proc ICASSP 92, pp. III: 485-488
  2955.   Monro D.M., Wilson D., Nicholls J.A. 'High speed image coding with the Bath
  2956.     Fractal Transform', IEEE International Symposium on Multimedia Technologies
  2957.     Southampton, April 1993
  2958.   Jacobs, E.W., Y. Fisher and R.D. Boss.  "Image Compression:  A study
  2959.     of the Iterated Transform Method."  _Signal Processing 29_  (1992) 25-263
  2960.   Vrscay, Edward R.  "Iterated Function Systems:  Theory, Applications,
  2961.     and the Inverse Problem."  _Fractal Geometry and Analysis_,
  2962.     J. Belair and S. Dubuc (eds.)  Kluwer Academic, 1991.  405-468.
  2963.  
  2964. Books:
  2965.     Fractal Image Compression: Theory and Application, Yuval Fisher (ed.),
  2966.     Springer Verlag, New York, 1995.
  2967.     To order the book, call 1-800-SPRINGER and ask for the book with
  2968.     ISBN number 0-387-94211-4 or check http://www.springer-ny.com/
  2969.  
  2970.     Fractal Image Compression
  2971.     Michael F. Barnsley and Lyman P. Hurd
  2972.     ISBN 0-86720-457-5, ca. 250 pp., $49.95
  2973.     Copies can be ordered directly from the publisher by sending a message
  2974.     to kpeters@math.harvard.edu with name, address and a Mastercard or
  2975.     Visa card number with expiration date.
  2976.  
  2977. Barnsley's company is:
  2978.  
  2979. Iterated Systems, Inc.
  2980. 5550A Peachtree Parkway, Suite 650
  2981. Norcross, GA  30092
  2982. tel: 404-840-0310 or 1-800-4FRACTL
  2983. fax: 404-840-0806
  2984. In UK: Phone (0734) 880261, Fax (0734) 880360
  2985.  
  2986. ------------------------------------------------------------------------------
  2987.  
  2988. Subject: [18] I need specs and source for TIFF and CCITT group 4 Fax
  2989.  
  2990.  
  2991. Specs for Group 3 and 4 image coding (group 3 is very similar to group 4)
  2992. are in CCITT (1988) volume VII fascicle VII.3. They are recommendations
  2993. T.4 and T.6 respectively. There is also an updated spec contained in 1992
  2994. recommendations T.1 to T.6.
  2995.  
  2996. CCITT (now ITU-T) specs are available by anonymous ftp (see above answer on
  2997. V.42bis).  The T.4 and T.6 specs are in
  2998. ftp://sunsite.doc.ic.ac.uk/computing/ccitt/ccitt-standards/1988/7_3_01.ps.gz
  2999. ftp://sunsite.doc.ic.ac.uk/computing/ccitt/ccitt-standards/1988/7_3_02.ps.gz
  3000.  
  3001. The following paper covers T.4, T.6 and JBIG:
  3002.  
  3003.   "Review of standards for electronic imaging for facsimile systems"
  3004.   in Journal of Electronic Imaging, Vol. 1, No. 1, pp. 5-21, January 1992.
  3005.  
  3006.  
  3007. Source code can be obtained as part of a TIFF toolkit - TIFF image
  3008. compression techniques for binary images include CCITT T.4 and T.6:
  3009.  
  3010.     ftp://ftp.sgi.com/graphics/tiff/tiff-v3.4beta035-tar.gz
  3011.     Contact: sam@engr.sgi.com
  3012.  
  3013. There is also a companion compressed tar file (v3.0pics.tar.Z) that
  3014. has sample TIFF image files. A draft of TIFF 6.0 is in TIFF6.ps.Z.
  3015. Concerning JPEG compression in TIFF 6.0, Tom Lane <tgl@sss.pgh.pa.us> adds:
  3016.  
  3017.   TIFF 6.0's scheme for incorporating JPEG compression (spec section 22) has
  3018.   a bunch of serious deficiencies.  Don't use it.  A revised design is given
  3019.   by TIFF Technical Note #2, ftp://ftp.sgi.com/graphics/tiff/TTN2.draft.txt
  3020.   The revised design will replace section 22 in TIFF 7.0, and is implemented
  3021.   in Sam Leffler's libtiff.  See also item 75 of this FAQ for more JPEG info.
  3022.  
  3023. Software for reading and writing CCITT Group 3 and 4 images is
  3024. also available in directory ftp://merry.cs.monash.edu.au/pub/alanf/TIFF_FAX
  3025. Contact: Alan Finlay <alanf@bruce.cs.monash.edu.au>.
  3026.  
  3027.  
  3028. See also question 54 below.
  3029.  
  3030. ------------------------------------------------------------------------------
  3031.  
  3032. Subject: [19] What is JPEG?
  3033.  
  3034.  
  3035. JPEG (pronounced "jay-peg") is a standardized image compression mechanism.
  3036. JPEG stands for Joint Photographic Experts Group, the original name of the
  3037. committee that wrote the standard.  JPEG is designed for compressing either
  3038. full-color or gray-scale digital images of "natural", real-world scenes.
  3039. It does not work very well on non-realistic images, such as cartoons or
  3040. line drawings.
  3041.  
  3042. JPEG does not handle black-and-white (1-bit-per-pixel) images, nor does it
  3043. handle motion picture compression.  Related standards for compressing those
  3044. types of images exist, and are called JBIG and MPEG respectively.
  3045.  
  3046. Regular JPEG is "lossy", meaning that the image you get out of decompression
  3047. isn't quite identical to what you originally put in.  The algorithm achieves
  3048. much of its compression by exploiting known limitations of the human eye,
  3049. notably the fact that small color details aren't perceived as well as small
  3050. details of light-and-dark.  Thus, JPEG is intended for compressing images that
  3051. will be looked at by humans.  If you plan to machine-analyze your images, the
  3052. small errors introduced by JPEG may be a problem for you, even if they are
  3053. invisible to the eye.  The JPEG standard includes a separate lossless mode,
  3054. but it is rarely used and does not give nearly as much compression as the
  3055. lossy mode.
  3056.  
  3057. Question 75 "Introduction to JPEG" (in part 2 of this FAQ) gives an overview
  3058. of how JPEG works and provides references for further reading.  Also see the
  3059. JPEG FAQ article, which covers JPEG software and usage hints.  The JPEG FAQ
  3060. http://www.faqs.org/faqs/jpeg-faq/part1/preamble.html is
  3061. posted regularly in news.answers by Tom Lane <tgl@netcom.com>.
  3062. (See also question 53 "Where are FAQ lists archived".)
  3063.  
  3064. For JPEG software, see item 15 above.  For JPEG hardware, see item 85
  3065. in part 3 of this FAQ.  The ISO JPEG standards committee's home page
  3066. is http://www.jpeg.org/public/welcome.htm
  3067.  
  3068. ------------------------------------------------------------------------------
  3069.  
  3070. Subject: [20] I am looking for source of an H.261/H.263 codec and MPEG
  3071.  
  3072. Many standards and draft recommendations (including H.261, H.263,
  3073. H.320, H.324), are available in http://www.imtc.org/imtc/
  3074.  
  3075. The H.261 spec is available in
  3076. ftp://ftp.fdn.org/pub/Library/Ccitt-standards/ccitt/1992/h/h261.doc.z
  3077.  
  3078. For H.261 hardware, see item 85 in part 3 of this FAQ.
  3079.  
  3080. Current drafts of H.324 and related recommendations including H.263 are
  3081. available in ftp://ftp.std.com/vendors/PictureTel/h324/
  3082.  
  3083. Telenor Research have made available a complete simulation of
  3084. H.263. See http://www.nta.no/brukere/DVC/h263_software
  3085.  
  3086. An H.263 encoder library is available at http://huizen.dds.nl/~roalt/h263.html
  3087.  
  3088.  
  3089. from Thierry TURLETTI <turletti@sophia.inria.fr>:
  3090.  
  3091.      IVS (INRIA VIDEOCONFERENCING SYSTEM)
  3092.       - X11-based videoconferencing tool for SPARC, HP,  DEC  and
  3093.      Silicon Graphic workstations.
  3094.  
  3095.      ivs allows users  to  conduct  multi-host  audio  and  video
  3096.      conferences  over  the  Internet. ivs requires a workstation
  3097.      with a screen with 1, 4, 8 or  24  bits  depth.   Multi-host
  3098.      conferences  require  that  the  kernel support multicast IP
  3099.      extensions (RFC 1112).
  3100.  
  3101.      On video input, video frames are grabbed  by  the  VideoPix,
  3102.      SunVideo or Parallax boards for SparcStations or Raster Rops
  3103.      board for HP stations or the IndigoVideo board for SGI  IRIS
  3104.      Indigo workstations.  or the VIDEOTX board for DEC stations.
  3105.      No special hardware apart from  the  workstation's  build-in
  3106.      audio hardware is required for audio conference.
  3107.  
  3108.      Video encoding is done according to the H.261 standard.
  3109.      The video stream can be encoded in either Super CIF 
  3110.      (704x576 pixels) format or  CIF  (352x288  pixels) format or 
  3111.      QCIF (176x144 pixels). Default format is CIF.
  3112.  
  3113.      Sources, binaries & manuals are freely available by anonymous 
  3114.      ftp from zenon.inria.fr in the rodeo/ivs directory. An INRIA
  3115.      report describing this application is also available in the 
  3116.      same directory.
  3117.  
  3118.      If you ftp & use this package, please send all remarks or 
  3119.      modifications made to <turletti@sophia.inria.fr>. If you want 
  3120.      to be added or deleted to the ivs-users mailing list, please send 
  3121.      e-mail to ivs-users-request@sophia.inria.fr.
  3122.  
  3123.  
  3124. from Andy Hung <achung@cs.stanford.edu>:
  3125.  
  3126. Public domain UNIX C source code to do both image and image sequence
  3127. compression and decompression is available by anonymous ftp:
  3128.  
  3129. MPEG-I            ftp://havefun.stanford.edu/pub/mpeg/MPEGv*.tar.Z
  3130. CCITT H.261(P*64)    ftp://havefun.stanford.edu/pub/p64/P64v*.tar.Z
  3131. JPEG            ftp://havefun.stanford.edu/pub/jpeg/JPEGv*.tar.Z
  3132.  
  3133. These codecs operate on raw raster scanned images.
  3134.  
  3135. A software program to display raw raster-scanned YUV images and image
  3136. sequences on X grayscale or color monitors is provided by a program in
  3137. ftp://havefun.stanford.edu/pub/cv/CVv*.tar.Z
  3138. If you are using the codecs above, we recommend that you ftp this file
  3139. over as well.
  3140.  
  3141. The source code has been compiled on DEC and SUN workstations.
  3142. Caution: the P64 codec has not been tested compliant (any available
  3143. p64 video streams would be much appreciated - please let us know at
  3144. achung@cs.stanford.edu).  The other codecs have been tested with
  3145. streams from other encoders.
  3146.  
  3147. We also have some IPB MPEG-I video coded streams in pub/mpeg/*.mpg;
  3148. and P64 video streams in pub/p64/*.p64 that we have generated using
  3149. our codecs.
  3150.  
  3151. For a more complete description see the file
  3152. havefun.stanford.edu:pub/README.
  3153.  
  3154. ------------------------------------------------------------------------------
  3155.  
  3156. Subject: [25] Fast DCT (Discrete Cosine Transform) algorithms
  3157.  
  3158.  
  3159. Many image compression methods, including the JPEG, MPEG, and H.261 standards,
  3160. are based on the discrete cosine transform.  A good overall introduction to
  3161. DCT is the book "Discrete Cosine Transform---Algorithms, Advantages,
  3162. Applications" by K.R. Rao and P. Yip (Academic Press, London, 1990),
  3163. ISBN 0-12-580203-X. This has an extensive, though already dated, bibliography.
  3164.  
  3165. Here are some references mostly provided by Tom Lane <tgl@sss.pgh.pa.us>.
  3166. (This list is now rather dated.)
  3167. Most of these are in IEEE journals or conference proceedings, notably
  3168. ICASSP = IEEE Intl. Conf. on Acoustics, Speech, and Signal Processing.
  3169. ICCAS = IEEE Intl. Conf. on Circuits and Systems.
  3170. DCC = Data Compression Conference.
  3171.  
  3172. Polynomial Transform Computation of the 2-D DCT, Duhamel & Guillemot,
  3173.   ICASSP '90 p. 1515.
  3174. A Forward-Mapping Realization of the Inverse DCT, McMillan & Westover,
  3175.   DCC '92 p. 219.
  3176. A Fast Algorithm for 2-D DCT, Cho, Yun & Lee, ICASSP '91 p. 2197.
  3177. Fast Algorithm and Implementation of 2-D DCT, Cho & Lee, Tr. CAS v38 p. 297.
  3178. A DCT Chip based on a new Structured and Computationally Efficient DCT
  3179.   Algorithm, Duhamel, Guillemot & Carlach, ICCAS '90 p. 77.
  3180. Trade-offs in the Computation of Mono- and Multi-dimensional DCTs,
  3181.   Vetterli, Duhamel & Guillemot, ICASSP '89 p. 999.
  3182. Practical Fast 1-D DCT Algorithms with 11 Multiplications,
  3183.   Loeffler, Ligtenberg & Moschytz, ICASSP '89 p. 988.
  3184. New Scaled DCT Algorithms for Fused Multiply/Add Architectures,
  3185.   Linzer & Feig, ICASSP '91 p. 2201.
  3186. Fast Algorithms for the 2-D Discrete Cosine Transform, Kamangar & Rao,
  3187.   IEEE Tr. Computers, v C-31 p. 899.
  3188. Fast 2-D Discrete Cosine Transform, Vetterli, ICASSP '85 p. 1538.
  3189. A Two-Dimensional Fast Cosine Transform, Haque, Tr. ASSP v ASSP-33 p. 1532.
  3190. Real-Time Parallel and Fully Pipelined 2-D DCT Lattice Structures with
  3191.   Application to HDTV Systems, Chiu & Liu, Tr. CAS for Video Tech, v 2 p. 25.
  3192. J.F. Blinn, "What's the Deal with the DCT", IEEE Computer Graphics and
  3193.   Applications, July 1993, pp.78-83.
  3194. A C Hung and TH-Y Meng, "A Comparison of fast DCT algorithms, Multimedia 
  3195.   Systems", No. 5 Vol. 2, Dec 1994
  3196.  
  3197. For actual implementations, try the JPEG and MPEG software listed
  3198. in item 15.
  3199.  
  3200. ------------------------------------------------------------------------------
  3201.  
  3202. Subject: [26] Are there algorithms and standards for audio compression?
  3203.  
  3204.  
  3205. Yes. See the introduction to MPEG given in part 2 of this FAQ.
  3206.  
  3207. A lossless compressor for 8bit and 16bit audio data (.au) is available
  3208. in ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/coding/shorten.tar.gz
  3209. or http://www.softsound.com/ShortenDownload.html
  3210. Shorten works by using Huffman coding of prediction residuals.
  3211. Compression is generally better than that obtained by applying general
  3212. purpose compression utilities to audio files. Also supports lossy
  3213. compression.  Contact: Tony Robinson <ajr@eng.cam.ac.uk>.
  3214.  
  3215. Benchmarks of shorten and other lossless audio compression programs
  3216. are in http://www.firstpr.com.au/audiocomp/lossless/
  3217.  
  3218. Audio software is available in subdirectories of
  3219. ftp://sunsite.unc.edu/pub/electronic-publications/IUMA/audio_utils/ :
  3220. - An MPEG audio player is in mpeg_players/Workstations/maplay1_2.tar.Z.
  3221. - The sources of the XING MPEG audio player for Windows is in
  3222.   mpeg_players/Windows/mpgaudio.zip.
  3223. - An encoder/decoder is in converters/source/mpegaudio.tar.Z.
  3224.  
  3225. MSDOS audio software is available in
  3226. ftp://ftp.simtel.net/pub/simtelnet/msdos/sound/
  3227. In particular, MPEG-2 audio software is in ampegsrc.zip and ampeg43.zip.
  3228.  
  3229. MPEG audio files are available in ftp://ftp.iuma.com and http://www.iuma.com/
  3230.  
  3231. The site http://www.mp3tech.com is dedicated to the MP3 audio compression
  3232. standard. It has information about the MP3 standard, audio compression
  3233. techniques, tests, sources, etc...
  3234.  
  3235. Copied from the comp.dsp FAQ posted by guido@cwi.nl (Guido van Rossum):
  3236.  
  3237.   Strange though it seems, audio data is remarkably hard to compress
  3238.   effectively.  For 8-bit data, a Huffman encoding of the deltas between
  3239.   successive samples is relatively successful.  For 16-bit data,
  3240.   companies like Sony and Philips have spent millions to develop
  3241.   proprietary schemes.
  3242.  
  3243.   Public standards for voice compression are slowly gaining popularity,
  3244.   e.g. CCITT G.721 and G.723 (ADPCM at 32 and 24 kbits/sec).  (ADPCM ==
  3245.   Adaptive Delta Pulse Code Modulation.)  Free source code for a *fast*
  3246.   32 kbits/sec ADPCM (lossy) algorithm is available by ftp from ftp.cwi.nl
  3247.   as /pub/audio/adpcm.shar.  (** NOTE: if you are using v1.0, you should get
  3248.   v1.1, released 17-Dec-1992, which fixes a serious bug -- the quality
  3249.   of v1.1 is claimed to be better than uLAW **)
  3250.  
  3251.   (Note that U-LAW and silence detection can also be considered
  3252.   compression schemes.)
  3253.  
  3254. Information and source code for adpcm are available in
  3255. http://www.rss.rockwell.com/techinfo/pc/adpcm/adpcm.html
  3256.  
  3257. Source for Sun's free implementation of CCITT compression types G.711,
  3258. G.721 and G.723 is in ftp://ftp.cwi.nl/pub/audio/ccitt-adpcm.tar.gz
  3259.  
  3260. You can get a G.721/722/723 package by email to teledoc@itu.arcom.ch, with
  3261. GET ITU-3022
  3262. as the *only* line in the body of the message.
  3263.  
  3264.  
  3265. A note on u-law from Markus Kuhn <mskuhn@immd4.informatik.uni-erlangen.de>:
  3266.  
  3267.   u-law (more precisely (greek mu)-law or 5-law if you have an 8-bit
  3268.   ISO terminal) is more an encoding then a compression method,
  3269.   although a 12 to 8 bit reduction is normally part of the encoding.
  3270.   The official definition is CCITT recommendation G.711. If you want
  3271.   to know how to get CCITT documents, check the Standards FAQ
  3272.   posted to news.answers or get the file standards-faq by ftp in
  3273.   directory ftp://rtfm.mit.edu/pub/usenet/news.answers/
  3274.  
  3275.  
  3276. See also the comp.dsp FAQ for more information on:
  3277.  
  3278. - The U.S. DoD's Federal-Standard-1016 based 4800 bps code excited linear
  3279.   prediction voice coder version 3.2a (CELP 3.2a)
  3280. - The U.S. DoD's Federal-Standard-1015/NATO-STANAG-4198 based 2400 bps
  3281.   linear prediction coder version 53 (LPC-10e v53)
  3282. - Realtime DSP code and hardware for FS-1015 and FS-1016
  3283.  
  3284. The comp.dsp FAQ is in comp.dsp with subject "FAQ: Audio File Formats" and in
  3285. ftp://rtfm.mit.edu/pub/usenet/news.answers/audio-fmts/part1
  3286.  
  3287.  
  3288. CELP C code for Sun SPARCs is in ftp://ftp.super.org/pub/speech/celp_3.2a.tar.Z
  3289. An LPC10 speech coder is in ftp://ftp.super.org/pub/speech/lpc10-1.0.tar.gz ;
  3290. a derived version is available from http://www.arl.wustl.edu/~jaf/lpc/
  3291.  
  3292. Source code for ITU-T (CCITT) G.728 Low Delay CELP speech compression
  3293. is in ftp://svr-ftp.eng.cam.ac.uk/pub/comp.speech/sources/ldcelp-2.0.tar.gz
  3294.  
  3295.  
  3296. Recommended reading:
  3297.   Digital Coding of Waveforms: Principles and Applications to Speech and
  3298.   Video.  N. S. Jayant and Peter Noll.  Prentice-Hall, 1984, ISBN
  3299.   0-13-211913-7.
  3300.  
  3301. Information on GSM sound compression is available at
  3302. http://ccnga.uwaterloo.ca/~jscouria/gsm.html
  3303.  
  3304.  
  3305. from Markus Kuhn <mskuhn@immd4.informatik.uni-erlangen.de>:
  3306.  
  3307.   One highest quality sound compression format is called ASPEC and has
  3308.   been developed by a team at the Frauenhofer Institut in Erlangen (Germany)
  3309.   and others.
  3310.  
  3311.   ASPEC produces CD like quality and offers several bitrates, one is
  3312.   128 kbit/s. It is a lossy algorithm that throws away frequencies that
  3313.   aren't registered in the human cochlea in addition to sophisticated
  3314.   entropy coding. The 64 kbit/s ASPEC variant might soon bring hifi
  3315.   quality ISDN phone connections. It has been implemented on standard DSPs.
  3316.  
  3317.   The Layer 3 MPEG audio compression standard now contains what is officially
  3318.   called the best parts of the ASPEC and MUSICAM algorithms. A reference is:
  3319.  
  3320.     K.Brandenburg, G.Stoll, Y.F.Dehery, J.D.Johnston, L.v.d.Kerkhof,
  3321.     E.F.Schroeder: "The ISO/MPEG-Audio Codec: A Generic Standard for Coding
  3322.     of High Quality Digital Audio",
  3323.     92nd. AES-convention, Vienna 1992, preprint 3336
  3324.  
  3325.  
  3326. from Jutta Degener <jutta@cs.tu-berlin.de> and Carsten Bormann
  3327. <cabo@cs.tu-berlin.de>:
  3328.  
  3329.   GSM 06.10 13 kbit/s RPE/LTP speech compression available
  3330.   --------------------------------------------------------
  3331.  
  3332.   The Communications and Operating Systems Research Group (KBS) at the
  3333.   Technische Universitaet Berlin is currently working on a set of
  3334.   UNIX-based tools for computer-mediated telecooperation that will be
  3335.   made freely available.
  3336.  
  3337.   As part of this effort we are publishing an implementation of the
  3338.   European GSM 06.10 provisional standard for full-rate speech
  3339.   transcoding, prI-ETS 300 036, which uses RPE/LTP (residual pulse
  3340.   excitation/long term prediction) coding at 13 kbit/s.
  3341.  
  3342.   GSM 06.10 compresses frames of 160 13-bit samples (8 kHz sampling
  3343.   rate, i.e. a frame rate of 50 Hz) into 260 bits; for compatibility
  3344.   with typical UNIX applications, our implementation turns frames of 160
  3345.   16-bit linear samples into 33-byte frames (1650 Bytes/s).
  3346.   The quality of the algorithm is good enough for reliable speaker
  3347.   recognition; even music often survives transcoding in recognizable 
  3348.   form (given the bandwidth limitations of 8 kHz sampling rate).
  3349.  
  3350.   Version 1.0 of the implementation is available per anonymous ftp from
  3351.   ftp.cs.tu-berlin.de in the directory /pub/local/kbs/tubmik/gsm/ ;
  3352.   more information about the library can be found on the World-Wide Web
  3353.   at http://www.cs.tu-berlin.de/~jutta/toast.html .
  3354.   Questions and bug reports should be directed to jutta@cs.tu-berlin.de
  3355.   and cabo@informatik.uni-bremen.de .
  3356.  
  3357.  
  3358. from Nicola Ferioli <ser1509@cdc835.cdc.polimi.it>:
  3359.  
  3360.   ftp://ftp.simtel.net/pub/simtelnet/msdos/sound/vocpak20.zip
  3361.     Lossless 8-bit sound file compressor
  3362.  
  3363.   VOCPACK is a compressor/decompressor for 8-bit digital sound using a
  3364.   lossless algorithm; it is useful to save disk space without degrading
  3365.   sound quality.  It can compress signed and unsigned data, sampled at any
  3366.   rate, mono or stereo.  Since the method used is not lossy, it isn't
  3367.   necessary to strip file headers before compressing.
  3368.  
  3369.   VOCPACK was developed for use with .VOC (SoundBlaster) and .WAV (Windows)
  3370.   files, but any 8-bit sound can be compressed since the program takes no
  3371.   assumptions about the file structure.
  3372.  
  3373.   The typical compression ratio obtained goes from 0,8 for files sampled at
  3374.   11 KHz to 0,4 for 44 Khz files.  The best results are obtained with 44 KHz
  3375.   sounds (mono or stereo): general-purpose archivers create files that can be
  3376.   twice longer than the output of VOCPACK.  You can obtain smaller values
  3377.   using lossy compressors but if your goal is to keep the sound quality
  3378.   unaltered you should use a lossless program like VOCPACK.
  3379.  
  3380. from Harald Popp <popp@iis.fhg.de>:
  3381.  
  3382.   new version 1.0 of ISO/MPEG1 Audio Layer 3 Shareware available
  3383.  
  3384.   major improvements of the new version:
  3385.        - encoder works twice as fast
  3386.        - improved file handling for encoder including .WAV files
  3387.  
  3388.   You may download the shareware from fhginfo.fhg.de (153.96.1.4)
  3389.   from the directory /pub/layer3
  3390.  
  3391.   The source code for the MPEG1 audio decoder layer 1, 2 and 3 is
  3392.   now available on fhginfo.fhg.de (153.96.1.4) in /pub/layer3/public_c.
  3393.  
  3394.   There are two files:
  3395.      mpeg1_iis.tar.Z     (Unix: lines seperated by line feed only)
  3396.      mpeg1iis.zip        (PC: lines seperated by carriage return and line feed)
  3397.  
  3398. For more information about this product and MPEG Audio Layer 3, see
  3399. the document "Informations about MPEG Audio Layer-3" maintained by
  3400. Juergen Zeller <zeller@iis.fhg.de>, available in
  3401. ftp://fhginfo.fhg.de/pub/layer3/MPEG_Audio_L3_FAQ.html
  3402.  
  3403. from Monty <xiphmont@athena.mit.edu>:
  3404.  
  3405.   OggSquish is a compression package designed to reduce the file size of
  3406.   digitized 8 and 16 bit audio samples (or samples of any periodic
  3407.   data).  OggSquish will operate on files sampled at any speed, but it is
  3408.   designed to work with very high quality samples, for example, CD
  3409.   quality samples.
  3410.  
  3411.   [OggSquish is now at http://www.xiph.com/OggSquish/index.html or
  3412.    http://world.std.com/~xiph/OggSquish/ or
  3413.    http://web.mit.edu/afs/sipb/user/xiphmont/OggSquish/html-pages/ ]
  3414.  
  3415. from Dmitrij V. Schmunk <shmunk@csd.inp.nsk.su>:
  3416.  
  3417.   Take a look at http://www.inp.nsk.su/~shmunk/
  3418.   This compressor gives you about 2-3 times better compression
  3419.   for 44.1kHz stereo sound then MPEG layer-3.
  3420.  
  3421. from Dennis Lee <denlee@ecf.utoronto.ca>
  3422.  
  3423.   WA incorporates lossless audio codecs (similar to SHORTEN and OggSquish)
  3424.   into an easy to use archiver program.  WA only supports compression of the
  3425.   popular ".WAV" audio format.  To the author's knowledge, WA can compress
  3426.   waveform data better than any existing software.  With default settings, WA
  3427.   also compresses faster than PKZIP, so it is convenient to use.  This
  3428.   software can be found at http://www.ecf.utoronto.ca/~denlee/software.html
  3429.  
  3430. from Jack Berlin <jberlin@jpg.com>:
  3431.  
  3432.   Pegasus has a new lossless sound compressor based on our patent pending
  3433.   arithmetic coder. Currently beats Shorten in all cases. Trial app for
  3434.   Windows: ftp://207.69.208.43/jpg.com/SPSEXE.ZIP  ($39 to register)
  3435.   http://www.pegasusimaging.com/sound.html
  3436.  
  3437. ------------------------------------------------------------------------------
  3438.  
  3439. Subject: [30] My archive is corrupted!
  3440.  
  3441.  
  3442. The two most common reasons for this are
  3443.  
  3444. (1) failing to use the magic word "tenex" (when connected to SIMTEL20 and
  3445.     other TOPS20 systems) or "binary" (when connected to UNIX systems) when
  3446.     transferring the file from an ftp site to your host machine.  The
  3447.     reasons for this are technical and boring.  A synonym for "tenex" is
  3448.     "type L 8", in case your ftp doesn't know what "tenex" means.
  3449.  
  3450. (2) failing to use an eight-bit binary transfer protocol when transferring
  3451.     the file from the host to your PC.  Make sure to set the transfer type
  3452.     to "binary" on both your host machine and your PC.
  3453.  
  3454. gopher is also known to corrupt binary files. In particular, if gzip
  3455. complains about a multi-part file, it's likely that the .gz file
  3456. has been corrupted by gopher. Use ftp in binary mode instead.
  3457.  
  3458. ------------------------------------------------------------------------------
  3459.  
  3460. Subject: [31] pkunzip reports a CRC error!
  3461.  
  3462.  
  3463. The portable zip 1.1 contains many workarounds for undocumented restrictions
  3464. in pkunzip. Compatibility is ensured for pkunzip 1.10 only. All previous
  3465. versions (pkunzip 1.0x) have too many bugs and cannot be supported. This
  3466. includes Borland unzip.
  3467.  
  3468. So if your pkunzip reports a CRC error, check that you are not using
  3469. an obsolete version. Get either pkzip 2.04g or unzip 5.12 (see question
  3470. 2 above for ftp sites). To generate zip files compatible with pkunzip 1.10,
  3471. use zip 1.1 (see item 2 above for ftp site).
  3472.  
  3473. ------------------------------------------------------------------------------
  3474.  
  3475. Subject: [32] VMS zip is not compatible with pkzip!
  3476.  
  3477.  
  3478. The problem is most likely in the file transfer program.
  3479.  
  3480. Many use kermit to transfer zipped files between PC and VMS VAX.  The
  3481. following VMS kermit settings make VMS-ZIP compatible with PKZIP:
  3482.  
  3483.                                              VMS kermit        PC kermit
  3484.                                            ---------------   --------------
  3485.  
  3486. Uploading PKZIPped file to be UNZIPped:    set fi ty fixed    set fi ty bi
  3487. Downloading ZIPped file to be PKUNZIPped:  set fi ty block    set fi ty bi
  3488.  
  3489. If you are not using kermit, transfer a file created by pkzip on MSDOS
  3490. to VMS, transfer it back to your PC and check that pkunzip can extract it.
  3491.  
  3492. ------------------------------------------------------------------------------
  3493.  
  3494. Subject: [33] I have a problem with Stacker or DoubleSpace!
  3495.  
  3496.  
  3497. The newsgroup comp.compression is *not* the appropriate place to
  3498. discuss about one specific program on one specific operating system.
  3499. Since you have bought a legal copy of Stacker or MSDOS 6.x, you have
  3500. the documentation of your product; please read it. If you can't find
  3501. the answer in the documentation, please report the problem to the Stac
  3502. or Microsoft customer support. (For Stac, use one of StacTec@aol.com,
  3503. StacMacTec@aol.com or StacOS2tec@aol.com.)  If you really feel that the
  3504. net has to know about your problem, please post in one of the MSDOS
  3505. newsgroups, such as comp.os.msdos.apps or comp.binaries.ibm.pc.d.
  3506.  
  3507. ------------------------------------------------------------------------------
  3508.  
  3509. Subject: [50] What is this 'tar' compression program?
  3510.  
  3511.  
  3512. tar is not a compression program. It just combines several files
  3513. into one, without compressing them. tar file are often compressed with
  3514. 'compress', resulting in a .tar.Z file. See question 2, file type .tar.Z.
  3515. GNU tar has the capability to (de)compress files as well.
  3516.  
  3517. When you have to archive a lot of very small files, it is often preferable to
  3518. create a single .tar file and compress it, than to compress the individual
  3519. files separately as in a zip archive. The compression program can thus take
  3520. advantage of redundancy between separate files.  The disadvantage is that you
  3521. must uncompress the whole .tar file to extract any member. You can also
  3522. improve compression by grouping files by type, as in:
  3523.  
  3524.   tar cvf - `ls | sort -t. +1` | gzip > file.tar.gz
  3525.  
  3526. ------------------------------------------------------------------------------
  3527.  
  3528. Subject: [51] I need a CRC algorithm
  3529.  
  3530.  
  3531. As its name implies (Cyclic Redundancy Check) a crc adds redundancy whereas
  3532. the topic of this group is to remove it. Yet this question comes up often in
  3533. comp.compression.
  3534.  
  3535. The file ftp://ftp.rocksoft.com/clients/rocksoft/papers/crc_v3.txt is a pretty
  3536. comprehensive description of the whole CRC concept, including a C program.
  3537.  
  3538. See also:
  3539. - Schwaderer W.D., "CRC Calculation", April 85 PC Tech Journal, pp.118-133.
  3540. - "Calculating CRCs by Bits and Bytes", BYTE Magazine, September 1986
  3541. - Ramabadran T.V., Gaitonde S.S., "A tutorial on CRC computations", IEEE
  3542.   Micro, Aug 1988.
  3543. - the source of all archivers, such as the file makecrc.c in the Info-ZIP
  3544.   sources (see extension .zip in item 2)
  3545.  
  3546. For the related topic of Reed-Solomon encoding, see the Error Correcting Codes
  3547. Home Page http://hideki.iis.u-tokyo.ac.jp/~robert/codes.html
  3548.  
  3549.  
  3550. The following C code (by Rob Warnock <rpw3@sgi.com>) does CRC-32 in
  3551. BigEndian/BigEndian byte/bit order.  That is, the data is sent most
  3552. significant byte first, and each of the bits within a byte is sent most
  3553. significant bit first, as in FDDI. You will need to twiddle with it to do
  3554. Ethernet CRC, i.e., BigEndian/LittleEndian byte/bit order. [Left as an
  3555. exercise for the reader.]
  3556.  
  3557. The CRCs this code generates agree with the vendor-supplied Verilog models
  3558. of several of the popular FDDI "MAC" chips.
  3559.  
  3560. u_long crc32_table[256];
  3561. /* Initialized first time "crc32()" is called. If you prefer, you can
  3562.  * statically initialize it at compile time. [Another exercise.]
  3563.  */
  3564.  
  3565. u_long crc32(u_char *buf, int len)
  3566. {
  3567.         u_char *p;
  3568.         u_long  crc;
  3569.  
  3570.         if (!crc32_table[1])    /* if not already done, */
  3571.                 init_crc32();   /* build table */
  3572.         crc = 0xffffffff;       /* preload shift register, per CRC-32 spec */
  3573.         for (p = buf; len > 0; ++p, --len)
  3574.                 crc = (crc << 8) ^ crc32_table[(crc >> 24) ^ *p];
  3575.         return ~crc;            /* transmit complement, per CRC-32 spec */
  3576. }
  3577.  
  3578. /*
  3579.  * Build auxiliary table for parallel byte-at-a-time CRC-32.
  3580.  */
  3581. #define CRC32_POLY 0x04c11db7     /* AUTODIN II, Ethernet, & FDDI */
  3582.  
  3583. init_crc32()
  3584. {
  3585.         int i, j;
  3586.         u_long c;
  3587.  
  3588.         for (i = 0; i < 256; ++i) {
  3589.                 for (c = i << 24, j = 8; j > 0; --j)
  3590.                         c = c & 0x80000000 ? (c << 1) ^ CRC32_POLY : (c << 1);
  3591.                 crc32_table[i] = c;
  3592.         }
  3593. }
  3594.  
  3595. ------------------------------------------------------------------------------
  3596.  
  3597. Subject: [52] What about those people who continue to ask frequently asked
  3598.               questions in spite of the frequently asked questions document?
  3599.  
  3600.  
  3601. Just send them a polite mail message, referring them to this document.
  3602. There is no need to flame them on comp.compression.  That would just
  3603. add more noise to this group.  Posted answers that are in the FAQ are
  3604. just as annoying as posted questions that are in the FAQ.
  3605.  
  3606. ------------------------------------------------------------------------------
  3607.  
  3608. Subject: [53] Where are FAQ lists archived?
  3609.  
  3610.  
  3611. Many are crossposted to news.answers.  That newsgroup should have a
  3612. long expiry time at your site; if not, talk to your sysadmin.
  3613.  
  3614. FAQ lists are in http://www.faqs.org/faqs/ and ftp://rtfm.mit.edu
  3615. The comp.compression FAQ that you are reading is in
  3616.   http://www.faqs.org/faqs/compression-faq/part1/preamble.html
  3617.   http://www.cis.ohio-state.edu/hypertext/faq/usenet/compression-faq/top.html
  3618.   ftp://rtfm.mit.edu/pub/usenet/news.answers/compression-faq/
  3619.  
  3620. If you don't have FTP access, you can access the archives by mail
  3621. server.  Send an email message to mail-server@rtfm.mit.edu
  3622. containing the commands
  3623.     send usenet/news.answers/compression-faq/part1
  3624.     send usenet/news.answers/compression-faq/part2
  3625.     send usenet/news.answers/compression-faq/part3
  3626. For instructions, send an email message to the same address with the
  3627. words "help" and "index" (no quotes) on separate lines. If you don't
  3628. get a reply, check your return address, or add a line such as
  3629.     path myname@foo.edu
  3630.  
  3631. ------------------------------------------------------------------------------
  3632.  
  3633. Subject: [54] I need specs for graphics formats
  3634.  
  3635. Get the book by Murray & vanRyper "Encyclopedia of graphics file formats",
  3636. O'Reilly & associates, ISBN 1-56592-058-9.
  3637.  
  3638. See also the comp.graphics FAQ and the Graphics Formats FAQ. The latter is in
  3639. ftp://rtfm.mit.edu/pub/usenet/news.answers/graphics/fileformats-faq/
  3640. http://www.cis.ohio-state.edu/hypertext/faq/usenet/graphics/fileformats-faq/top.html
  3641.  
  3642. Check also "The File Format Collection" in http://www.wotsit.org
  3643. and the File Formats Encyclopedia 2.0
  3644. ftp://ftp.simtel.net/pub/simtelnet/msdos/pgmutl/ffe200.zip 
  3645. ftp://garbo.uwasa.fi/pc/programming/ffe200.zip 
  3646.  
  3647. ------------------------------------------------------------------------------
  3648.  
  3649. Subject: [55] Where can I find Lenna and other images?
  3650.  
  3651. The Waterloo BragZone (http://links.uwaterloo.ca/bragzone.base.html
  3652. or ftp://links.uwaterloo.ca:/pub/BragZone/ ) compares the results of
  3653. various image compression schemes against a 32 element test suite.
  3654. Sample images are available.
  3655.  
  3656. The Computer Vision Home Page has many links to test images in
  3657. http://www.cs.cmu.edu:80/afs/cs/project/cil/ftp/html/v-images.html
  3658.  
  3659. A bunch of standard images (lenna, baboon, cameraman, crowd, moon
  3660. etc..) used to be in ftp://eedsp.gatech.edu/database/images . The
  3661. images are in 256-level grayshades (256x256 pixels, 256 "colors").
  3662.  
  3663. [Note: the site ipl.rpi.edu mentioned below keeps changing. Images
  3664. stay there for a while then disappear. They are again available at
  3665. the time of writing (27 Dec 93).]
  3666.  
  3667. The site ipl.rpi.edu (128.113.14.50) has standard images in two
  3668. directories:
  3669.    ftp://ipl.rpi.edu/pub/image/still/usc 
  3670.    ftp://ipl.rpi.edu/pub/image/still/canon
  3671.  
  3672. (The directory /pub/image/sequence was taken offline because of
  3673. possible copyright problems, but has come back again. In particular,
  3674. Miss America is in subdirectories of /pub/image/sequence/missa.)
  3675.  
  3676. In each of those directories are (usually) the following directories:
  3677.    bgr     - 24 bit blue, green, red
  3678.    color   - 24 bit red, green, blue
  3679.    gray    - 8 bit grayscale uniform weighted
  3680.    gray601 - 8 bit grayscale CCIR-601 weighted
  3681.  
  3682. And in these directories are the actual images.  
  3683.  
  3684. For example, the popular lena image is in
  3685.    ftp://ipl.rpi.edu/pub/image/still/usc/bgr/lena        # 24 bit BGR
  3686.    ftp://ipl.rpi.edu/pub/image/still/usc/gray/lena-y.ras # 8 bit gray
  3687.  
  3688. All of the images are in Sun rasterfile format.  You can use the pbm
  3689. utilities to convert them to whatever format is most convenient.
  3690. [pbm is available in ftp://ftp.ee.lbl.gov/pbmplus*.tar.Z ].
  3691. Questions about the ipl archive should be sent to help@ipl.rpi.edu.
  3692.  
  3693.  
  3694. There are few gray-scale still images and some raw data of test results
  3695. available in directory ftp://nic.funet.fi/pub/graphics/misc/test-images/
  3696. There are lots of .gif images in ftp://nic.funet.fi/pub/pics/
  3697.  
  3698. Medical images can be found in:
  3699.   ftp://decaf.stanford.edu/pub/images/medical/mri
  3700.   ftp://eedsp.gatech.edu/database/images/wchung/medical
  3701.   ftp://omicron.cs.unc.edu/pub/projects/softlab/CHVRTD
  3702.  
  3703. The WWW address for the National Library of Medicine is http://www.nlm.nih.gov
  3704. A list of health and medical related Internet resources is available ftp://in
  3705. ftp.sura.net/pub/nic/HealthResources/medical.resources.3-94
  3706.  
  3707. Rodney Peck <rodney@balltown.cma.com> is interested in some method
  3708. of establishing a canonical ftp database of images but does not have
  3709. the resources to provide an ftp site for that database. Send suggestions to
  3710. rodney@balltown.cma.com.
  3711.  
  3712.  
  3713. Beware: the same image often comes in many different forms, at
  3714. different resolutions, etc... The original lenna image is 512 wide,
  3715. 512 high, 8 bits per pel, red, green and blue fields.  Gray-scale
  3716. versions of Lenna have been obtained in two different ways from the
  3717. original:
  3718.  (1) Using the green field as a gray-scale image, and
  3719.  (2) Doing an RGB->YUV transformation and saving the Y component.
  3720. Method (1) makes it easier to compare different people's results since
  3721. everyone's version should be the same using that method.  Method (2)
  3722. produces a more correct image.
  3723.  
  3724. For the curious: 'lena' or 'lenna' is a digitized Playboy centerfold, from
  3725. November 1972. (Lenna is the spelling in Playboy, Lena is the Swedish spelling
  3726. of the name.) Lena Soderberg (ne Sjooblom) was last reported living in her
  3727. native Sweden, happily married with three kids and a job with the state liquor
  3728. monopoly.  In 1988, she was interviewed by some Swedish computer related
  3729. publication, and she was pleasantly amused by what had happened to her
  3730. picture.  That was the first she knew of the use of that picture in the
  3731. computer business.  A scan of the original Lenna from Playboy is available at
  3732. http://www.cs.cmu.edu/~chuck/lennapg/lenna.shtml
  3733.  
  3734. The editorial in the January 1992 issue of Optical Engineering (v. 31 no. 1)
  3735. details how Playboy has finally caught on to the fact that their copyright on
  3736. Lena Sjooblom's photo is being widely infringed. However Wired says in
  3737. http://www.wired.com/news/culture/story/4000.html "Although Playboy is
  3738. notorious for cracking down on illegal uses of its images, it has decided to
  3739. overlook the widespread distribution of this particular centerfold".
  3740.  
  3741. The CCITT (ITU-T) test images are in ftp://ftp.cs.waikato.ac.nz/pub/ccitt/
  3742. and http://www.cs.waikato.ac.nz/~singlis/ccitt.html
  3743. [The images in ftp://nic.funet.fi/pub/graphics/misc/test-images/ccitt*.tif are
  3744. corrupted.] This set is commonly used to compare binary image compression
  3745. techniques. The images are 1728x2376 pixels.
  3746.  
  3747. ------------------------------------------------------------------------------
  3748.  
  3749. Subject: [56] I am looking for a message digest algorithm
  3750.  
  3751.  
  3752. Look in ftp://ftp.rsa.com/pub . MD4 and MD5 are there.
  3753. See also http://wsspinfo.cern.ch/sec/cert/tools/md5/
  3754. This question would be more appropriate on sci.crypt.
  3755.  
  3756. ------------------------------------------------------------------------------
  3757.  
  3758. Subject: [57] I have lost my password on a .zip file
  3759.  
  3760. This question would be more appropriate on sci.crypt.
  3761.  
  3762. See http://www.hedgie.com/passwords/index.html
  3763. Here are a few programs to break pkzip encryption:
  3764. ftp://idea.sec.dsi.unimi.it/pub/security/crypt/code/zipcrack.c.gz
  3765. ftp://idea.sec.dsi.unimi.it/pub/security/crypt/rpub.cl.msu.edu/crypt/msdos/zipcrack*
  3766. ftp://idea.sec.dsi.unimi.it/pub/security/crypt/rpub.cl.msu.edu/crypt/other/zipcrack.c
  3767. ftp://ftp.ox.ac.uk/pub/crypto/cryptanalysis/fzc104.zip
  3768. ftp://ftp.ox.ac.uk/pub/crypto/cryptanalysis/pkcrack.zip
  3769. ftp://ftp.ox.ac.uk/pub/crypto/cryptanalysis/zipcrk20.zip
  3770.  
  3771. These are brute force crackers. A known plaintext attack is also possible,
  3772. see http://www.unix-ag.uni-kl.de/~conrad/krypto/pkcrack.html
  3773. or ftp://ftp.sunet.se/pub/security/docs/crypt/ripem.msu.edu/kocher-pkzip-attack.ps.gz
  3774.  
  3775.           End of part 1 of the comp.compression faq.
  3776.