Question:
whats exactly going on in file compression with any file compress softwares..?
Sri Hari
2012-05-04 21:58:31 UTC
what is physically going on when compresses a file by any file compression softwares..in wich way the file can be compressed by that.what is internal and external operations done on the fule when compression is going on.?
Three answers:
James Bond
2012-05-04 22:03:43 UTC
Sorry you want history in words.

Anyway, whole thing is based on frequency of occurrences of words (huffman), pairs of words (tries), their lengths (run length encoding), etc
Douglas P
2012-05-05 05:02:42 UTC
File compression software takes identical strings of data and replaces them with pointers to a single copy. So, for example, if you had a string that looked like aaabbbaaaccc, it would replace it with aaabbbccc. That's a very high-level explanation, you can read technical articles that explain exact details.



When the file is uncompressed, it replaces the pointer with a copy of that single string, so that the original file content is replaced.
just "JR"
2012-05-05 09:01:20 UTC
Too long to explain!

Google "file compression algorythms": each type of compression will take you a few weeks to learn and understand.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...