JPEG
gif data

inADA

DCT

A more realistic example is shown:

Calculating the average of each picture data yields:

(105+75+135+85)/4=100

This value will be first DCT coefficient.