Question: why dct and quantization is used in jpeg?
Answer: Lossy Data Compression: JPEG. Quantization is the process of reducing the number of bits needed to store an integer value by reducing the precision of the integer. Given a matrix of DCT coefficients, we can generally reduce the precision of the coefficients more and more as we move away from the DC coefficient.