Could someone explain to me how is the concept of zip and mp3 file.If I interest to try to develop software that decress file size what I have to know.
Printable View
Could someone explain to me how is the concept of zip and mp3 file.If I interest to try to develop software that decress file size what I have to know.
ZIP is a lossless compression format based on the Lempel-Zev-Welch (LZW) algorithm, which uses Huffman trees and length searching. Take a look at zlib (do a search) for source code, resources, and an explanation of the algorithm.
MP3 is a lossy audio compression format which basically entails: if you can't hear it easily, drop it out. But what you then get is a rather nasty sound, so it is passed back through a psychoacoustic model which simulates how loud different frequencies seem to be. Think JPEG, but for sound (actually, MP3 = MPEG 1.0 Audio Layer 3).