JPEG and JPG files use lossy compression when you send them over the web or email. Whenever you save an image, it will lose a little bit of data, ultimately reducing its quality. However, this is not the case with PDF files. PDFs are designed to handle a variety of data such as texts, images, videos, and more. This is why PDFs don’t lose their quality even after being downloaded and uploaded 1000s of times.