JPEG

You can compress and decompress gray scale, RGB and YCbCr images using the Joint Photographic Expert Group (JPEG) compression method, a lossy method based on the Discrete Cosine Transform (DCT).