JPEG
gif data

inADA

DCT

For example, a 4 x 4 pixel block DCT is described below:

The figure above is the basic picture of 4 x 4 pixel block.

The following blocks demonstrate that using the DCT the first half of cosine wave is gray, while the second half is white.