JPEGkompressio
JPEGkompressio is a method for lossy compression of digital images, particularly photographs. Developed by the Joint Photographic Experts Group, it is one of the most widely used image file formats on the internet. The compression works by reducing the amount of data required to represent the image, which results in a smaller file size. This is achieved through several stages.
The first stage involves converting the image from its original color space, typically RGB, to a luminance-chrominance
The core of JPEG compression lies in the discrete cosine transform (DCT). The image is divided into
Following the DCT, quantization takes place. This is the lossy step where the DCT coefficients are divided