Lossless compression recreates a compressed file as an identical match to its original form. While lossy compression can't be used to compress anything that needs to be reproduced exactly.
File compression uses software algorithms to reduce file size by reducing the bit-rate of a file. Lossy compression takes it a bit further and lowers the quality of thr file to make it even smaller. Lossy compression is commonly used for media files, but would not be appropriate for other types of files.
Lossy= You lose somedata Lossless= You dont
The areas of compression are lossless compression and lossy compression. Lossless compression reduces the file size without sacrificing any data quality, while lossy compression reduces the file size by discarding some data, which may lead to a decrease in quality.
Pict files can use 2 different forms of compression. 1- RLE Compression (the default) is lossless. 2- JPEG compression (only on some systems/graphics programmes) is lossy.
MP3
The main difference between JPG and TIFF file formats is the way they store image data. JPG files use lossy compression, which reduces file size but can result in some loss of image quality. TIFF files, on the other hand, use lossless compression, which preserves image quality but results in larger file sizes.
Lossless. Compression techniques do not remove detail from the image.
When compressed data that is subsequently decompressed does not exactly match the original, yet it is considered close enough to the original to be usable, that algorithm is called a lossy compression. Contrast that with lossless compression, where the decompressed version exactly matches the original. Lossy compression is useful in audio and video, where exactness is not critical, while lossless compression is useful in data streams that must be preserved exactly. The lossy compression algorithm often results in more compact compressed results.
There are a ton. Most things that use wavelets to encode the data fall into this category. Often the same file format and "extension" can have multiple actual encoding mechanisms on the inside, so it might sometimes have lossy compression and sometimes not. Examples of file formats with lossy compression include mp3,jpeg and mpeg. Container formats like avi, and wma sometimes do and sometimes don't.
Lossless compression results in a closer representation of the original media, and thus a higher quality end product. The disadvantage is that the resulting file will be larger than if you had used a lossy compression format. Lossy compression can give you a smaller file size, but the resulting end product may be in some ways inferior to the original.
GIF is a lossless compression introduced by CompuServe in 1987 using Lempel-Ziv-Welch (LZW) lossless data compression.
JPEG and PNG are both image file formats, but they differ in terms of compression and quality. JPEG uses lossy compression, which can result in a loss of image quality when printed, especially at high resolutions. PNG, on the other hand, uses lossless compression, which preserves image quality and is better suited for printing high-quality images.