Doc.
Doc.
⁃ One major downside is that it involves a loss of data and quality. The
compression algorithm discards certain details and information from the original
file, which can result in a noticeable reduction in quality, especially with
repeated compression and decompression.
⁃ Another disadvantage is that lossy compression is not suitable for all
types of data. It works best for multimedia files like images, audio, and video,
where a small loss in quality is acceptable.
⁃ Examples of lossy compression include JPEG for images, MP3 for audio,
and MPEG for video. These compression techniques sacrifice some quality to achieve
smaller file sizes. So, it's important to consider the trade-off between file size
and quality when using lossy compression.