JPEG compression algorithm with chroma subsampling 4:2:0, 2D DCT and 2D IDCT transformations, and quantization of DCT coefficients.