However, there’s a sweet spot where you can make a trade-off between file size and image quality. Compressing JPEG images downgrades the quality of the image. Which explains why we always try to capture images at the largest resolution.
However, if your image is already in a high resolution, this change is difficult to distinguish. As a result, fine details in certain areas of the image are obliterated. It uses certain ‘tricks’ based on how the human visual system works to take away information, and the removing information can be barely seen. Lossy compression reduces the file by permanently eliminating what looks like redundant details.
JPEG image files, a format commonly used for photographs and other complex still images on the Web, is an image that allows for lossy compression.