Google Answers Logo
View Question
 
Q: File Compression ( Answered,   0 Comments )
Question  
Subject: File Compression
Category: Computers > Software
Asked by: bap190-ga
List Price: $3.00
Posted: 25 Jul 2006 16:03 PDT
Expires: 24 Aug 2006 16:03 PDT
Question ID: 749492
I am wondering what the highest file compression ratio is. I have seen
someone online compress a 3GB file into a 300MB .rar file. How is this
possible?
Answer  
Subject: Re: File Compression
Answered By: maniac-ga on 25 Jul 2006 18:38 PDT
 
Hello Bap190,

In general, compression ratios of up to 5:1 are much more likely than
the 10:1 ratio you are describing. For example, see
  http://www.maximumcompression.com/data/summary_mf.php
which is one of several web pages that describe and compare the
performance of file compression on "real world" files.

However, there are a number of special cases in which much higher
compression ratios are possible.

[1] Audio, video, and images. The ear and eye have a number of
physical characteristics that allow "lossy" compression to 10:1 to
20:1 without any "visible" loss or up to 50:1 or 100:1 with minor
defects. See
  http://www.ibiblio.org/otis/notes/otis-compression.html
for a nice explanation of the trade offs and limitations of some of
the compression methods.

[2] Text (e.g., web pages). Most text data is encoded in seven bits
(but stored in eight), giving you a "head start" on the compression.
Ratios over 10:1 have been measured for text (RTF files), see
  http://www.componentace.com/info/articles/ecltest.php
and scroll down to table 4.

[3] Databases. For a variety of reasons (mainly related to
performance), database files may have a "lot" of empty space in them.
Most databases also have a utility to "compact" the database files -
but if not done, you could compress the files and get a relatively
large compression ratio (could be ratios of hundreds to thousands to
one).

[4] "Disk Images". A copy of a CD ROM that does not have much
information can be over 600 Mbyte, but an "image" of that CD ROM can
be much smaller if the disc has lots of empty space and the image is
compressed.  One person asked a similar question at
http://www.zeropaid.com/bbs/advanced-topics/t-uha-file-compression-99mb-600mb-how-do-they-do-it-36834.html
and there are several good responses to describe why the compression was so good.

To find out more information on file compression methods, see
  http://en.wikipedia.org/wiki/File_compression
which has several links to specific algorithms or search using phrases such as
  file compression ratio
  file compression ratio best
  file compression (put an algorithm name here)
  file compression (type of file here)
and so on.

Good luck with your work.

  --Maniac
Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy