answersLogoWhite

0

What is compressed data file?

User Avatar

Anonymous

8y ago
Updated: 10/26/2021

A compressed data file is a file where the data has been re-encoded in such a way as to reduce the overall length of the file (in bytes). Data compression is useful as it allows us to fit more data into a given space, which is useful for backup purposes (hence compression programs are also known as archive programs). Compression also allows us to transmit data across a network more efficiently. In addition, we can re-encode multiple files into a single compressed file known as a volume. Large volumes can also be split into a series of smaller volumes. This is useful when a single volume is too large to fit onto a DVD, for instance. Compression programs can also be integrated into the operating system shell program such that we can treat compressed volumes as easily as we can folders, allowing compression and decompression "on-the-fly".

There are two ways to compress data: with loss and without loss. Lossless compression means we can faithfully restore the original data from the re-encoded data. All data archiving programs use lossless compression. Lossy compression means the lost data can never be recovered unless we have a backup of the original source data.

Audio and video data can both make use of lossy compression (up to a point) because the human eye and ear are quite forgiving; we can remove massive amounts of redundant data before we begin to notice any difference. For instance, MP3 audio compression can reduce a 50 MB CD-quality audio file to around 5 MB without any appreciable loss in fidelity. The audiophile and "golden ear" community will always claim MP3 is inferior to CD (which it technically is), but extensive blind-testing under laboratory conditions has shown that they can't tell the difference.

Lossy compression can also benefit from lossless compression to a degree. Once the redundant data has been removed, a lossless compression algorithm can be applied to the remaining data. In the case of MP3, Huffman prefix encoding can be applied to each encoded audio frame.

Run Length Encoding, Huffman prefix encoding and arithmetic encoding are common examples of lossless encoding techniques. The more efficient lossless algorithms, such as LZW, are patented and require a licence to use in your own programs, however there are open source algorithms available, including the popular 7-Zip, although some restrictions still apply.

What else can I help you with?

Related Questions

Can all file formats be compressed?

No. the format of a file is the description about how the data in it are structured. Thus the data described by the format can be compressed but the format itself can not.


A compressed file containing visual data is called?

an image file


what file extension is a type of compressed file?

.txt is not a compressed file.


what file extension is not a type of compressed file?

.txt is not a compressed file.


What can compression cause?

Compression can cause loss of data or information, reduced quality of the compressed file, and potential compatibility issues with certain devices or software. It can also make it harder to edit or modify the compressed file.


Which video format is more compressed - an .avi file or a .wmv file?

Both AVI and WMV file formats use specific methods to store and arrange data within the file. They are both able to use compressed files as well as handling non compressed files. The type of file format used offers no indication of the compression ratios used for either the audio or video content of the file.


How you convert a rar file into pdf file?

You can't. RAR is a compressed archive for storing various forms of data. PDF is a format for a text document.


If you were examining the data appearance of a file at a HEX level how might you distinguish a compressed file from a graphical image file?

Most commonly-established filetypes and compressed file archives have a header and/or a "magic" number, a sequence that indicates a file type. The "magic" number would be the first few bytes of the file ("BMP", "JFIF"/"JPEG", "PNG", and so on).


Compression programs by what language programmed How does it work and What is the maximum of compression for any file?

The basic principle (and a very simplified explanation) of data compression is to look for repetitions in data, and replace it by abbreviations. This means that not all data can be compressed - it is fairly easy to show (do some reading on the "counting argument") that no matter what compression method is used, there will always be some data that can't be compressed. On the other hand, some data can be compressed quite a lot. The maximum compression factor depends on what kind of data is saved. For example, typically a text file (like, one created with Word or Excel) will compress in a ratio of 2 or 3 (the compressed file will be smaller by a factor of 2-3 than the original data), while, to give another example, a JPEG (JPG) image can hardly be compressed at all - because it is already stored in compressed form. In theory, data compression can be programmed in almost any language. After all, all that is required is to read a file (other input is possible, though), do some manipulations (according to certain standards), and save it again.


Why an attachment would be compressed?

Attachments may be compressed to reduce file size for more efficient storage and transmission. Compression can also speed up data transfer and save bandwidth.


Is the file format of this image tiff compressed?

Yes, the file format of this image is TIFF and it is compressed.


What happens when you read a compressed file from a compressed volume?

Nothing special. But depending on the compression techniques used, it's a wasted effort, since it won't save more space having a compressed file on a compressed file system.