JPEG
gif data

inADA

Qantize

The figure above is the histogram of the coefficients after the Discrete Cosine Transformation. To quantize, multiply the quantization coefficient to each value, then scale, causing the values to trend toward the nearest horizontal line.