Files compression

we can divide compression into two main types :

Lossy and lossless

1-lossy :

- Uses in images only .

- Eliminate “unnecessary” bits of information, tailoring the file so that it is smaller.

- This type of compression is used a lot for reducing the file size of bitmap pictures .

2-lossless

- Uses for all types of files .

- lists that information once and then refers back to it whenever it appears in the original program.

- Most of this comperssion programes using Lempel and Ziv ( LZ ) algorithm .

- Pick out the repeated bytes and put them into the numbered index. Then, we simply write the number instead     of writing out the whole file’s information .

Share/Save

Tags: , , , , , , , , ,

Leave a Reply